Comparison
ansicolors vs ansimarkup vs colored vs termcolor
Maintenance, adoption and momentum side by side, from PyPI, GitHub and deps.dev data refreshed every day.
ANSI colors for Python
Likely abandoned. No release or commit for years (last release over 9 years ago).
pip install ansicolorsProduce colored terminal text with an xml-like markup
Low maintenance activity. Last release 10 months ago, commits in 0 of the last 26 weeks. Weaker on commit activity and release cadence.
pip install ansimarkupSimple python library for color and formatting to terminal
Maintained. Last release 8 months ago. Weaker on release cadence.
pip install coloredANSI color formatting for output in terminal
Maintained. Last release 11 months ago, commits in 10 of the last 26 weeks. Weaker on release cadence and contributor spread.
pip install termcolorIn short
- ansicolors looks abandoned: avoid it for new projects.
- termcolor is the most used: 78.9M downloads a month, 3.5× more than ansicolors.
- Maintenance is comparable: termcolor 58, colored 54, ansimarkup 34 on Pythie’s Index.
Side by side
| Metric | ansicolors | ansimarkup | colored | termcolor |
|---|---|---|---|---|
| Pythie’s Index | Pythie’s Index: 15 | Pythie’s Index: 34 | Pythie’s Index: 54 | Pythie’s Index: 58 |
| Verdict | Likely abandoned | Low maintenance activity | Maintained | Maintained |
| Downloads / month | 22.4M | 182.4K | 1.4M | 78.9M |
| Downloads, month over month | +21% | +8% | -16% | +6% |
| GitHub stars | 35 | 68 | – | 331 |
| Stars, last 7 days | – | – | – | – |
| Direct dependents | 103 | 7 | 241 | 2.1K |
| Last release | Jun 2, 2017 | Feb 4, 2026 | Mar 28, 2026 | Dec 29, 2025 |
| Releases, 12 months | 0 | 1 | 1 | 1 |
| Weeks with commits | 0 / 26 | 0 / 26 | – | 10 / 26 |
| Recent contributors | 2 | 4 | – | 1 |
| First release | Apr 2012 | Feb 2017 | Jul 2014 | Jun 2008 |
| Python versions | 3.3 – 3.6 | – | – | 3.10 – 3.15 |
| License | ISC | BSD-3-Clause | MIT | MIT |
| Known vulnerabilities | None | None | None | None |
Bold marks the best value in each row. Pythie’s Index rates maintenance out of 100: how it works.