protobuf3
- Info:
Protocol buffers library for Python 3
- Author:
Sergey Petrov (Pr0Ger) <me@pr0ger.org>
- Cool badges:
Overview
Initial idea of this project was lack of support Python 3 in original Protocol buffers implementation. Currently Google working on this, but currently there is no easy way to use it with Python 3.
Usage
You should install protobuf compiler. On OS X you can do it with command
brew install protobuf
Install this library with
pip install protobuf3
Then you can generate files in similar way like in original protobuf:
protoc --python3_out=gen foo.proto
Bugs/roadmap
I use YouTrack for my projects, so this is a place where you can find issues related to this project. Unfortunately, free YouTrack instance has accounts limit, so I can’t open registration on it.
Testing
The easiest way to run the tests is to install nose (easy_install nose) and run nosetests or python setup.py test in the root of the distribution. Tests are located in the test/ directory.
But good way is using tox for launching tests for all supported python versions. If you too lazy for installing required Python versions you can use Vagrant for bootstraping test environment by launching vagrant up in the root of this distribution. Then login to created VM by using vagrant ssh. Finally, run tests by launching cd protobuf3 && tox
Metadata
Release files for protobuf3 0.2.1
For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.
Source distribution (sdist)
| File | Size | Uploaded | Provenance | |
|---|---|---|---|---|
| protobuf3-0.2.1.tar.gz | 10.8 kB | Without provenance | Details |
Release files / protobuf3-0.2.1.tar.gz
| Download URL | protobuf3-0.2.1.tar.gz |
|---|---|
| Size | 10.8 kB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
ddd878b3f991beff566ab384d3588cf8e89758e3a16a78f4099dbe70de3c41a2
|
|
BLAKE2b-256 checksum How to use checksums |
6d26955c07e16200d20de70b1e17b246e0574a517b76d6e6393d8ef7ce4f38cd
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
Security for protobuf3 0.2.1
Provenance
Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.
No provenance found
None of the files in this release were uploaded with provenance metadata.
A note on package security
PyPI is a repository for distributing packages, not a service for auditing them. While third-party security researchers and our staff do their best to detect and remove malicious packages, PyPI cannot guarantee the quality, security or suitability of any given package.