animate-puml-0.6.0
توضیحات
Simple animation of PlantUML diagrams
| ویژگی | مقدار |
|---|---|
| سیستم عامل | OS Independent |
| نام فایل | animate-puml-0.6.0 |
| نام | animate-puml |
| نسخه کتابخانه | 0.6.0 |
| نگهدارنده | [] |
| ایمیل نگهدارنده | [] |
| نویسنده | namuan |
| ایمیل نویسنده | github@deskriders.dev |
| آدرس صفحه اصلی | https://namuan.github.io/animate-puml |
| آدرس اینترنتی | https://pypi.org/project/animate-puml/ |
| مجوز | MIT |
# PlantUML Animation
[](https://pypi.python.org/pypi/animate-puml/)
[](https://pypi.python.org/pypi/animate-puml/)
[](https://pypi.python.org/pypi/animate-puml/)
Simple animation for PlantUML diagrams.

---
**Documentation**: [https://namuan.github.io/animate-puml](https://namuan.github.io/animate-puml)
**Source Code**: [https://github.com/namuan/animate-puml](https://github.com/namuan/animate-puml)
**PyPI**: [https://pypi.org/project/animate-puml/](https://pypi.org/project/animate-puml/)
---
## Pre-requisites
- [PlantUML](https://plantuml.com/)
```shell
brew install plantuml
```
## Installation
```sh
pip install animate-puml
```
## Usage
Given an example PlantUML document in `assets/security.puml`:
```shell
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.
```shell
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.
```shell
animate-puml -i assets/security.puml -o assets/security-puml.gif --frame-duration 4000
```
Use the `-h` flag to see all available options.
```shell
animate-puml -h
```
## Acknowledgements
- [PlantUML](https://plantuml.com/)
## Development
* Clone this repository
* Requirements:
* Python 3.7+
* [Poetry](https://python-poetry.org/)
* Create a virtual environment and install the dependencies
```sh
poetry install
```
* Activate the virtual environment
```sh
poetry shell
```
### Validating build
```sh
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.
نیازمندی
| مقدار | نام |
|---|---|
| ==1.4.0 | py-executable-checklist |
| >=13.0.0,<14.0.0 | rich |
| >=7.2.0,<8.0.0 | pytest |
| >=0.21.0,<0.22.0 | python-dotenv |
| >=1.0.7,<2.0.0 | pygifsicle |
| >=9.4.0,<10.0.0 | pillow |
زبان مورد نیاز
| مقدار | نام |
|---|---|
| >=3.8.0,<4.0 | Python |
نحوه نصب
نصب پکیج whl animate-puml-0.6.0:
pip install animate-puml-0.6.0.whl
نصب پکیج tar.gz animate-puml-0.6.0:
pip install animate-puml-0.6.0.tar.gz