Skip to main content

Protocol buffers library for Python 3

Project description


Info:Protocol buffers library for Python 3
Author:Sergey Petrov (Pr0Ger) <>
Cool badges:Version Downloads Build status


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.


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


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.


The easiest way to run the tests is to install nose (easy_install nose) and run nosetests or python 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

Project details

Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Filename, size & hash SHA256 hash help File type Python version Upload date
protobuf3-0.2.1.tar.gz (10.8 kB) Copy SHA256 hash SHA256 Source None

Supported by

Elastic Elastic Search Pingdom Pingdom Monitoring Google Google BigQuery Sentry Sentry Error logging AWS AWS Cloud computing DataDog DataDog Monitoring Fastly Fastly CDN SignalFx SignalFx Supporter DigiCert DigiCert EV certificate StatusPage StatusPage Status page