Re:Uv is the best thing to happen to the Python ecosystem in...
by miggol on Wednesday October 29, 2025 @05:37PM
(#45753389)
I wouldn't be surprised if astral's next product would be something like this. It's so obvious and there would be much interest from the ML crowd.
My current hobby language is janet. Creating a statically linked binary from a script in janet is trivial. You can even bring your own C libraries.
Re:Uv is the best thing to happen to the Python ecosystem in...
by mr_mitm on Wednesday October 29, 2025 @06:03PM
(#45753678)
Zipapp comes close: https://docs.python.org/3/library/zipapp.html
Re:Uv is the best thing to happen to the Python ecosystem in...
by polski-g on Thursday October 30, 2025 @04:21PM
(#45764860)
uv doesn't support creating zipapps yet, but there is an issue with that. For that reason, I'm still using PDM.
Re:Uv is the best thing to happen to the Python ecosystem in...
by zahlman on Friday October 31, 2025 @03:10AM
(#45769157)
I'm planning to distribute PAPER as a zipapp where the bootstrap script does some initial unpacking to put wheels in a temporary directory, then delegates to the contained code (similar to how the standard library `ensurepip` works). The code that creates the zipapp is in the repository and I'm thinking of genericizing that and making it separately available, too.
Although several variations on this theme already exist, I'm sure. https://github.com/pex-tool/pex/ is arguably one of them, but it's quite a bit bulkier than what I'm looking for.
I want to be able to ship a bundle which needs zero network access to run, but will run.
It is still frustratingly difficult to make portable Python programs.