Comparison
colored vs hexor vs termcolor
Maintenance, adoption and momentum side by side, from PyPI, GitHub and deps.dev data refreshed every day.
Simple python library for color and formatting to terminal
Maintained. Last release 8 months ago. Weaker on release cadence.
$
pip install coloredColoring texts and their backgrounds in command line interface (cli), with rgb or hex types.
Maintained. Last release over 3 years ago, commits in 12 of the last 26 weeks. Weaker on recent releases and release cadence.
$
pip install hexorANSI color formatting for output in terminal
Maintained. Last release 11 months ago, commits in 11 of the last 26 weeks. Weaker on release cadence and contributor spread.
$
pip install termcolorIn short
- termcolor is the most used: 80.1M downloads a month, 51× more than colored.
- Maintenance is comparable: termcolor 60, colored 54, hexor 42 on Pythie’s Index.
- Safe default for a new project: termcolor.