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.6-py3-none-manylinux_2_17_aarch64.manylinux2014_aarch64.musllinux_1_1_aarch64.whl (48.6 MB view details)

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

traefik_bin-3.3.6-py3-none-manylinux_2_12_x86_64.manylinux2010_x86_64.musllinux_1_1_x86_64.whl (52.9 MB view details)

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

traefik_bin-3.3.6-py3-none-macosx_11_0_arm64.whl (51.7 MB view details)

Uploaded Python 3macOS 11.0+ ARM64

traefik_bin-3.3.6-py3-none-macosx_10_9_x86_64.whl (54.4 MB view details)

Uploaded Python 3macOS 10.9+ x86-64

File details

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

File metadata

File hashes

Hashes for traefik_bin-3.3.6-py3-none-manylinux_2_17_aarch64.manylinux2014_aarch64.musllinux_1_1_aarch64.whl
Algorithm Hash digest
SHA256 cd1b4cd17e054a74096165545f3f95584a218d21062ec16da1270083504b8c14
MD5 29536e0f93a27fc87b2a540eabdcedc5
BLAKE2b-256 19a53406e4468327274750d5c74c57d4e94bfad803923e90c1a1a15e05d8fd6a

See more details on using hashes here.

File details

Details for the file traefik_bin-3.3.6-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.6-py3-none-manylinux_2_12_x86_64.manylinux2010_x86_64.musllinux_1_1_x86_64.whl
Algorithm Hash digest
SHA256 cc392ce85ad0abff520d91512f07a505dd7d5aee83efb14fce866e3e3278fe17
MD5 600ae0a6ecbc95bb310697fdb3004a57
BLAKE2b-256 941409c9e0cd743d5bde5d51e56fce1369c4441f18e18332ebf776f0a67af39d

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for traefik_bin-3.3.6-py3-none-macosx_11_0_arm64.whl
Algorithm Hash digest
SHA256 1d17b3483fd18d2753ededab41b0ea5b7df36bd9d88016404861458a5cb89543
MD5 083ce56be0a361d4c6995a6bc3a90c9b
BLAKE2b-256 162ed11d2716921f88c6229fee11734edde3c7bfd9a9a7a30cab1963c9080ea1

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for traefik_bin-3.3.6-py3-none-macosx_10_9_x86_64.whl
Algorithm Hash digest
SHA256 93086dd17fdfd12f9174c9f97c028cac5729c2f86770eae664ad2416ac09ab28
MD5 ef7c0cc5b930eb26b020115c483a5a6f
BLAKE2b-256 136ea22461e897baa7fbc47178a24911ac94e7d67c66e0bfd0dd6e7ad2874c63

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