Comparison
ansimarkup vs colorclass vs colored vs termcolor
Maintenance, adoption and momentum side by side, from PyPI, GitHub and deps.dev data refreshed every day.
Produce 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 ansimarkupColorful worry-free console applications for Linux, Mac OS X, and Windows.
Archived. The repository is read-only: no more fixes or releases will come.
pip install colorclassSimple 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 9 of the last 26 weeks. Weaker on release cadence and contributor spread.
pip install termcolorIn short
- colorclass is archived: avoid it for new projects.
- termcolor is the most used: 77.6M downloads a month, 6.1× more than colorclass.
- Maintenance is comparable: termcolor 56, colored 54, ansimarkup 34 on Pythie’s Index.
Side by side
| Metric | ansimarkup | colorclass | colored | termcolor |
|---|---|---|---|---|
| Pythie’s Index | Pythie’s Index: 34 | Pythie’s Index: 3 | Pythie’s Index: 54 | Pythie’s Index: 56 |
| Verdict | Low maintenance activity | Archived | Maintained | Maintained |
| Downloads / month | 176.5K | 12.7M | 1.4M | 77.6M |
| Downloads, month over month | +2% | +14% | -18% | +2% |
| GitHub stars | 68 | 6 | – | 331 |
| Stars, last 7 days | – | – | – | – |
| Direct dependents | 7 | 57 | 241 | 2.1K |
| Last release | Feb 4, 2026 | Dec 9, 2021 | Mar 28, 2026 | Dec 29, 2025 |
| Releases, 12 months | 1 | 0 | 1 | 1 |
| Weeks with commits | 0 / 26 | 0 / 26 | – | 9 / 26 |
| Recent contributors | 4 | 6 | – | 1 |
| First release | Feb 2017 | Sep 2014 | Jul 2014 | Jun 2008 |
| Python versions | – | 3.3 – 3.10 | – | 3.10 – 3.15 |
| License | BSD-3-Clause | MIT | 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.