Skip to content

matdoering/python-proto

master
Switch branches/tags

Name already in use

A tag already exists with the provided branch name. Many Git commands accept both tag and branch names, so creating this branch may cause unexpected behavior. Are you sure you want to create this branch?
Code

Latest commit

 

Git stats

Files

Permalink
Failed to load latest commit information.
Type
Name
Latest commit message
Commit time
 
 
src
 
 
 
 
 
 

python-proto

This repo offers boilerplate code for using Protobuf in a Python project. A requirement is that protoc is available.

For more information, see the corresponding blog post.

How to use?

  • To compile the proto files, execute
pip install -e ./

This will generate the *_pb2.py files under src/generated.

  • To generate Protobuf messages, execute
python src/main.py

The corresponding files will be generated in the proto_dump folder.

About

Boilerplate for Using Protobuf with Python

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published