talira

Compare

Coloramago-colorabletermcolorRich
What it isCross-platform coloured terminal text in PythonColorable writer for WindowsANSI colour formatting for terminal output in PythonRich text and beautiful formatting in the terminal for Python
KindOpen sourceOpen sourceOpen sourceOpen source
Trust0.390.460.480.65
Stars380181933157899
Last commit2026-05-132026-11-172026-11-142026-11-07
LicenceBSD-3-ClauseMITMITMIT
PricingFree and open sourceFree and open sourceFree and open sourceFree and open source
Free tierYesYesYesYes
Self-hostable————
Ways to run it————
SOC 2————
HIPAA————
SSO————
API————
Plugins————
MCP server————
CompanyJonathan HartleyYasuhiro MatsumototermcolorWill McGugan
Features
  • Makes ANSI colour and cursor sequences work in the Windows console
  • just_fix_windows_console() fixes existing ANSI output with one call
  • Fore, Back and Style constants for coloured text
  • Does nothing on platforms that already handle ANSI
  • No dependencies beyond the standard library
  • ANSI colour escape sequences on Windows consoles
  • colourable stdout and stderr writers
  • builds on non-Windows systems too
  • colored() and cprint() with named colours, highlights and attributes
  • RGB colours as 0-255 tuples
  • honours NO_COLOR, FORCE_COLOR and ANSI_COLORS_DISABLED
  • detects whether the terminal supports colour
  • coloured and styled terminal text
  • tables
  • progress bars
  • Markdown rendering
  • syntax highlighting
  • pretty tracebacks
Limitations
  • On Windows it doesn't support ANSI dim text, which looks the same as normal text
    • Attributes such as bold, blink and italic depend on the terminal; on Windows only reverse is listed as working.