Skip to main content

Simple animation of PlantUML diagrams

Project description

PlantUML Animation

PyPI PyPI - Python Version PyPI - License

Simple animation for PlantUML diagrams.


Documentation: https://namuan.github.io/animate-puml

Source Code: https://github.com/namuan/animate-puml

PyPI: https://pypi.org/project/animate-puml/


Pre-requisites

Installation

pip install animate-puml

How it works

Sample PlantUML Document

@startuml

' scale 1000 width

!$disabled = "<color:lightgray><size:14>"

rectangle "<size:20>Client" as Client #LightCyan
rectangle "AUTH" as Auth
rectangle "API_GATEWAY" as APIG

rectangle GCP #LightCyan {
    node "ServiceA" as ServiceA
    node "ServiceB" as ServiceB
    node "ServiceC" as ServiceC
    queue "Kafka" as Queue
}

' start
Client -right[#lightgray]-> Auth : $disabled Get Token
Client -right[#lightgray]-> APIG : $disabled Pass token
APIG -up[#lightgray]-> Auth : $disabled Validate token
APIG -right[#lightgray]-> ServiceA : $disabled Pass token
ServiceA -up[#lightgray]-> Auth : $disabled Validate token
ServiceA -right[#lightgray]-> ServiceB : $disabled Pass token
ServiceB -up[#lightgray]-> Auth : $disabled Validate token
ServiceA -down[#lightgray]-> Queue : $disabled Pass token
Queue -down[#lightgray]-> ServiceC : $disabled Pass token
ServiceC -up[#lightgray]-> Auth : $disabled Validate token
' end

@enduml

Acknowledgements

Development

  • Clone this repository

  • Requirements:

  • Create a virtual environment and install the dependencies

poetry install
  • Activate the virtual environment
poetry shell

Validating build

make build

Release process

A release is automatically published when a new version is bumped using make bump. See .github/workflows/build.yml for more details. Once the release is published, .github/workflows/publish.yml will automatically publish it to PyPI.

Disclaimer

This project is not affiliated with PlantUML.

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

animate_puml-0.3.0.tar.gz (5.2 kB view details)

Uploaded Source

Built Distribution

animate_puml-0.3.0-py3-none-any.whl (4.9 kB view details)

Uploaded Python 3

File details

Details for the file animate_puml-0.3.0.tar.gz.

File metadata

  • Download URL: animate_puml-0.3.0.tar.gz
  • Upload date:
  • Size: 5.2 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: poetry/1.3.2 CPython/3.9.16 Linux/5.15.0-1033-azure

File hashes

Hashes for animate_puml-0.3.0.tar.gz
Algorithm Hash digest
SHA256 9a63ead0aee2ae9e8ba817868e132defec77e4a31782880008629877d706ea0e
MD5 8a18f1532c3461f97d7815cdff44e1ee
BLAKE2b-256 a42dc1c4cc62e60f3ce42216f891e2adbb10ca7157b2fef1900dc2e2f9662850

See more details on using hashes here.

File details

Details for the file animate_puml-0.3.0-py3-none-any.whl.

File metadata

  • Download URL: animate_puml-0.3.0-py3-none-any.whl
  • Upload date:
  • Size: 4.9 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: poetry/1.3.2 CPython/3.9.16 Linux/5.15.0-1033-azure

File hashes

Hashes for animate_puml-0.3.0-py3-none-any.whl
Algorithm Hash digest
SHA256 f5e2d898b72deaafada0a9c3a0a18273cd42b52fff12ca517e7ce9903ad449f5
MD5 0213a72bd7e44e42fbb0cbb0c3fa4b57
BLAKE2b-256 53a81727d670c781b1286449a3f3b6c9a5c1322b87283170d6aae7e445d82134

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