Skip to main content

Create UML diagrams from Protobuf proto files

Project description

PyPI License Build Status codecov

Protobuf UML diagram

A tool to generate UML diagrams from Protobuf compiled .proto files.


$ protobuf-uml-diagram --proto "cylc.flow.ws_messages_pb2" --output /tmp/

Logging output:

INFO:__main__:Importing compiled proto cylc.flow.ws_messages_pb2
INFO:__main__:Writing PNG diagram to /tmp/ws_messages_pb2.png

Image output:

example output


$ pip install protobuf-uml-diagram
$ protobuf-uml-diagram


$ git clone
$ cd protobuf-uml-diagram
$ pip install -e .
$ protobuf-uml-diagram


Generate UML diagrams from all (not compiled) .proto files in a directory:

./ <path_containing_proto_files> <output_path>


Apache License

Project details

Download files

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

Files for protobuf-uml-diagram, version 0.7
Filename, size File type Python version Upload date Hashes
Filename, size protobuf_uml_diagram-0.7-py3-none-any.whl (8.5 kB) File type Wheel Python version py3 Upload date Hashes View
Filename, size protobuf-uml-diagram-0.7.tar.gz (8.0 kB) File type Source Python version None Upload date Hashes View

Supported by

Pingdom Pingdom Monitoring Google Google Object Storage and Download Analytics Sentry Sentry Error logging AWS AWS Cloud computing DataDog DataDog Monitoring Fastly Fastly CDN DigiCert DigiCert EV certificate StatusPage StatusPage Status page