Skip to main content

protobuf3

Info:

Protocol buffers library for Python 3

Author:

Sergey Petrov (Pr0Ger) <me@pr0ger.org>

Cool badges:

Version Downloads Build status

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

Release files for protobuf3 0.2.0

For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.

Source distribution (sdist)

Source distribution for protobuf3 0.2.0
File Size Uploaded
protobuf3-0.2.0.tar.gz 9.8 kB Details

Release files / protobuf3-0.2.0.tar.gz

Download URL protobuf3-0.2.0.tar.gz
Size 9.8 kB
Tags Source
SHA-256 checksum
How to use checksums
8812b7f27804594be6f5a3a7176d1941f2ba28eb50aef09673284786f567ba1f
BLAKE2b-256 checksum
How to use checksums
f70e7313b7d72c124a560e6805c3d2b47c2d819767f5441f6303a86ceb5ace62
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No

Release history Release notifications | RSS feed

0.2.1

1 release file

This release

0.2.0 This release

1 release file

0.1

1 release file

Anthropic, PBC Visionary sponsor Bloomberg Visionary sponsor Hudson River Trading Visionary sponsor Meta Visionary sponsor NVIDIA Visionary sponsor Microsoft Sustainability sponsor Depot Continuous Integration AWS Cloud computing and Security Sponsor Datadog Monitoring Fastly CDN Google Download Analytics Sentry Error logging StatusPage Status page