Skip to main content
Pre-release

This release is a pre-release and may not be stable for production use.

Protobuf Protoc Bin

PyPI - Version Auto monitoring of protobuf Build status

Repository of the Python package that ships protobuf's protoc compiler binary.

Use this package to install a specific version of protoc in your project, without having to figure out the installation externally.

This package is not maintained by or affiliated with the official protobuf group!

This repository does not host any binaries on itself. Instead, the binaries are downloaded from the official protobuf GitHub during package built or during installation from source.

How to install

The package is hosted on PyPi at https://pypi.org/project/protobuf-protoc-bin.
It can be installed via PIP as normal with:

pip install protobuf-protoc-bin

The wheels hosted on PyPi do contain a copy of the protoc releases. You can also install this package directly from the Github source. During an installation from source, protoc will be downloaded fresh from the official Protobuf releases:

pip install "git+https://github.com/RobertoRoos/protobuf-protoc-bin.git@<tag>"

(Replacing <tag> with a version like v27.3.)

If you prefer a user- or system-wide installation, where protoc is also added to PATH, you could install it with pipx instead:

pipx install protobuf-protoc-bin

(uv also offers such an installer through uvx.)

How to require

To require protoc only during a build script, include it in your pyproject.toml with:

[build-system]
requires = [..., "protobuf-protoc-bin==27.3"]
# ...

Or make it part of an additional install group in your regular environment (with the Poetry backend):

[tool.poetry.group.dev.dependencies]
protobuf-protoc-bin = "27.3"

How to develop

The following concerns only contributors to this package.

Adding a release

Each protobuf-protoc-bin release must correspond one-to-one to a Protobuf release.

To trigger a new release, simply push a new tag to the tip of the main branch that matches the protobuf release, including the leading 'v'. An example of a valid tag is v27.3.

This means multiple package releases are made from the same commit. However, the reference that triggers the CI build will affect the version assigned by setuptools_scm and therefor the protobuf release that's being packaged.

CI

A nightly workflow runs a script that looks for new Protoc releases and copies the tags into here, at the tip of the main branch. So future releases should show up fully automatically.

Platform Tags

Relevant for a binary wheel release is the platform tag, to indicate to a client which wheel should be downloaded. Separate from that is downloading the correct archive from the protoc release page. Below is a table showing known examples and their correct values. In setup.py there is logic to determine these values dynamically.

Ubuntu (arm64) Ubuntu (x64) Windows (x64) MacOS (x64)
Github runner ubuntu-24.04-arm ubuntu-latest windows-latest macos-latest
sysconfig.get_platform() linux-aarch64 linux-x86_64 win-amd64 macosx-10.13-universal2
platform.system() Linux Linux Windows Darwin
platform.architecture() ('64bit', 'ELF') ('64bit', 'ELF') ('64bit', 'WindowsPE') ('64bit', '')
Wheel platform tag manylinux_2_24_aarch64 manylinux_2_24_x86_64 win_amd64 macosx_10_13_universal2
Protoc archive name protoc-vvv-linux-aarch_64.zip protoc-vvv-linux-x86_64.zip protoc-vvv-win64.zip protoc-vvv-osx-x86_64.zip

Testing

You can locally override the version that setuptools-scm detects by writing the environment variable SETUPTOOLS_SCM_PRETEND_VERSION. This way you can easily mimic specific releases.

Metadata

Release files for protobuf-protoc-bin 37.0rc3

For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.

Source distribution (sdist)

Source distribution for protobuf-protoc-bin 37.0rc3
File Size Uploaded Provenance Actions
protobuf_protoc_bin-37.0rc3.tar.gz 11.2 kB Without provenance Details for protobuf_protoc_bin-37.0rc3.tar.gz

Built distributions (wheels)

Table of built distributions (wheels) for protobuf-protoc-bin 37.0rc3
File Actions
protobuf_protoc_bin-37.0rc3-py2.py3-none-win_arm64.whl Python 2, Python 3 none Windows ARM64 Details for protobuf_protoc_bin-37.0rc3-py2.py3-none-win_arm64.whl
protobuf_protoc_bin-37.0rc3-py2.py3-none-win_amd64.whl Python 3, Python 2 none Windows x86-64 Details for protobuf_protoc_bin-37.0rc3-py2.py3-none-win_amd64.whl
protobuf_protoc_bin-37.0rc3-py2.py3-none-manylinux_2_24_x86_64.whl Python 2, Python 3 none Linux glibc 2.24+ x86-64 Details for protobuf_protoc_bin-37.0rc3-py2.py3-none-manylinux_2_24_x86_64.whl
protobuf_protoc_bin-37.0rc3-py2.py3-none-manylinux_2_24_aarch64.whl Python 3, Python 2 none Linux glibc 2.24+ ARM64 Details for protobuf_protoc_bin-37.0rc3-py2.py3-none-manylinux_2_24_aarch64.whl
protobuf_protoc_bin-37.0rc3-py2.py3-none-macosx_10_13_universal2.whl Python 2, Python 3 none macOS 10.13+ universal2 (ARM64, x86-64) Details for protobuf_protoc_bin-37.0rc3-py2.py3-none-macosx_10_13_universal2.whl

