This project demonstrates how to use Protocol Buffers (protobuf) in a Python project.
Protocol Buffers (protobuf) is a method developed by Google for serializing structured data. It is useful in developing programs to communicate with each other over a network or for storing data.
Clone the repository:
git clone https://github.com/wiltfm/python-protobuf-demo.git
cd python-protobuf-demoInstall the required dependencies:
make installInstall protobuf:
brew install protobufTo compile the .proto file:
protoc --python_out=. olympics.protoTo run:
make run