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

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

traefik_bin-3.3.5-py3-none-manylinux_2_12_x86_64.manylinux2010_x86_64.musllinux_1_1_x86_64.whl (52.2 MB view details)

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

traefik_bin-3.3.5-py3-none-macosx_11_0_arm64.whl (50.9 MB view details)

Uploaded Python 3macOS 11.0+ ARM64

traefik_bin-3.3.5-py3-none-macosx_10_9_x86_64.whl (53.7 MB view details)

Uploaded Python 3macOS 10.9+ x86-64

File details

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

File metadata

File hashes

Hashes for traefik_bin-3.3.5-py3-none-manylinux_2_17_aarch64.manylinux2014_aarch64.musllinux_1_1_aarch64.whl
Algorithm Hash digest
SHA256 c48045b519b3e463426e2aa4b4600ab1979c3987cb5debe6f1a2eb73ac78a0c5
MD5 90469118600b4e068c29bb03241aae68
BLAKE2b-256 3a7fbc35dd353b0ae7df511a1dea53639975f2612e28f98d95ca7c852cf0d552

See more details on using hashes here.

File details

Details for the file traefik_bin-3.3.5-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.5-py3-none-manylinux_2_12_x86_64.manylinux2010_x86_64.musllinux_1_1_x86_64.whl
Algorithm Hash digest
SHA256 4a880746fb1c365a240c9c1e9acffefeed4d286cf9953503c5e8628e6a61e899
MD5 912cf1ac99a9bf4397bbe41478a009e5
BLAKE2b-256 5c5a1bfd93ead27db3561e0bfcadec74f167e201d9d184b07b989972b211550e

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for traefik_bin-3.3.5-py3-none-macosx_11_0_arm64.whl
Algorithm Hash digest
SHA256 6620383322388932b268c48095271b0a41b75816ff22fb6d6aa71d7b634f4307
MD5 4a6c96e58f49ad459e244ab1d7a8bc90
BLAKE2b-256 24562c995d15141317913f440ce4e7880367181e69d76f5e681be0a6761ca2ba

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for traefik_bin-3.3.5-py3-none-macosx_10_9_x86_64.whl
Algorithm Hash digest
SHA256 8ddfbb26d963780e1c239e4cc7adab35db99cea11f6faa14fe428c82ff6e272c
MD5 ea385f158c3c03fb7bbaf0dbc5c5642f
BLAKE2b-256 727b14b7509c1211fbe6223730177f1f8d75cd0ca61c8d0e466ea82bc6edbd63

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