A lightweight Python library for producing ANSI terminal control sequences, including cursor movement, color (8-bit and 24-bit True Color), and graphics. Current stable version is 0.3.7, released in October 2023. Maintenance mode; infrequent releases.
pip install ansiVerified import paths — ran on the pinned version, not inferred.
Move cursor up one line and print red text, then reset color.
Ensure Python >=3.7; pass integers to rgb(), e.g., rgb(255,0,0) not rgb('255','0','0')Add Fore.RESET or Cursor.RESET after your output, or use context managers if available.
No dependency data recorded yet.