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

Uploaded Source

Built Distribution

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

Uploaded Python 3

File details

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

File metadata

  • Download URL: protobuf-uml-diagram-0.4.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.4.tar.gz
Algorithm Hash digest
SHA256 5a84045c4c4da64d4a63fa75f406ef80283a6726c3c9d52354edf8f42540247b
MD5 adc179eeef7185e09d6a983e8389ede6
BLAKE2b-256 47d72e9f7c039e551dd4ee20b6b4ecb25ef2a29d8fed01cf0e357e89d2e6735c

See more details on using hashes here.

File details

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

File metadata

  • Download URL: protobuf_uml_diagram-0.4-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.4-py3-none-any.whl
Algorithm Hash digest
SHA256 e5f7a8ecba483a8975f644361a1c15c33bd35885c4bfe88be9e7f42edd5946e5
MD5 c6083817f03e38c66de44700043dd19c
BLAKE2b-256 363f1a1ee7a451cb8540431c72ca13768d0fa7b5a4e359d459e19d09d5066a0f

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