A Python library for printing animated ASCII art
Project description
Animate
A Python library for printing animated ASCII art in the terminal.
Features
- Simple and intuitive API
- Support for custom animations
- Configurable playback options (loop, timeout, FPS)
- Terminal-friendly and cross-platform
Installation
Using pip:
pip install animate
Using uv:
uv add animate
With color support:
# pip
pip install animate[color]
# uv
uv add animate[color]
Quick Start
from animate import play
from animate.animations import Spinner
# Play a spinner animation
play(Spinner(), loop=True, timeout=10)
Development
This project uses just for task automation.
# Install dependencies
just install
# Run all checks (format, lint, type-check, test)
just check
# Individual commands
just test # Run tests
just format # Format code
just lint # Lint code
just lint-fix # Fix linting issues
just type-check # Type check
just examples # Run example scripts
just build # Build distribution
just clean # Clean build artifacts
License
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
animate_py-0.1.0.tar.gz
(9.8 kB
view details)
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_py-0.1.0.tar.gz.
File metadata
- Download URL: animate_py-0.1.0.tar.gz
- Upload date:
- Size: 9.8 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/6.2.0 CPython/3.12.10
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
f60b713405a8b150b45a66836e290102c50b090d0bc762f1256b94fea200abe6
|
|
| MD5 |
f21c7d968115b41d1baf6d60a06a0897
|
|
| BLAKE2b-256 |
b8695556bb83acdb79e7eeb7930fe49acfe938d90703a42ab565b91d98bbafe0
|
File details
Details for the file animate_py-0.1.0-py3-none-any.whl.
File metadata
- Download URL: animate_py-0.1.0-py3-none-any.whl
- Upload date:
- Size: 8.0 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/6.2.0 CPython/3.12.10
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
4bea0b6b3d41d5abd9d4463c135031aed9fb9834244fa5860d0fa01ef3d6e0ee
|
|
| MD5 |
c3f6832d5b9034fc521a4876c4e29e36
|
|
| BLAKE2b-256 |
4f5c296fe17e31db7b958e4337fe8cc36f2b6fdc55058cab0ef95b83a262f18b
|