Skip to main content

Pip package to host the protobuf protoc binary

Project description

Protobuf Protoc Bin

This Python package is an installer for protobuf's protoc compiler.

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 source installation.

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.)

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.

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

protobuf_protoc_bin-27.4.tar.gz (8.1 kB view details)

Uploaded Source

Built Distributions

protobuf_protoc_bin-27.4-py2.py3-none-win_amd64.whl (3.2 MB view details)

Uploaded Python 2 Python 3 Windows x86-64

protobuf_protoc_bin-27.4-py2.py3-none-manylinux_2_24_x86_64.whl (3.2 MB view details)

Uploaded Python 2 Python 3 manylinux: glibc 2.24+ x86-64

protobuf_protoc_bin-27.4-py2.py3-none-macosx_10_13_universal2.whl (2.3 MB view details)

Uploaded Python 2 Python 3 macOS 10.13+ universal2 (ARM64, x86-64)

File details

Details for the file protobuf_protoc_bin-27.4.tar.gz.

File metadata

  • Download URL: protobuf_protoc_bin-27.4.tar.gz
  • Upload date:
  • Size: 8.1 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/5.1.1 CPython/3.12.7

File hashes

Hashes for protobuf_protoc_bin-27.4.tar.gz
Algorithm Hash digest
SHA256 cc62943b03a858436592ec3dba028f7f5aebd394f89460ec4cccd5432efde9de
MD5 11df12296c92e0245633810b1bd70c24
BLAKE2b-256 95dcd88ed5b3a7e5d11ea646ecdb185f69a122fe043f0901ef03d4866b003bdf

See more details on using hashes here.

File details

Details for the file protobuf_protoc_bin-27.4-py2.py3-none-win_amd64.whl.

File metadata

File hashes

Hashes for protobuf_protoc_bin-27.4-py2.py3-none-win_amd64.whl
Algorithm Hash digest
SHA256 57894a4176e131ae0ec05dab7dfd47a12b19309cce91a3ce7ee1f799ce82fbc7
MD5 c31bbdbf33d7afed4e1f383b01e22514
BLAKE2b-256 521c3bdb31507a963842e9923b28d765e5a41fce00afac339a811e63d0d71d9a

See more details on using hashes here.

File details

Details for the file protobuf_protoc_bin-27.4-py2.py3-none-manylinux_2_24_x86_64.whl.

File metadata

File hashes

Hashes for protobuf_protoc_bin-27.4-py2.py3-none-manylinux_2_24_x86_64.whl
Algorithm Hash digest
SHA256 cf09e89e764d22e214b6a89cbdaa5909dd58574e9ed713c5d6c85a315d34d1dd
MD5 4806e0c025188879083722c53f393538
BLAKE2b-256 9b68105a25228b1c0073ddb234ba415d828d2306e0b70300176422031ae4cd14

See more details on using hashes here.

File details

Details for the file protobuf_protoc_bin-27.4-py2.py3-none-macosx_10_13_universal2.whl.

File metadata

File hashes

Hashes for protobuf_protoc_bin-27.4-py2.py3-none-macosx_10_13_universal2.whl
Algorithm Hash digest
SHA256 9ec232c98924f90bae5dd0487a925718a923cf23c3db16a177b979a2e7291777
MD5 c54620aed1eeacf183b0dc597c53f0a1
BLAKE2b-256 17ae984071d3d2f74581cf02ec7d6540958f3f7f509567aae392b93b16269432

See more details on using hashes here.

Supported by

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