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.1.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.1-py2.py3-none-win_amd64.whl (3.4 MB view details)

Uploaded Python 2Python 3Windows x86-64

protobuf_protoc_bin-33.1-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.1-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.1.tar.gz.

File metadata

  • Download URL: protobuf_protoc_bin-33.1.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.1.tar.gz
Algorithm Hash digest
SHA256 093999622fbc0275847e3ff8e1b726cfab41d9fe23e336ac52121802e5aa25d9
MD5 9fd15d570b1c29b84132367b68c07b97
BLAKE2b-256 7ae281a602021f3639a31328986a455c237a55a63e211378e826f4ff023e02c9

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for protobuf_protoc_bin-33.1-py2.py3-none-win_amd64.whl
Algorithm Hash digest
SHA256 e5063dfc8d03dcca3a609d6fdde6976623d2eb45b893567b38741a9ff3f88063
MD5 5e78e281ba80b6b091bf3ee14cd84c64
BLAKE2b-256 bdfc66cead5b3544706e91bcb75a7a05401672e92e1233bda7e94800a04e7265

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for protobuf_protoc_bin-33.1-py2.py3-none-manylinux_2_24_x86_64.whl
Algorithm Hash digest
SHA256 54a6db0eedf7868c65bb1ac8cdc306ce34f49a3baf2218a5bf2729aab5adafac
MD5 a662d3e4b7cf5e7dbacc6df49f2cd15f
BLAKE2b-256 718feeaece04d2feda7594659ffdc074c976dfe092072ee6aed880f84793fc19

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for protobuf_protoc_bin-33.1-py2.py3-none-macosx_10_13_universal2.whl
Algorithm Hash digest
SHA256 7433a8923eb2e36ab28f1832a65b16414f4ec92bcc99c5a035ce21e9867cc2dd
MD5 2304d5cd3e9329a910e9038cf60dd26f
BLAKE2b-256 6ba1a06a7820e852011f42bce133b6cba488ff7e7b56bc7a65c4944aee5c772c

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