astral-sh/python-build-standalone
View on GitHub ↗ ★ 4,538 Python
Produce redistributable builds of Python
23 mentions on Hacker News by 19 people: 2 stories, 21 comments · first 2019-06-26 · latest 2026-10-10
20082026
-
…much that form (of course they also include a ton of .py files for the standard library); see https://github.com/astral-sh/python-build-standalone .
comment by zahlman · 2026-10-10 · in Python 3.15 -
…Astral took over maintenance of them a while ago so technically they sit under OpenAI now. https://github.com/astral-sh/python-build-standalone If you're looking to bundle Python into another application - a macOS desktop app for example -…
comment by simonw · 2026-07-27 · in Self-contained highly-portable Python distributions -
…sources directly from python.org[1]. I don't even know where else we would get them from! [1]: https://github.com/astral-sh/python-build-standalone/blob/a2...
comment by woodruffw · 2026-04-30 · in Shai-Hulud Themed Malware Found in the PyTorch Lightning AI Training Library -
…project. See the Python distributions documentation for more details. It points to this GitHub repo https://github.com/astral-sh/python-build-standalone which mentions this other link https://gregoryszorc.com/docs/python-build-standalone/ma…
comment by auraham · 2026-04-30 · in Shai-Hulud Themed Malware Found in the PyTorch Lightning AI Training Library -
…to Astral). [0]: https://github.com/badlogic/pi-mono [1]: https://github.com/astral-sh/rye [2]: https://github.com/astral-sh/python-build-standalone
comment by fortuitous-frog · 2026-03-19 · in Astral to Join OpenAI -
No, uv installs pythons available from https://github.com/astral-sh/python-build-standalone by default, which are quite good and have a wide variety of versions available, even on unusual platforms. If those don’t suit your needs, uv can…
comment by zbentley · 2025-10-30 · in Uv is the best thing to happen to the Python ecosystem in a decade -
…linked. I also have a tiny collection of statically linked utilities available here[2]. [1] https://github.com/astral-sh/python-build-standalone [2] https://github.com/supriyo-biswas/static-builds
comment by supriyo-biswas · 2025-04-12 · in Fedora change aims for 99% package reproducibility -
Yeah it has precompiled Python binaries. They're custom standalone builds of CPython: https://github.com/astral-sh/python-build-standalone You can also import existing Python versions into uv, for example on my Mac it has imported the…
comment by chippiewill · 2025-03-17 · in uv downloads overtake Poetry for Wagtail users -
…astral folks ran into this showing how the conda-forge build is notable faster than most others: https://github.com/astral-sh/python-build-standalone/pull/54... I'd be interested to know how the tail-call interpreter performs with other…
comment by tempay · 2025-03-10 · in Performance of the Python 3.14 tail-call interpreter -
This must have moved recently! I looked at this around end of December and it was hosted on https://github.com/indygreg/python-build-standalone/releases which had nothing to do with UV. If you read through the docs now it still references…
comment by meitham · 2025-01-13 · in Uv's killer feature is making ad-hoc environments easy -
https://github.com/astral-sh/python-build-standalone is by the same people as uv, so it's hardly random. The releases there include ones with profile-guided optimisation and link time optimisation [1], which are used by default for some…
comment by mkl · 2025-01-13 · in Uv's killer feature is making ad-hoc environments easy -
…able to run a compiler to build a downloaded Python source tarball. Uv uses prebuilt versions from https://github.com/astral-sh/python-build-standalone ; there is work being done in the Python community on a standard for packaging such…
comment by zahlman · 2025-01-13 · in Uv's killer feature is making ad-hoc environments easy -
…python version downloads depending on what you've pinned in your pyproject or the standard version: https://github.com/indygreg/python-build-standalone - It uses Hatch, uv (or piptools), venv etc. - It has a sane set of commands and should…
comment by VagabundoP · 2024-07-08 · in Python Has Too Many Package Managers -
…I encountered two little quirks that needed a fix: - "Backspace Key Doesn't work in Python REPL": https://github.com/indygreg/python-build-standalone/blob/mai... - An issue with the mise-poetry plugin:…
comment by ducdetronquito · 2024-04-28 · in Mise: a polyglot tool version manager -
These builds are an alternative: https://github.com/indygreg/python-build-standalone Those are what Rye and hatch use. Drawbacks: late availability of patch versions, various quirks from how they are built (missing readline, missing some…
comment by kzrdude · 2024-03-25 · in Pyenv – lets you easily switch between multiple versions of Python -
Bundling Python isn't too bad if you find the right tools for it. I really like https://github.com/indygreg/python-build-standalone and https://github.com/indygreg/PyOxidizer A bundled, built standalone Python can be 16 to 32MB (including…
comment by simonw · 2024-03-13 · in Show HN: Pywebview 5 -
I'm a huge fan of https://github.com/indygreg/python-build-standalone which provides Python builds that CAN be moved around and work independently of any other Python installation. I used that for my own Python+Electron app, which I wrote…
comment by simonw · 2023-08-03 · in Briefcase: Convert a Python project into a standalone native application -
These might be interesting to you: https://github.com/indygreg/python-build-standalone/releases
comment by maleldil · 2023-05-13 · in Pytz: The Fastest Footgun in the West (2018) -
…in Hermit. These kinds of things bit you up way down the road when you least expect them to. [1] https://github.com/indygreg/python-build-standalone
comment by uranusjr · 2022-04-07 · in Switching from pyenv, rbenv, goenv and nvm to asdf -
…to see how they've approached the problem. I ended up including a full copy of Python using https://github.com/indygreg/python-build-standalone - it looks like they've bundled a Conda environment using https://github.com/conda/constructor…
comment by simonw · 2021-09-23 · in JupyterLab Desktop App now available -
…artifacts found processing config file pyoxidizer.toml resolving Python distribution... downloading https://github.com/indygreg/python-build-standalone/releases/download/{...}/cpython-{...}.tar.zst ... error[E0463]: can't find crate for…
comment by mehrdadn · 2019-06-26 · in Building Standalone Python Applications with PyOxidizer