Skip to main content

Fetch python-build-standalone binaries easily

Project description

getpybs

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.

Installation

Use directly with uvx

Downloads latest build and python version for your OS

uvx getpybs

Install from PyPI

pip install getpybs

Usage

Download the latest Python build for your current platform:

getpybs

Download a specific Python version:

getpybs --python-version 3.12

Download for a specific architecture:

getpybs --architecture x86_64-apple-darwin

Download a specific release version:

getpybs --build-version 20250920

Options

getpybs [options]
  • --build-version VERSION: Release version - either latest or a specific release tag like 20250920 (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 (shared or static)
  • --dest PATH: Download destination directory (default: current directory)
  • --list-options: Show all available options

Examples

Download the fastest Python build (PGO+LTO optimized):

getpybs --build-config pgo+lto

Download a specific release for Linux ARM64:

getpybs --build-version 20250920 --architecture aarch64-unknown-linux-gnu

Download with full build artifacts:

getpybs --content-type full

List all available options:

getpybs --list-options

Available Options

Architectures

  • aarch64-apple-darwin - macOS ARM CPU (M1, M2, M3, etc.)
  • x86_64-apple-darwin - macOS Intel CPU
  • x86_64-pc-windows-msvc - Windows 64-bit Intel/AMD CPU
  • i686-pc-windows-msvc - Windows 32-bit Intel/AMD CPU
  • x86_64-unknown-linux-gnu - Linux 64-bit Intel/AMD CPU (baseline), linked with GNU libc
  • x86_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 libc
  • aarch64-unknown-linux-gnu - Linux ARM64 CPUs (AWS Graviton, etc.)
  • And more... (see --list-options for complete list)

Build Configurations

  • pgo+lto - Profile guided optimization + Link-time optimization (fastest, recommended)
  • pgo - Profile guided optimization only
  • lto - Link-time optimization only
  • noopt - Normal optimization
  • debug - Debug build
  • freethreaded - Free-threaded (PEP 703) build without GIL

Content Types

  • install_only_stripped - Lightweight version with debug symbols removed (recommended)
  • install_only - Only files needed for post-build installation
  • full - All files and artifacts used in build (distributed as .tar.zst)

Why python-build-standalone?

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

License

MIT License - see LICENSE file for details.

Contributing

Contributions are welcome! Please feel free to submit a Pull Request.

Links

Project details


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

getpybs-0.1.0.tar.gz (9.4 kB view details)

Uploaded Source

Built Distribution

If you're not sure about the file name format, learn more about wheel file names.

getpybs-0.1.0-py3-none-any.whl (9.5 kB view details)

Uploaded Python 3

File details

Details for the file getpybs-0.1.0.tar.gz.

File metadata

  • Download URL: getpybs-0.1.0.tar.gz
  • Upload date:
  • Size: 9.4 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? Yes
  • Uploaded via: twine/6.1.0 CPython/3.13.7

File hashes

Hashes for getpybs-0.1.0.tar.gz
Algorithm Hash digest
SHA256 e5c3b0707a2356283d189b10463fd12992fe5dd74c352f473005eeb070d539a8
MD5 67e33b4dcc9e734f52a47d19ec91f052
BLAKE2b-256 cc204c9954ccac04dbb3e8c8bf8407c492a49f70ce9c9741a8ed4f89ab66949a

See more details on using hashes here.

Provenance

The following attestation bundles were made for getpybs-0.1.0.tar.gz:

Publisher: publish-to-pypi.yml on mliezun/getpybs

Attestations: Values shown here reflect the state when the release was signed and may no longer be current.

File details

Details for the file getpybs-0.1.0-py3-none-any.whl.

File metadata

  • Download URL: getpybs-0.1.0-py3-none-any.whl
  • Upload date:
  • Size: 9.5 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? Yes
  • Uploaded via: twine/6.1.0 CPython/3.13.7

File hashes

Hashes for getpybs-0.1.0-py3-none-any.whl
Algorithm Hash digest
SHA256 c11664c43f273e9e062c887d97b87385324b370af3ac8c00d458bdafca8d33af
MD5 ca31c3e7b67e3264265c4febee599280
BLAKE2b-256 088ceeaccf0287be0c3eed1492c729d14a8cf61d41637c98b76699125de91a7d

See more details on using hashes here.

Provenance

The following attestation bundles were made for getpybs-0.1.0-py3-none-any.whl:

Publisher: publish-to-pypi.yml on mliezun/getpybs

Attestations: Values shown here reflect the state when the release was signed and may no longer be current.

Supported by

AWS Cloud computing and Security Sponsor Datadog Monitoring Depot Continuous Integration Fastly CDN Google Download Analytics Pingdom Monitoring Sentry Error logging StatusPage Status page