bundleup 0.0.1__tar.gz

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.
bundleup-0.0.1/LICENSE ADDED
@@ -0,0 +1,21 @@
1
+ MIT License
2
+
3
+ Copyright (c) 2026 funkyfunc
4
+
5
+ Permission is hereby granted, free of charge, to any person obtaining a copy
6
+ of this software and associated documentation files (the "Software"), to deal
7
+ in the Software without restriction, including without limitation the rights
8
+ to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
9
+ copies of the Software, and to permit persons to whom the Software is
10
+ furnished to do so, subject to the following conditions:
11
+
12
+ The above copyright notice and this permission notice shall be included in all
13
+ copies or substantial portions of the Software.
14
+
15
+ THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
16
+ IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
17
+ FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
18
+ AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
19
+ LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
20
+ OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
21
+ SOFTWARE.
@@ -0,0 +1,67 @@
1
+ Metadata-Version: 2.4
2
+ Name: bundleup
3
+ Version: 0.0.1
4
+ Summary: Bundle up your Python app with everything it needs: one .pyz that runs on plain Python, no install step. Pre-alpha.
5
+ Keywords: bundler,pyz,zipapp,packaging,distribution,cli
6
+ Author: funkyfunc
7
+ License-Expression: MIT
8
+ License-File: LICENSE
9
+ Classifier: Development Status :: 1 - Planning
10
+ Classifier: Environment :: Console
11
+ Classifier: Intended Audience :: Developers
12
+ Classifier: Operating System :: OS Independent
13
+ Classifier: Programming Language :: Python :: 3
14
+ Classifier: Topic :: Software Development :: Build Tools
15
+ Classifier: Topic :: System :: Software Distribution
16
+ Requires-Python: >=3.9
17
+ Project-URL: Homepage, https://github.com/funkyfunc/bundleup
18
+ Project-URL: Repository, https://github.com/funkyfunc/bundleup
19
+ Project-URL: Issues, https://github.com/funkyfunc/bundleup/issues
20
+ Description-Content-Type: text/markdown
21
+
22
+ # bundleup
23
+
24
+ **Bundle up your Python app with everything it needs.** One command turns a locked project into a
25
+ single `.pyz` that runs on plain Python: no install step, no network, native extensions included.
26
+ And it tells you *before* you ship what won't survive the trip.
27
+
28
+ Dead simple to use, but also powerful and fast: esbuild's experience, for Python.
29
+
30
+ > **Status: pre-alpha.** Research, positioning and the test suite are done; the bundler itself
31
+ > isn't written yet. Nothing is published on PyPI.
32
+
33
+ ## Why
34
+
35
+ Python has three ways to hand a program to someone else, and the middle one is missing:
36
+
37
+ | Ship as | The other machine needs | Problem |
38
+ |---|---|---|
39
+ | Standalone executable | Nothing | Per-OS builds, code signing, antivirus |
40
+ | Source + `pip install` / `uv sync` | Python, an installer, network | The install step is where things break |
41
+ | **One file that runs on the user's Python** | **Python** | **No easy, reliable tool. That's bundleup** |
42
+
43
+ pex, shiv and zipapps can do parts of this. bundleup's bet is a much better experience on top of
44
+ the same correct approach: no flags to get it fast, plain-language errors, and a pre-ship check.
45
+ See [docs/vision.md](https://github.com/funkyfunc/bundleup/blob/main/docs/vision.md).
46
+
47
+ ## Where to start reading
48
+
49
+ - [MISSION.md](https://github.com/funkyfunc/bundleup/blob/main/MISSION.md): goal, scope, what "done" means
50
+ - [docs/vision.md](https://github.com/funkyfunc/bundleup/blob/main/docs/vision.md): where bundleup fits and who it's for
51
+ - [docs/roadmap.md](https://github.com/funkyfunc/bundleup/blob/main/docs/roadmap.md): where it could go next
52
+ - [docs/python-primer.md](https://github.com/funkyfunc/bundleup/blob/main/docs/python-primer.md): Python packaging explained for JavaScript developers
53
+ - [docs/adr/](https://github.com/funkyfunc/bundleup/blob/main/docs/adr/README.md): decisions and why they were made
54
+ - [docs/findings/2026-10-03-baseline.md](https://github.com/funkyfunc/bundleup/blob/main/docs/findings/2026-10-03-baseline.md): how pex, shiv and zipapps fare today
55
+ - [gauntlet/](https://github.com/funkyfunc/bundleup/blob/main/gauntlet/README.md): the test projects every bundler is measured against
56
+
57
+ ## Gauntlet
58
+
59
+ ```bash
60
+ uv run gauntlet/check_native.py # control group: projects run normally
61
+ uv run gauntlet/run_bundlers.py --conditions --out run # existing bundlers, incl. hostile conditions
62
+ uv run gauntlet/report.py gauntlet/results/run.json > gauntlet/results/run.md
63
+ ```
64
+
65
+ ## License
66
+
67
+ [MIT](https://github.com/funkyfunc/bundleup/blob/main/LICENSE)
@@ -0,0 +1,46 @@
1
+ # bundleup
2
+
3
+ **Bundle up your Python app with everything it needs.** One command turns a locked project into a
4
+ single `.pyz` that runs on plain Python: no install step, no network, native extensions included.
5
+ And it tells you *before* you ship what won't survive the trip.
6
+
7
+ Dead simple to use, but also powerful and fast: esbuild's experience, for Python.
8
+
9
+ > **Status: pre-alpha.** Research, positioning and the test suite are done; the bundler itself
10
+ > isn't written yet. Nothing is published on PyPI.
11
+
12
+ ## Why
13
+
14
+ Python has three ways to hand a program to someone else, and the middle one is missing:
15
+
16
+ | Ship as | The other machine needs | Problem |
17
+ |---|---|---|
18
+ | Standalone executable | Nothing | Per-OS builds, code signing, antivirus |
19
+ | Source + `pip install` / `uv sync` | Python, an installer, network | The install step is where things break |
20
+ | **One file that runs on the user's Python** | **Python** | **No easy, reliable tool. That's bundleup** |
21
+
22
+ pex, shiv and zipapps can do parts of this. bundleup's bet is a much better experience on top of
23
+ the same correct approach: no flags to get it fast, plain-language errors, and a pre-ship check.
24
+ See [docs/vision.md](https://github.com/funkyfunc/bundleup/blob/main/docs/vision.md).
25
+
26
+ ## Where to start reading
27
+
28
+ - [MISSION.md](https://github.com/funkyfunc/bundleup/blob/main/MISSION.md): goal, scope, what "done" means
29
+ - [docs/vision.md](https://github.com/funkyfunc/bundleup/blob/main/docs/vision.md): where bundleup fits and who it's for
30
+ - [docs/roadmap.md](https://github.com/funkyfunc/bundleup/blob/main/docs/roadmap.md): where it could go next
31
+ - [docs/python-primer.md](https://github.com/funkyfunc/bundleup/blob/main/docs/python-primer.md): Python packaging explained for JavaScript developers
32
+ - [docs/adr/](https://github.com/funkyfunc/bundleup/blob/main/docs/adr/README.md): decisions and why they were made
33
+ - [docs/findings/2026-10-03-baseline.md](https://github.com/funkyfunc/bundleup/blob/main/docs/findings/2026-10-03-baseline.md): how pex, shiv and zipapps fare today
34
+ - [gauntlet/](https://github.com/funkyfunc/bundleup/blob/main/gauntlet/README.md): the test projects every bundler is measured against
35
+
36
+ ## Gauntlet
37
+
38
+ ```bash
39
+ uv run gauntlet/check_native.py # control group: projects run normally
40
+ uv run gauntlet/run_bundlers.py --conditions --out run # existing bundlers, incl. hostile conditions
41
+ uv run gauntlet/report.py gauntlet/results/run.json > gauntlet/results/run.md
42
+ ```
43
+
44
+ ## License
45
+
46
+ [MIT](https://github.com/funkyfunc/bundleup/blob/main/LICENSE)
@@ -0,0 +1,41 @@
1
+ [project]
2
+ name = "bundleup"
3
+ version = "0.0.1"
4
+ description = "Bundle up your Python app with everything it needs: one .pyz that runs on plain Python, no install step. Pre-alpha."
5
+ readme = "README.md"
6
+ license = "MIT"
7
+ license-files = ["LICENSE"]
8
+ requires-python = ">=3.9"
9
+ keywords = [
10
+ "bundler",
11
+ "pyz",
12
+ "zipapp",
13
+ "packaging",
14
+ "distribution",
15
+ "cli",
16
+ ]
17
+ classifiers = [
18
+ "Development Status :: 1 - Planning",
19
+ "Environment :: Console",
20
+ "Intended Audience :: Developers",
21
+ "Operating System :: OS Independent",
22
+ "Programming Language :: Python :: 3",
23
+ "Topic :: Software Development :: Build Tools",
24
+ "Topic :: System :: Software Distribution",
25
+ ]
26
+ dependencies = []
27
+
28
+ [[project.authors]]
29
+ name = "funkyfunc"
30
+
31
+ [project.urls]
32
+ Homepage = "https://github.com/funkyfunc/bundleup"
33
+ Repository = "https://github.com/funkyfunc/bundleup"
34
+ Issues = "https://github.com/funkyfunc/bundleup/issues"
35
+
36
+ [project.scripts]
37
+ bundleup = "bundleup.cli:main"
38
+
39
+ [build-system]
40
+ requires = ["uv_build>=0.12,<0.13"]
41
+ build-backend = "uv_build"
@@ -0,0 +1,32 @@
1
+ [project]
2
+ name = "bundleup"
3
+ version = "0.0.1"
4
+ description = "Bundle up your Python app with everything it needs: one .pyz that runs on plain Python, no install step. Pre-alpha."
5
+ readme = "README.md"
6
+ license = "MIT"
7
+ license-files = ["LICENSE"]
8
+ requires-python = ">=3.9"
9
+ authors = [{ name = "funkyfunc" }]
10
+ keywords = ["bundler", "pyz", "zipapp", "packaging", "distribution", "cli"]
11
+ classifiers = [
12
+ "Development Status :: 1 - Planning",
13
+ "Environment :: Console",
14
+ "Intended Audience :: Developers",
15
+ "Operating System :: OS Independent",
16
+ "Programming Language :: Python :: 3",
17
+ "Topic :: Software Development :: Build Tools",
18
+ "Topic :: System :: Software Distribution",
19
+ ]
20
+ dependencies = []
21
+
22
+ [project.urls]
23
+ Homepage = "https://github.com/funkyfunc/bundleup"
24
+ Repository = "https://github.com/funkyfunc/bundleup"
25
+ Issues = "https://github.com/funkyfunc/bundleup/issues"
26
+
27
+ [project.scripts]
28
+ bundleup = "bundleup.cli:main"
29
+
30
+ [build-system]
31
+ requires = ["uv_build>=0.12,<0.13"]
32
+ build-backend = "uv_build"
@@ -0,0 +1,3 @@
1
+ """bundleup: bundle up your Python app with everything it needs."""
2
+
3
+ __version__ = "0.0.1"
@@ -0,0 +1,26 @@
1
+ """Command-line entry point. Placeholder until the bundler exists."""
2
+
3
+ import sys
4
+
5
+ from . import __version__
6
+
7
+ MESSAGE = """\
8
+ bundleup {version}: pre-alpha, nothing to bundle yet.
9
+
10
+ bundleup will turn a locked Python project into one checked .pyz that runs on
11
+ plain Python with no install step.
12
+
13
+ Follow along: https://github.com/funkyfunc/bundleup
14
+ """
15
+
16
+
17
+ def main(argv=None) -> int:
18
+ args = sys.argv[1:] if argv is None else argv
19
+ if args in (["--version"], ["-V"]):
20
+ print(f"bundleup {__version__}")
21
+ return 0
22
+ if not args or args[0] in ("-h", "--help"):
23
+ print(MESSAGE.format(version=__version__))
24
+ return 0
25
+ print(MESSAGE.format(version=__version__), file=sys.stderr)
26
+ return 2