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-sh
Using uv:
uv add animate-sh
With color support:
# pip
pip install animate-sh[color]
# uv
uv add animate-sh[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_sh-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_sh-0.1.0.tar.gz.
File metadata
- Download URL: animate_sh-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 |
4d6af41812e58eea1ca4ec73e2abdb92c65452438f5b258ae22c9e431877395a
|
|
| MD5 |
80c7f6940b96defe3498e09f2d97c4bc
|
|
| BLAKE2b-256 |
1c037844a20b708daf2e4dbced656a78d493a10b89edd8f8a4942b78d5397cb9
|
File details
Details for the file animate_sh-0.1.0-py3-none-any.whl.
File metadata
- Download URL: animate_sh-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 |
d3d9beb725d529ce5cb928e48b8fbca0aca5217ee21ab391e1890b26bbe56a61
|
|
| MD5 |
eda68f0f246ab58017079d67b7158ce2
|
|
| BLAKE2b-256 |
84dac4f57a169fe3f9959d1058b5fd7fe10cb0864f608d7a61ebb8b515157656
|