effectual 0.1.0__py3-none-any.whl → 0.3.0__py3-none-any.whl
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- effectual-0.3.0.dist-info/METADATA +83 -0
- {effectual-0.1.0.dist-info → effectual-0.3.0.dist-info}/RECORD +5 -5
- effectual-0.1.0.dist-info/METADATA +0 -19
- {effectual-0.1.0.dist-info → effectual-0.3.0.dist-info}/WHEEL +0 -0
- {effectual-0.1.0.dist-info → effectual-0.3.0.dist-info}/entry_points.txt +0 -0
- {effectual-0.1.0.dist-info → effectual-0.3.0.dist-info}/licenses/LICENSE +0 -0
@@ -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
|
@@ -5,8 +5,8 @@ effectual/config.py,sha256=LzGT8e-zq7Rc-HOp3-r6g1XRiN9v0sCq5aeWL0bqFLY,754
|
|
5
5
|
effectual/dev.py,sha256=Ia6LPvDbO5kkF9dRIw3H23sulmWT8pLis55-PRQIInI,2014
|
6
6
|
effectual/fileHash.py,sha256=m2oPjhAcSH0Qc7J7aMkmjOlgDr5Lzilcfl1ppeoDxI8,810
|
7
7
|
effectual/minifier.py,sha256=RlUD0mUNDi7YZ1P-dDL6Y4FlCkfiiJP8G4TpX2y45iI,1347
|
8
|
-
effectual-0.
|
9
|
-
effectual-0.
|
10
|
-
effectual-0.
|
11
|
-
effectual-0.
|
12
|
-
effectual-0.
|
8
|
+
effectual-0.3.0.dist-info/METADATA,sha256=exXKvQHShiOF7b0ySiSxWQRb6by42qPO0M7re1bU4Jo,2435
|
9
|
+
effectual-0.3.0.dist-info/WHEEL,sha256=C2FUgwZgiLbznR-k0b_5k3Ai_1aASOXDss3lzCUsUug,87
|
10
|
+
effectual-0.3.0.dist-info/entry_points.txt,sha256=1W7EjlLZkw_Wz8V1SgdzzDis-CRE5IINyg74upsB0zU,40
|
11
|
+
effectual-0.3.0.dist-info/licenses/LICENSE,sha256=JoTeFzAOCkNGhvHsf4r2BFIHpLRXo_4EsrnOZV58XVA,17098
|
12
|
+
effectual-0.3.0.dist-info/RECORD,,
|
@@ -1,19 +0,0 @@
|
|
1
|
-
Metadata-Version: 2.3
|
2
|
-
Name: effectual
|
3
|
-
Version: 0.1.0
|
4
|
-
Summary: Add your description here
|
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.11
|
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
|
File without changes
|
File without changes
|
File without changes
|