Skip to main content

A thin wrapper to distribute https://github.com/traefik/traefik via pip.

Project description

pybin

This project was inspired by how Maturin packages rust binaries. The key observation is that in the wheel format, the distribution-1.0.data/scripts/ directory is copied to bin, which means we can leverage this to seamlessly copy binaries into a user's PATH.

Combined with Python's platform-specific wheels, this allows us to use pip as a "cross-platform package manager" for distributing single-binary CLI applications.

This is the list of tools bundled this way, which can be installed with pip install $TOOLNAME-bin.

Wheel Building Process

The core of the logic lies in the buildlib.py module.

  • A mapping from download URL (often github releases) to pypi platform tag is required.
  • For each platform:
    • Download the release & extract the binary.
    • Set file permissions and place into scripts directory within wheel archive.
    • Create the METADATA and WHEEL files within wheel archive.
    • Place wheel into dist/ folder.
  • Once all wheels are constructed, the distribution is uploaded to PyPI.

CICD is configured to automatically recognize new PyPI releases by looking for a diff on the PYPI_VERSION. When this happens, a build-and-release cycle is performed for that release version.

Project details


Download files

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

Source Distributions

No source distribution files available for this release.See tutorial on generating distribution archives.

Built Distributions

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

traefik_bin-3.3.2-py3-none-manylinux_2_17_aarch64.manylinux2014_aarch64.musllinux_1_1_aarch64.whl (43.4 MB view details)

Uploaded Python 3manylinux: glibc 2.17+ ARM64musllinux: musl 1.1+ ARM64

traefik_bin-3.3.2-py3-none-manylinux_2_12_x86_64.manylinux2010_x86_64.musllinux_1_1_x86_64.whl (47.1 MB view details)

Uploaded Python 3manylinux: glibc 2.12+ x86-64musllinux: musl 1.1+ x86-64

traefik_bin-3.3.2-py3-none-macosx_11_0_arm64.whl (46.1 MB view details)

Uploaded Python 3macOS 11.0+ ARM64

traefik_bin-3.3.2-py3-none-macosx_10_9_x86_64.whl (48.4 MB view details)

Uploaded Python 3macOS 10.9+ x86-64

File details

Details for the file traefik_bin-3.3.2-py3-none-manylinux_2_17_aarch64.manylinux2014_aarch64.musllinux_1_1_aarch64.whl.

File metadata

File hashes

Hashes for traefik_bin-3.3.2-py3-none-manylinux_2_17_aarch64.manylinux2014_aarch64.musllinux_1_1_aarch64.whl
Algorithm Hash digest
SHA256 b8f445c757ab88115fcab389cad3f684f5b7f8e055805fc517251da871d245a3
MD5 da0c56a149af04de753c5a65d84a6b98
BLAKE2b-256 48c005ee8683d3fd1e7bab6f8d41182ddc7aeae8332a571d828bebbf21885fb5

See more details on using hashes here.

File details

Details for the file traefik_bin-3.3.2-py3-none-manylinux_2_12_x86_64.manylinux2010_x86_64.musllinux_1_1_x86_64.whl.

File metadata

File hashes

Hashes for traefik_bin-3.3.2-py3-none-manylinux_2_12_x86_64.manylinux2010_x86_64.musllinux_1_1_x86_64.whl
Algorithm Hash digest
SHA256 c3e9cd87b80da9260018c996fbcaee83e3ad42a6de03e8c873a699ca959a4c20
MD5 87443ffddfba3cf8d939cc8854ed56d5
BLAKE2b-256 d5ca92350975e11f293cd24821a59c2ae5803201c27829217d9062a6dc02a955

See more details on using hashes here.

File details

Details for the file traefik_bin-3.3.2-py3-none-macosx_11_0_arm64.whl.

File metadata

File hashes

Hashes for traefik_bin-3.3.2-py3-none-macosx_11_0_arm64.whl
Algorithm Hash digest
SHA256 8264e82682e46a17600301eefffaef7c38947f5816a4581cab6b411f3042ffef
MD5 3cf2d5ae405fdedb8e672d805a6d0e48
BLAKE2b-256 ee207cc0757c7d2d9f9e846da2d1781eba15ee0f4404a690062c4653b9527481

See more details on using hashes here.

File details

Details for the file traefik_bin-3.3.2-py3-none-macosx_10_9_x86_64.whl.

File metadata

File hashes

Hashes for traefik_bin-3.3.2-py3-none-macosx_10_9_x86_64.whl
Algorithm Hash digest
SHA256 168467be9926d68477b6826eb92a6b69245c4b6e5bcabeaa6924ee661db72b85
MD5 918482f6e6f5aa2f534dab03bebf973c
BLAKE2b-256 64bed90aa2e8d1db9bb5b293b3622df9098d0753552036f9c9023a2daf3cd492

See more details on using hashes here.

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