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.

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.6.tar.gz (7.8 kB view details)

Uploaded Source

Built Distribution

protobuf_uml_diagram-0.6-py3-none-any.whl (8.5 kB view details)

Uploaded Python 3

File details

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

File metadata

  • Download URL: protobuf-uml-diagram-0.6.tar.gz
  • Upload date:
  • Size: 7.8 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/3.2.0 pkginfo/1.5.0.1 requests/2.24.0 setuptools/41.2.0 requests-toolbelt/0.9.1 tqdm/4.48.0 CPython/3.7.7

File hashes

Hashes for protobuf-uml-diagram-0.6.tar.gz
Algorithm Hash digest
SHA256 77dfc20bbc47eb7c66b3e2e9a4db41c2f2c312c8443d5c483b83d7967692a060
MD5 60f688db03ed5d830cb0c3ae161622f8
BLAKE2b-256 f75c9c5a30fa793b124b9f0f293140cbca7fbd03ab8fc9c027a0281f5cb2fbaa

See more details on using hashes here.

File details

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

File metadata

  • Download URL: protobuf_uml_diagram-0.6-py3-none-any.whl
  • Upload date:
  • Size: 8.5 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/3.2.0 pkginfo/1.5.0.1 requests/2.24.0 setuptools/41.2.0 requests-toolbelt/0.9.1 tqdm/4.48.0 CPython/3.7.7

File hashes

Hashes for protobuf_uml_diagram-0.6-py3-none-any.whl
Algorithm Hash digest
SHA256 b6ae28325c88a87da77c27c3f7699cf86f96931e67f4fa474f94e79a71afaa6f
MD5 599b59582b6e684b35d797f56a4125e9
BLAKE2b-256 77779be03dc64a7b61197f8e61821fe8ddbb67fe5a8b291144479e9650241a61

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