talira

Compare

termcolorColorama
What it isANSI colour formatting for terminal output in PythonCross-platform coloured terminal text in Python
KindOpen sourceOpen source
Trust0.480.39
Stars3313801
Last commit2026-11-142026-05-13
LicenceMITBSD-3-Clause
PricingFree and open sourceFree and open source
Free tierYesYes
Self-hostable——
Ways to run it——
SOC 2——
HIPAA——
SSO——
API——
Plugins——
MCP server——
CompanytermcolorJonathan Hartley
Features
  • 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
  • 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
Limitations
  • Attributes such as bold, blink and italic depend on the terminal; on Windows only reverse is listed as working.
  • On Windows it doesn't support ANSI dim text, which looks the same as normal text