Skip to main content

Pip package to host the protobuf protoc binary

Project description

Protobuf Protoc Bin

PyPI - Version Auto monitoring of protobuf Build status

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.

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.

Project details


Release history Release notifications | RSS feed

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-33.0rc1.tar.gz (8.6 kB view details)

Uploaded Source

Built Distributions

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

protobuf_protoc_bin-33.0rc1-py2.py3-none-win_amd64.whl (3.4 MB view details)

Uploaded Python 2Python 3Windows x86-64

protobuf_protoc_bin-33.0rc1-py2.py3-none-manylinux_2_24_x86_64.whl (3.6 MB view details)

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

protobuf_protoc_bin-33.0rc1-py2.py3-none-macosx_10_13_universal2.whl (2.7 MB view details)

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

File details

Details for the file protobuf_protoc_bin-33.0rc1.tar.gz.

File metadata

  • Download URL: protobuf_protoc_bin-33.0rc1.tar.gz
  • Upload date:
  • Size: 8.6 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/6.1.0 CPython/3.13.7

File hashes

Hashes for protobuf_protoc_bin-33.0rc1.tar.gz
Algorithm Hash digest
SHA256 a9b8bda708425df8f3ce939711ff3059d526be0f4a6697d2659bcd3f75ec862c
MD5 abd13d28d0468559f28b0efa68a544cc
BLAKE2b-256 132002dfb8baf1cd0678df01b4561a85f8b25f0e05e33a725f84b1936a20597c

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for protobuf_protoc_bin-33.0rc1-py2.py3-none-win_amd64.whl
Algorithm Hash digest
SHA256 7bbcc3e71e6c2907ae4ab18da3a65cf37df7b44a31748f29ebfff7fe6575ca46
MD5 4a8c18b7e1899cd6dfd1ea31432d690e
BLAKE2b-256 89fb7c6699f899337664b08b50fddae2949587edd534195c9c503274533a920f

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for protobuf_protoc_bin-33.0rc1-py2.py3-none-manylinux_2_24_x86_64.whl
Algorithm Hash digest
SHA256 ace7bb46287168bcd70dbf94d2a2dd88c784351ea6a1e4a8b07caa071b738fca
MD5 2f27be300ae47662f8da0850d854a194
BLAKE2b-256 80561cbba672ed6fbfc545c7c5c3dfbe554b118fa67722f1b317e83c203302ab

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for protobuf_protoc_bin-33.0rc1-py2.py3-none-macosx_10_13_universal2.whl
Algorithm Hash digest
SHA256 51e184b4358771e358c90ae52edee159614c217e912914c7d84e6f7e7ef305a2
MD5 aa71d7d64d897517d9419153bf5644f6
BLAKE2b-256 534500f69a6cb177f488d714e44f011bae6e4e09c7737e37611a478255b108a2

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