Skip to content

matdoering/python-proto

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

6 Commits
 
 
 
 
 
 
 
 

Repository files navigation

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