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
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
Built Distributions
File details
Details for the file protobuf_protoc_bin-27.0rc1.tar.gz
.
File metadata
- Download URL: protobuf_protoc_bin-27.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
Algorithm | Hash digest | |
---|---|---|
SHA256 | ceba7b678934473d5de5fb28fac09e10e3f584f13c05ebf02d414e0baa68138e |
|
MD5 | 16266a4f8d63f89a8aa668fce7886b1f |
|
BLAKE2b-256 | 88304035a1b99a3e48b8ee1fb1470b969ce70f394cd6005ec468e8f4389e051f |
File details
Details for the file protobuf_protoc_bin-27.0rc1-py2.py3-none-win_amd64.whl
.
File metadata
- Download URL: protobuf_protoc_bin-27.0rc1-py2.py3-none-win_amd64.whl
- Upload date:
- Size: 3.2 MB
- Tags: Python 2, Python 3, Windows x86-64
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/5.1.1 CPython/3.12.7
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | 96f2c7ba4744e75957be32ce209567e4baecbd98d866ab1a3eb3a60c3d860487 |
|
MD5 | 51eb146d0c4e376161c749cc9f791db2 |
|
BLAKE2b-256 | da775cf5a597c0f0976717c1af36d34c91226c5355f4f2aea9f9953ea6cb9f5f |
File details
Details for the file protobuf_protoc_bin-27.0rc1-py2.py3-none-manylinux_2_24_x86_64.whl
.
File metadata
- Download URL: protobuf_protoc_bin-27.0rc1-py2.py3-none-manylinux_2_24_x86_64.whl
- Upload date:
- Size: 3.2 MB
- Tags: Python 2, Python 3, manylinux: glibc 2.24+ x86-64
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/5.1.1 CPython/3.12.7
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | 497ae5d386599946f038bb6efecb96840e8732dc85096c8b203cedd3ba9aeb21 |
|
MD5 | 49907dc7b29c1dfa60e2c36df79ac17e |
|
BLAKE2b-256 | af8b616fc806296f7dca6776dd0aaed372c4543759951be0f72d70b60c70f759 |
File details
Details for the file protobuf_protoc_bin-27.0rc1-py2.py3-none-macosx_10_13_universal2.whl
.
File metadata
- Download URL: protobuf_protoc_bin-27.0rc1-py2.py3-none-macosx_10_13_universal2.whl
- Upload date:
- Size: 2.3 MB
- Tags: Python 2, Python 3, macOS 10.13+ universal2 (ARM64, x86-64)
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/5.1.1 CPython/3.12.7
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | 3b45a936d6bac4aca7869b5fd2bd40295be019209f4747f90816464f12d5b661 |
|
MD5 | c75199509d7938710388f58427fbbe21 |
|
BLAKE2b-256 | 2cb6989ebcb53025c89bd46332ac4f6378d8732d5ee2e4c9e189222a56e89214 |