Skip to main content

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

MIT License

Metadata

Release files for animate-py 0.1.0

For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.

Source distribution (sdist)

Source distribution for animate-py 0.1.0
File Size Uploaded
animate_py-0.1.0.tar.gz 9.8 kB Details

Built distribution (wheel)

Table of built distributions (wheels) for animate-py 0.1.0
File Interpreter ABI Platform
animate_py-0.1.0-py3-none-any.whl Python 3 none any Details

Total release size: 17.8 kB

Release files / animate_py-0.1.0.tar.gz

Download URL animate_py-0.1.0.tar.gz
Size 9.8 kB
Tags Source
SHA-256 checksum
How to use checksums
f60b713405a8b150b45a66836e290102c50b090d0bc762f1256b94fea200abe6
BLAKE2b-256 checksum
How to use checksums
b8695556bb83acdb79e7eeb7930fe49acfe938d90703a42ab565b91d98bbafe0
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/6.2.0 CPython/3.12.10

Release files / animate_py-0.1.0-py3-none-any.whl

Download URL animate_py-0.1.0-py3-none-any.whl
Size 8.0 kB
Tags Python 3
SHA-256 checksum
How to use checksums
4bea0b6b3d41d5abd9d4463c135031aed9fb9834244fa5860d0fa01ef3d6e0ee
BLAKE2b-256 checksum
How to use checksums
4f5c296fe17e31db7b958e4337fe8cc36f2b6fdc55058cab0ef95b83a262f18b
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/6.2.0 CPython/3.12.10

Release history Release notifications | RSS feed

This release

0.1.0 This release

2 release files

Anthropic, PBC Visionary sponsor Bloomberg Visionary sponsor Hudson River Trading Visionary sponsor Meta Visionary sponsor NVIDIA Visionary sponsor Microsoft Sustainability sponsor Depot Continuous Integration AWS Cloud computing and Security Sponsor Datadog Monitoring Fastly CDN Google Download Analytics Sentry Error logging StatusPage Status page