Total release size: 17.9 MB

Release files / protobuf_protoc_bin-37.0rc3.tar.gz

Download URL protobuf_protoc_bin-37.0rc3.tar.gz
Size 11.2 kB
Tags Source
SHA-256 checksum
How to use checksums
cbd8a87580fd4537d72225c491e85c5672515ae878ee37d478f73e494f5aa9cd
BLAKE2b-256 checksum
How to use checksums
60a32121312d8c305e3ec1bc49632198bb12de69acbc0557770b0b757bdc2a15
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/7.0.0 CPython/3.13.16

Release files / protobuf_protoc_bin-37.0rc3-py2.py3-none-win_arm64.whl

Download URL protobuf_protoc_bin-37.0rc3-py2.py3-none-win_arm64.whl
Size 3.7 MB
Tags Python 2 Python 3 Windows ARM64
SHA-256 checksum
How to use checksums
599ac29880362762eaefa76e66e4c5888e75e4f2822607749a1e5c0a00ea3475
BLAKE2b-256 checksum
How to use checksums
df6da9987dd9ac182743d688727d89e0241f43bba8f64097f9dff5ea048ef57c
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/7.0.0 CPython/3.13.16

Release files / protobuf_protoc_bin-37.0rc3-py2.py3-none-win_amd64.whl

Download URL protobuf_protoc_bin-37.0rc3-py2.py3-none-win_amd64.whl
Size 3.7 MB
Tags Python 2 Python 3 Windows x86-64
SHA-256 checksum
How to use checksums
672a8de15da114b91d1c01f483a17af3c72e01a4b9dac056fc828af1960f9819
BLAKE2b-256 checksum
How to use checksums
e2fda9f352f28c2e3f26520209c20dbfe7b5e47c123c562c02a4ebdb2fcc131c
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/7.0.0 CPython/3.13.16

Release files / protobuf_protoc_bin-37.0rc3-py2.py3-none-manylinux_2_24_x86_64.whl

Download URL protobuf_protoc_bin-37.0rc3-py2.py3-none-manylinux_2_24_x86_64.whl
Size 3.8 MB
Tags Linux glibc 2.24+ x86-64 Python 2 Python 3
SHA-256 checksum
How to use checksums
f200a622df356c1fba505cf9933e25a3237ea83b9485aa7e0664ed04087d5b19
BLAKE2b-256 checksum
How to use checksums
32df00bd20bd0e6cae71376d9f6b336370b9c07a094828a0fbb7ec1887ffcd14
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/7.0.0 CPython/3.13.16

Release files / protobuf_protoc_bin-37.0rc3-py2.py3-none-manylinux_2_24_aarch64.whl

Download URL protobuf_protoc_bin-37.0rc3-py2.py3-none-manylinux_2_24_aarch64.whl
Size 3.8 MB
Tags Linux glibc 2.24+ ARM64 Python 2 Python 3
SHA-256 checksum
How to use checksums
fad36ca3f7df3c3a745594fcec10534ec46b0d877074eb11ceca9d841fab570e
BLAKE2b-256 checksum
How to use checksums
1ad10b95b9099b86662d62613adeb17751352abdf6a5f68332e30ba5be8d2e65
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/7.0.0 CPython/3.13.16

Release files / protobuf_protoc_bin-37.0rc3-py2.py3-none-macosx_10_13_universal2.whl

Download URL protobuf_protoc_bin-37.0rc3-py2.py3-none-macosx_10_13_universal2.whl
Size 2.9 MB
Tags Python 2 Python 3 macOS 10.13+ universal2 (ARM64, x86-64)
SHA-256 checksum
How to use checksums
166455eb5840d72a54310cae5ea51a9fde7825c3cb11f308ab257c392cec2c99
BLAKE2b-256 checksum
How to use checksums
32f3a99714499aea93879b541346248f6db994ed1982828e84e6a459b4e7c724
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/7.0.0 CPython/3.13.16

Security for protobuf-protoc-bin 37.0rc3

Provenance

Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.

No provenance found

None of the files in this release were uploaded with provenance metadata.

A note on package security

PyPI is a repository for distributing packages, not a service for auditing them. While third-party security researchers and our staff do their best to detect and remove malicious packages, PyPI cannot guarantee the quality, security or suitability of any given package.

To learn more about protecting yourself from malicious actors, visit our package security documentation.

Release history Release notifications | RSS feed

This release
Anthropic, PBC Visionary sponsor Bloomberg Visionary sponsor Hudson River Trading Visionary sponsor Meta Visionary sponsor NVIDIA Visionary sponsor Microsoft Sustainability sponsor Depot Continuous Integration AWS Cloud computing and Security Sponsor Datadog Monitoring Fastly CDN Google Download Analytics Sentry Error logging StatusPage Status page