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.

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


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

Uploaded Source

Built Distributions

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

Uploaded Python 2 Python 3 Windows x86-64

protobuf_protoc_bin-26.0rc1-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-26.0rc1-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-26.0rc1.tar.gz.

File metadata

  • Download URL: protobuf_protoc_bin-26.0rc1.tar.gz
  • Upload date:
  • Size: 8.4 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-26.0rc1.tar.gz
Algorithm Hash digest
SHA256 432b4a06d045fb705ffdd628ef3ddcd35d003c970e006dbbf2d5e0ad8de8b578
MD5 c6f9f0f2ee1a3ad4f80b8f736eee7e90
BLAKE2b-256 2b7b056c032d27b1498005155ae5dfc226c91b1126865b0e194824c48dfab01f

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for protobuf_protoc_bin-26.0rc1-py2.py3-none-win_amd64.whl
Algorithm Hash digest
SHA256 3d4db50eef68baa69f0c750bb3e6d258ddfd0f7ebc36eb752290b798bc4d25ea
MD5 5149fc4ef1f3be19d53226c21b93901e
BLAKE2b-256 3a44f4aaf42bcab8c2942cec471bb31624ee5da8ffbeda7291a672aaa508a300

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for protobuf_protoc_bin-26.0rc1-py2.py3-none-manylinux_2_24_x86_64.whl
Algorithm Hash digest
SHA256 000ef63fe7bfb8466a05245cdfe7b76d0d3376311148e2dddc979d7f388cfcba
MD5 012b708075d079e8c33508b9748d218d
BLAKE2b-256 ed6abb2f270709de6bfd828e4f323a67c8b3dc965e1186df7b0ac5a9301c3564

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for protobuf_protoc_bin-26.0rc1-py2.py3-none-macosx_10_13_universal2.whl
Algorithm Hash digest
SHA256 0016f68db67c467a63624ed8d21a3a87ba374205bfe56919d6b92b5615751862
MD5 1552d98b64d877a92dadffc012dd668f
BLAKE2b-256 c89b47d9d9196241e4cf88b272dd5669fc50cd86e9c1b4b3b14f06b8849e7264

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