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

Usage

Given an example PlantUML document in assets/security.puml:

animate-puml -i assets/security.puml -o assets/security-puml.gif

By default, the script will delete any temporary files generated during the animation process. To keep the files, use the --debug flag.

animate-puml -i assets/security.puml -o assets/security-puml.gif --debug

Each frame of the animation will wait for 1 second by default. To change the wait time, use the --frame-duration flag to specify the time in milliseconds.

animate-puml -i assets/security.puml -o assets/security-puml.gif --frame-duration 4000

Use the -h flag to see all available options.

animate-puml -h

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

Uploaded Source

Built Distribution

animate_puml-0.5.0-py3-none-any.whl (5.0 kB view details)

Uploaded Python 3

File details

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

File metadata

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

File hashes

Hashes for animate_puml-0.5.0.tar.gz
Algorithm Hash digest
SHA256 6deaf85f52cb2d8decc0856b8c5a182724f79ac99a884a37f1a5be260ca3896b
MD5 b13b1c50f87473b46c438f417eaaa4d5
BLAKE2b-256 892346c406acd373f7f8917a902b5de652dafd2e7ca65a7cf03c2799518004a8

See more details on using hashes here.

File details

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

File metadata

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

File hashes

Hashes for animate_puml-0.5.0-py3-none-any.whl
Algorithm Hash digest
SHA256 0bbf57f8f96c622f9826e818d9851f784f1094e82a9fffdf1313f2cc8e559e52
MD5 60063af8d78cd8111a21d8e3c6076cef
BLAKE2b-256 f052eff4d5dae3785a32c7fc7d4cbbd4d13fe35953e5489dd3e5c7ecbfd32001

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