Simple animation of PlantUML diagrams
Project description
PlantUML Animation
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
- PlantUML
brew install plantuml
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:
- Python 3.7+
- Poetry
-
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
Release history Release notifications | RSS feed
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
Built Distribution
Filter files by name, interpreter, ABI, and platform.
If you're not sure about the file name format, learn more about wheel file names.
Copy a direct link to the current filters
File details
Details for the file animate_puml-0.6.0.tar.gz.
File metadata
- Download URL: animate_puml-0.6.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
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
7a172eb42e7c4cde332018cae55e59504038a3142283d8dde5b5673d5fd8acb2
|
|
| MD5 |
0e32a20a90a71d0323cb58270a092fed
|
|
| BLAKE2b-256 |
e923e11f5bad95a1a9f85160e282e3de5e7be906ebc410b972dbd1651e665401
|
File details
Details for the file animate_puml-0.6.0-py3-none-any.whl.
File metadata
- Download URL: animate_puml-0.6.0-py3-none-any.whl
- Upload date:
- Size: 5.1 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
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
c211257857571bcd1b30569f83fab43667563f3fbb315b4e2ab8c60d7be5b53e
|
|
| MD5 |
bc7e390bed0ee621bb57b3d00393b9d0
|
|
| BLAKE2b-256 |
326f61a3ad8932441376da9b5729b236fcbd838da41438973af81a13ed5b2fb9
|