pex-tool/pex
View on GitHub ↗ ★ 4,225 Python
A tool for generating .pex (Python EXecutable) files, lock files and venvs.
26 mentions on Hacker News by 20 people: 4 stories, 22 comments · first 2015-01-23 · latest 2023-06-16
20082026
-
We get (very) close to cross-environment reproducible builds for Python with https://github.com/pantsbuild/pex (via Pants). For instance, we build Linux x86-64 artifacts that run on AWS Lambda, and can build them natively on ARM macOS. (As…
comment by dbaupp · 2023-06-16 · in Our Plan for Python 3.13 -
▲ 3
Pex: Python EXecutablestory by mau · 2023-03-08 · 0 comments
-
…and cx_freeze, which have different tradeoffs as far as size, speed, convenience, etc. [1]: https://github.com/pantsbuild/pex
comment by mikepurvis · 2021-09-21 · in A function decorator that rewrites the bytecode to enable goto in Python -
…with you. After evaluating a number of different solutions, I ended up being quite happy with pex: https://github.com/pantsbuild/pex It basically bundles up the wheels for whatever your workspace needs, and then ships them in an archive…
comment by mikepurvis · 2021-02-23 · in Mypyc: Compile type-annotated Python to C -
…that build a CPython interpreter and all your dependencies into a single binary. There is also https://github.com/pantsbuild/pex which is a bit like jar files for Java, but it also bundles your code, dependencies and an interpreter into a…
comment by anentropic · 2020-10-12 · in PyOxidizer 0.8 -
…3 issues in their issue tracker can attest). The nicest thing about Pants is that it builds pex files (github.com/pantsbuild/pex) which are executable zip files that ship all of your dependencies except the Python interpreter and shared…
comment by weberc2 · 2019-10-01 · in Processing 40TB of code from 10M projects with a dedicated server and Go -
Fully agree about Go; however, if you can't move away from Python, github.com/pantsbuild/pex is a pretty good alternative. It's an executable zip file that contains all of your python dependencies; you still need the Python interpreter and…
comment by weberc2 · 2019-10-01 · in Processing 40TB of code from 10M projects with a dedicated server and Go -
…had good luck with pex files (executable zip files containing everything but the interpreter). https://github.com/pantsbuild/pex . Your deployment target still needs the right version of the Python interpreter and .so files that your…
comment by weberc2 · 2019-09-12 · in Drawbacks of Python -
It's easy to make self-contained scripts with dependencies using Pex: https://github.com/pantsbuild/pex/
comment by j88439h84 · 2019-08-18 · in Easy Python CLI with Click -
…) I would like to see pex support the `build-system` feature. ( https://github.com/pantsbuild/pex/issues/660 ) For pip, I'm not sure what's involved in getting everything to work generically. This is probably not simple. I
comment by j88439h84 · 2019-08-12 · in Poetry: Dependency Management for Python -
…a script. As a bonus, you can bundle a script and all it's dependencies with a tool named "pex" ( https://github.com/pantsbuild/pex ): pex . -r requirements.txt -o resulting_bundle.pex --python pythonX.Y -c your_script.py -f dist…
comment by sametmax · 2019-06-08 · in Current State of Python Packaging -
…the result, even for small scripts, is not what I would qualify as "small" :) I also like pex ( https://github.com/pantsbuild/pex ) which allows to bundle a whole venv as a python script. Less heavy than nuitka, doesn't make it stand alone…
comment by sametmax · 2019-06-06 · in Nim 0.20.0 (1.0 RC1) released -
…even with crazy dependencies like tensorflow. I'm a really big fan of the project, it's well done. https://github.com/pantsbuild/pex
comment by theossuary · 2019-05-19 · in “Python's batteries are leaking” -
…example [4]. All of this then can be wrapped in even higher level of packaging, namely Docker. [1] https://github.com/pantsbuild/pex [2] https://code.fb.com/data-infrastructure/xars-a-more-efficien... [3]…
comment by snidane · 2019-03-10 · in Goodbye Docker and Thanks for all the Fish -
He's talking about pex. [0] [0] https://github.com/pantsbuild/pex
comment by therein · 2018-10-13 · in Warp – self-contained, single binary applications -
…have the same Python version and your code is pure Python, you can even forget that and do a .pex ( https://github.com/pantsbuild/pex ), which a the Python equivalent of Java .war : a zip that embeds all the program and dependencies. It's…
comment by sametmax · 2018-05-14 · in Docker is a dangerous gamble -
▲ 1
Pex: Deploy Python executablesstory by scrollaway · 2017-01-26 · 1 comment
-
See also https://github.com/pantsbuild/pex I've had great success using pex to bundle up tools that use a few dependencies. It's a lot simpler than tools that try to bundle a full python distribution.
comment by justinsaccount · 2016-08-28 · in Changing the Culture of Python at Facebook [video] -
…installed (also through RPM, using FPM to create an RPM if it didn't exist). It was a nightmare. 1: https://github.com/pantsbuild/pex
comment by wrigby · 2016-08-24 · in Why People Should Learn Python -
So...like pex but worse? https://github.com/pantsbuild/pex
comment by thln666 · 2016-03-20 · in Pyship: Static Python for desktop apps -
…is ideologically descended from Bazel, and along with it came the Pex python executable format: https://github.com/pantsbuild/pex Just the fact that Go does mostly-static linking by default is a decent hint in this direction, considering…
comment by benley · 2016-01-18 · in Why Always Docker? -
▲ 3
Pex: library for generating executable Python environmentsstory by ingve · 2015-11-04 · 0 comments
-
…app is a reason go > python". Python needs a .war format and I'd like to see more people get behind https://github.com/pantsbuild/pex
comment by simeonf · 2015-09-10 · in From Python to Go: migrating our entire API -
▲ 1
Pex: library for generating .pex (Python EXecutable) filesstory by mkesper · 2015-06-18 · 0 comments
-
I came across [pex]( https://github.com/pantsbuild/pex ) a while ago. It basically compiles your package and all its dependencies into a single zipped module. I never had the opportunity to try it out myself though.
comment by untitaker_ · 2015-01-23 · in What makes Nim practical?