Skip to main content

Animated colored gradient text for ANSI terminals

Reason this release was yanked:

Unnecessary

Project description

animated_pystyle

animated_pystyle is a lightweight Python library for rendering animated, colored text in a terminal using 24-bit ANSI escape codes.

Install

From PyPI:

pip install animated_pystyle

Quick start

from animated_pystyle import animate_text

animate_text(
    text="Animated gradient text!",
    colors=[(255, 0, 255), (0, 255, 255), (255, 255, 0)],
    duration=3,
    speed=2.2,
    spacing=0.35,
    fps=30,
)

Class-based API

from animated_pystyle import AnimatedGradient

animator = AnimatedGradient(
    text="Hello from animated_pystyle",
    colors=[(255, 80, 80), (80, 80, 255), (80, 255, 180)],
    speed=2.0,
    spacing=0.3,
    fps=20,
)

animator.animate(duration=2)

Notes

  • Requires a terminal with true-color support.
  • Press Ctrl+C to stop long-running animations.

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

animated_pystyle-0.3.2.tar.gz (3.6 kB view details)

Uploaded Source

Built Distribution

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

animated_pystyle-0.3.2-py3-none-any.whl (4.1 kB view details)

Uploaded Python 3

File details

Details for the file animated_pystyle-0.3.2.tar.gz.

File metadata

  • Download URL: animated_pystyle-0.3.2.tar.gz
  • Upload date:
  • Size: 3.6 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/6.2.0 CPython/3.14.2

File hashes

Hashes for animated_pystyle-0.3.2.tar.gz
Algorithm Hash digest
SHA256 6e700cf48ee6de1dc58005f3857705cec1661a3a39dbea517e2aea7ff541eb07
MD5 eba993d939b29a169d4e9f08ba20809f
BLAKE2b-256 e553975ec89992a7abb61e03822d1a3e3b8b36d4990e5dc8973d4e70b40e7a2c

See more details on using hashes here.

File details

Details for the file animated_pystyle-0.3.2-py3-none-any.whl.

File metadata

File hashes

Hashes for animated_pystyle-0.3.2-py3-none-any.whl
Algorithm Hash digest
SHA256 89ca84a05c910648d1aad217f8216e71eea4eedf9fd69bcf6ea8e0083ab1faf6
MD5 311e3320fe5782587415905c293bc54f
BLAKE2b-256 81018def23db437a7c0b70b51f5b67e9224e86f07e4bb24302a1f71a3d810c6f

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