effectual 0.2.0__tar.gz → 0.3.0__tar.gz

Sign up to get free protection for your applications and to get access to all the features.
@@ -0,0 +1,83 @@
1
+ Metadata-Version: 2.3
2
+ Name: effectual
3
+ Version: 0.3.0
4
+ Summary: A python package/script bundler
5
+ Author-email: jake <jakewdr@proton.me>
6
+ Classifier: License :: OSI Approved :: MIT License
7
+ Classifier: Programming Language :: Python :: 3.8
8
+ Classifier: Programming Language :: Python :: 3.9
9
+ Classifier: Programming Language :: Python :: 3.10
10
+ Classifier: Programming Language :: Python :: 3.11
11
+ Classifier: Programming Language :: Python :: 3.12
12
+ Classifier: Programming Language :: Python :: 3.13
13
+ Classifier: Programming Language :: Python :: Implementation :: CPython
14
+ Requires-Python: >=3.8
15
+ Requires-Dist: click>=8.1.7
16
+ Requires-Dist: python-minifier>=2.11.3
17
+ Requires-Dist: rtoml>=0.11.0
18
+ Requires-Dist: ruff>=0.8.0
19
+ Requires-Dist: termcolor>=2.4.0
20
+ Description-Content-Type: text/markdown
21
+
22
+ # effectual
23
+
24
+ */ɪˈfek.tʃu.əl/ meaning effective and successful*
25
+
26
+ ## Why?
27
+
28
+ Sometimes you want a single portable python file without having to make a platform specific executable or a dependency-less .pyz! Basically me trying to make [Vite](https://vite.dev/) for python (badly) :(
29
+
30
+ ## When not to use this
31
+
32
+ - The python package requires access to specific files like [CustomTkinter](https://github.com/TomSchimansky/CustomTkinter/wiki/Packaging#windows-pyinstaller-auto-py-to-exe) and [Pillow](https://python-pillow.org/)
33
+ - Incredibly version specific code, for example something that won't run on a slightly different python version or operating system
34
+
35
+ # Setup
36
+
37
+ If you haven't already, run:
38
+
39
+ uv init
40
+
41
+ Then to install effectual run:
42
+
43
+ uv add effectual --dev
44
+
45
+ Finally add the following lines to your pyproject.toml and configure to your hearts desire
46
+
47
+ ```TOML
48
+ [tool.effectual]
49
+
50
+ sourceDirectory = "./src/"
51
+ outputDirectory = "./dist/"
52
+ outputFileName = "bundle.pyz"
53
+ minification = true
54
+ compressionLevel=5
55
+ ```
56
+
57
+ # Bundling
58
+
59
+ ## Development
60
+
61
+ To bundle in dev mode use:
62
+
63
+ uv run efec dev
64
+
65
+ This is like what [esBuild](https://esbuild.github.io/) does for vite
66
+
67
+ ## Production
68
+
69
+ To build a distributable .pyz file run:
70
+
71
+ uv run efec dist
72
+
73
+ This is like what what [Rollup](https://rollupjs.org/) does for vite
74
+
75
+ # To be added
76
+
77
+ - [Treeshaking](https://webpack.js.org/guides/tree-shaking/)
78
+ - [Pre-bundling](https://vite.dev/guide/dep-pre-bundling)
79
+ - Plugin and loader system
80
+
81
+ # Contributions
82
+
83
+ All contributions are welcome, I'm not the best in the world at project management but if you think you can add or improve anything please send over a pull request
@@ -0,0 +1,62 @@
1
+ # effectual
2
+
3
+ */ɪˈfek.tʃu.əl/ meaning effective and successful*
4
+
5
+ ## Why?
6
+
7
+ Sometimes you want a single portable python file without having to make a platform specific executable or a dependency-less .pyz! Basically me trying to make [Vite](https://vite.dev/) for python (badly) :(
8
+
9
+ ## When not to use this
10
+
11
+ - The python package requires access to specific files like [CustomTkinter](https://github.com/TomSchimansky/CustomTkinter/wiki/Packaging#windows-pyinstaller-auto-py-to-exe) and [Pillow](https://python-pillow.org/)
12
+ - Incredibly version specific code, for example something that won't run on a slightly different python version or operating system
13
+
14
+ # Setup
15
+
16
+ If you haven't already, run:
17
+
18
+ uv init
19
+
20
+ Then to install effectual run:
21
+
22
+ uv add effectual --dev
23
+
24
+ Finally add the following lines to your pyproject.toml and configure to your hearts desire
25
+
26
+ ```TOML
27
+ [tool.effectual]
28
+
29
+ sourceDirectory = "./src/"
30
+ outputDirectory = "./dist/"
31
+ outputFileName = "bundle.pyz"
32
+ minification = true
33
+ compressionLevel=5
34
+ ```
35
+
36
+ # Bundling
37
+
38
+ ## Development
39
+
40
+ To bundle in dev mode use:
41
+
42
+ uv run efec dev
43
+
44
+ This is like what [esBuild](https://esbuild.github.io/) does for vite
45
+
46
+ ## Production
47
+
48
+ To build a distributable .pyz file run:
49
+
50
+ uv run efec dist
51
+
52
+ This is like what what [Rollup](https://rollupjs.org/) does for vite
53
+
54
+ # To be added
55
+
56
+ - [Treeshaking](https://webpack.js.org/guides/tree-shaking/)
57
+ - [Pre-bundling](https://vite.dev/guide/dep-pre-bundling)
58
+ - Plugin and loader system
59
+
60
+ # Contributions
61
+
62
+ All contributions are welcome, I'm not the best in the world at project management but if you think you can add or improve anything please send over a pull request
@@ -1,6 +1,6 @@
1
1
  [project]
2
2
  name = "effectual"
3
- version = "0.2.0"
3
+ version = "0.3.0"
4
4
  description = "A python package/script bundler"
5
5
  readme = "README.md"
6
6
  authors = [
effectual-0.2.0/PKG-INFO DELETED
@@ -1,19 +0,0 @@
1
- Metadata-Version: 2.3
2
- Name: effectual
3
- Version: 0.2.0
4
- Summary: A python package/script bundler
5
- Author-email: jake <jakewdr@proton.me>
6
- Classifier: License :: OSI Approved :: MIT License
7
- Classifier: Programming Language :: Python :: 3.8
8
- Classifier: Programming Language :: Python :: 3.9
9
- Classifier: Programming Language :: Python :: 3.10
10
- Classifier: Programming Language :: Python :: 3.11
11
- Classifier: Programming Language :: Python :: 3.12
12
- Classifier: Programming Language :: Python :: 3.13
13
- Classifier: Programming Language :: Python :: Implementation :: CPython
14
- Requires-Python: >=3.8
15
- Requires-Dist: click>=8.1.7
16
- Requires-Dist: python-minifier>=2.11.3
17
- Requires-Dist: rtoml>=0.11.0
18
- Requires-Dist: ruff>=0.8.0
19
- Requires-Dist: termcolor>=2.4.0
effectual-0.2.0/README.md DELETED
File without changes
File without changes
File without changes
File without changes
File without changes