Fetch python-build-standalone binaries easily.
getpybs is a command-line tool that simplifies downloading pre-built Python binaries from the python-build-standalone project. These are self-contained, portable Python distributions that work across different platforms without system dependencies.
Downloads latest build and python version for your OS
uvx getpybspip install getpybsDownload the latest Python build for your current platform:
getpybsDownload a specific Python version:
getpybs --python-version 3.12Download for a specific architecture:
getpybs --architecture x86_64-apple-darwinDownload a specific release version:
getpybs --build-version 20250920getpybs [options]
--build-version VERSION: Release version - eitherlatestor a specific release tag like20250920(default:latest)--python-version VERSION: Python version to download (default: latest stable)--architecture ARCH: Target architecture (default: auto-detected)--build-config CONFIG: Build configuration (default:pgo+lto)--content-type TYPE: Content type (default:install_only_stripped)--windows-variant VARIANT: Windows variant (sharedorstatic)--dest PATH: Download destination directory (default: current directory)--list-options: Show all available options
Download the fastest Python build (PGO+LTO optimized):
getpybs --build-config pgo+ltoDownload a specific release for Linux ARM64:
getpybs --build-version 20250920 --architecture aarch64-unknown-linux-gnuDownload with full build artifacts:
getpybs --content-type fullList all available options:
getpybs --list-optionsaarch64-apple-darwin- macOS ARM CPU (M1, M2, M3, etc.)x86_64-apple-darwin- macOS Intel CPUx86_64-pc-windows-msvc- Windows 64-bit Intel/AMD CPUi686-pc-windows-msvc- Windows 32-bit Intel/AMD CPUx86_64-unknown-linux-gnu- Linux 64-bit Intel/AMD CPU (baseline), linked with GNU libcx86_64_v2-unknown-linux-gnu- Linux 64-bit with SSE4.2/SSSE3 (recommended, widely compatible, ~2011+ CPUs)x86_64_v3-unknown-linux-gnu- Linux 64-bit with AVX2/FMA3 (faster, ~2013+ CPUs like Haswell)x86_64_v4-unknown-linux-gnu- Linux 64-bit with AVX-512 (fastest, high-end CPUs only)x86_64-unknown-linux-musl- Linux 64-bit Intel/AMD CPU, linked with musl libcaarch64-unknown-linux-gnu- Linux ARM64 CPUs (AWS Graviton, etc.)- And more... (see
--list-optionsfor complete list)
pgo+lto- Profile guided optimization + Link-time optimization (fastest, recommended)pgo- Profile guided optimization onlylto- Link-time optimization onlynoopt- Normal optimizationdebug- Debug buildfreethreaded- Free-threaded (PEP 703) build without GIL
install_only_stripped- Lightweight version with debug symbols removed (recommended)install_only- Only files needed for post-build installationfull- All files and artifacts used in build (distributed as .tar.zst)
The python-build-standalone project provides self-contained Python distributions that:
- Work without system dependencies
- Are reproducible and portable
- Include optimized builds (PGO, LTO)
- Support multiple platforms and architectures
- Are perfect for CI/CD, containers, and deployment
MIT License - see LICENSE file for details.
Contributions are welcome! Please feel free to submit a Pull Request.