Skip to main content

Create UML diagrams from Protobuf proto files

Project description

PyPI License CI codecov

ko-fi

Protobuf UML diagram

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

Usage:

$ 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

Installation

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

Development

$ git clone https://github.com/kinow/protobuf-uml-diagram.git
$ cd protobuf-uml-diagram
$ pip install -e .
$ protobuf-uml-diagram

Docker

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

./dockerbuild.sh
./dockerrun.sh <path_containing_proto_files> <output_path>

License

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.

Source Distribution

protobuf-uml-diagram-0.8.tar.gz (8.3 kB view details)

Uploaded Source

Built Distribution

protobuf_uml_diagram-0.8-py3-none-any.whl (8.7 kB view details)

Uploaded Python 3

File details

Details for the file protobuf-uml-diagram-0.8.tar.gz.

File metadata

  • Download URL: protobuf-uml-diagram-0.8.tar.gz
  • Upload date:
  • Size: 8.3 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/3.4.2 importlib_metadata/4.8.1 pkginfo/1.7.1 requests/2.26.0 requests-toolbelt/0.9.1 tqdm/4.62.3 CPython/3.8.3

File hashes

Hashes for protobuf-uml-diagram-0.8.tar.gz
Algorithm Hash digest
SHA256 b2295b5e89ebe14e7871bae0ddfdf73bba959ad791fc518e2530a35454cc325f
MD5 e3b8663be0417957d70d9726a3f8b24f
BLAKE2b-256 58426bc6648fbfb1afd01013befc65bfa46e472e19119e9d0bcbc4c45416f0af

See more details on using hashes here.

File details

Details for the file protobuf_uml_diagram-0.8-py3-none-any.whl.

File metadata

  • Download URL: protobuf_uml_diagram-0.8-py3-none-any.whl
  • Upload date:
  • Size: 8.7 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/3.4.2 importlib_metadata/4.8.1 pkginfo/1.7.1 requests/2.26.0 requests-toolbelt/0.9.1 tqdm/4.62.3 CPython/3.8.3

File hashes

Hashes for protobuf_uml_diagram-0.8-py3-none-any.whl
Algorithm Hash digest
SHA256 cab605bb5c168be5ebfae890b9d6f87d5632a19f850c2d586b2b8039a77b8029
MD5 e01c2baa4c66cf1e04bf0379489d86ee
BLAKE2b-256 eae6f94494fa3a2934b0eb8e8e4a242b0b237ae48f15c8e4d6557c971630bb66

See more details on using hashes here.

Supported by

AWS AWS Cloud computing and Security Sponsor Datadog Datadog Monitoring Fastly Fastly CDN Google Google Download Analytics Microsoft Microsoft PSF Sponsor Pingdom Pingdom Monitoring Sentry Sentry Error logging StatusPage StatusPage Status page