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

Uploaded Source

Built Distribution

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

Uploaded Python 3

File details

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

File metadata

  • Download URL: protobuf-uml-diagram-0.7.tar.gz
  • Upload date:
  • Size: 8.0 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/3.2.0 pkginfo/1.5.0.1 requests/2.24.0 setuptools/50.3.0 requests-toolbelt/0.9.1 tqdm/4.50.0 CPython/3.8.3

File hashes

Hashes for protobuf-uml-diagram-0.7.tar.gz
Algorithm Hash digest
SHA256 37631ebfa9eb5da5c84b0a5763eedfe31a1df07da36a425e0dfefe686a34f193
MD5 b6870e6b4be9a1b7bf0472201e5e9d95
BLAKE2b-256 056aeda93e475dce0b33f751cf7236cdafa7a408547425017dd940270cd3f070

See more details on using hashes here.

File details

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

File metadata

  • Download URL: protobuf_uml_diagram-0.7-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/50.3.0 requests-toolbelt/0.9.1 tqdm/4.50.0 CPython/3.8.3

File hashes

Hashes for protobuf_uml_diagram-0.7-py3-none-any.whl
Algorithm Hash digest
SHA256 fce2eb8d36ef678d6967cb6a77a17e4926bfaa53cbbd531a1ee4622ddb4e910e
MD5 6e8974ec3deec2286c90830208f30b8e
BLAKE2b-256 aac580f12913c62761f94b6099494685c443a1bde91199d32de045755eaf5819

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