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

Uploaded Source

Built Distribution

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

Uploaded Python 3

File details

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

File metadata

  • Download URL: protobuf-uml-diagram-0.5.tar.gz
  • Upload date:
  • Size: 7.8 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/2.0.0 pkginfo/1.5.0.1 requests/2.22.0 setuptools/41.0.1 requests-toolbelt/0.9.1 tqdm/4.36.1 CPython/3.7.3

File hashes

Hashes for protobuf-uml-diagram-0.5.tar.gz
Algorithm Hash digest
SHA256 411eaa0adb36a88c09d2e3913b78dc56fc50fc6d6f5ef499e2631422597511ab
MD5 cbbb5c4472d18159dba64a82856cdd91
BLAKE2b-256 cc3bc894cae00e0980e682e951d3acbbf5ec195f2257ee5fad7e1f6c89042ec6

See more details on using hashes here.

File details

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

File metadata

  • Download URL: protobuf_uml_diagram-0.5-py3-none-any.whl
  • Upload date:
  • Size: 8.5 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/2.0.0 pkginfo/1.5.0.1 requests/2.22.0 setuptools/41.0.1 requests-toolbelt/0.9.1 tqdm/4.36.1 CPython/3.7.3

File hashes

Hashes for protobuf_uml_diagram-0.5-py3-none-any.whl
Algorithm Hash digest
SHA256 ee12f94965b1000d9ec5b27a29bde5844af429af3f7d4ea6d95b8b02b4c4aa35
MD5 b103c5146b38865b803218cd4f964164
BLAKE2b-256 99c524b548b5b56eda6af4257d298ef7b8ac1d42d3e12a52489e2387017d5839

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