Skip to main content

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

MIT License

Project details


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)

Uploaded Source

Built Distribution

If you're not sure about the file name format, learn more about wheel file names.

animate_sh-0.1.0-py3-none-any.whl (8.0 kB view details)

Uploaded Python 3

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

Hashes for animate_sh-0.1.0.tar.gz
Algorithm Hash digest
SHA256 4d6af41812e58eea1ca4ec73e2abdb92c65452438f5b258ae22c9e431877395a
MD5 80c7f6940b96defe3498e09f2d97c4bc
BLAKE2b-256 1c037844a20b708daf2e4dbced656a78d493a10b89edd8f8a4942b78d5397cb9

See more details on using hashes here.

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

Hashes for animate_sh-0.1.0-py3-none-any.whl
Algorithm Hash digest
SHA256 d3d9beb725d529ce5cb928e48b8fbca0aca5217ee21ab391e1890b26bbe56a61
MD5 eda68f0f246ab58017079d67b7158ce2
BLAKE2b-256 84dac4f57a169fe3f9959d1058b5fd7fe10cb0864f608d7a61ebb8b515157656

See more details on using hashes here.

Supported by

AWS Cloud computing and Security Sponsor Datadog Monitoring Depot Continuous Integration Fastly CDN Google Download Analytics Pingdom Monitoring Sentry Error logging StatusPage Status page