Comparison
ansimarkup vs colored vs colorful 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 ansimarkupSimple python library for color and formatting to terminal
Maintained. Last release 8 months ago. Weaker on release cadence.
pip install coloredTerminal string styling done right, in Python.
Low maintenance activity. Last release 13 months ago, commits in 0 of the last 26 weeks. Weaker on commit activity and recent releases.
pip install colorfulANSI 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
- termcolor is the most used: 78.9M downloads a month, 6.9× more than colorful.
- Maintenance is comparable: termcolor 58, colored 54, ansimarkup 34, colorful 28 on Pythie’s Index.
- colorful is growing fastest: downloads +11% over the last month.
Side by side
| Metric | ansimarkup | colored | colorful | termcolor |
|---|---|---|---|---|
| Pythie’s Index | Pythie’s Index: 34 | Pythie’s Index: 54 | Pythie’s Index: 28 | Pythie’s Index: 58 |
| Verdict | Low maintenance activity | Maintained | Low maintenance activity | Maintained |
| Downloads / month | 182.4K | 1.4M | 11.4M | 78.9M |
| Downloads, month over month | +8% | -16% | +11% | +6% |
| GitHub stars | 68 | – | 539 | 331 |
| Stars, last 7 days | – | – | – | – |
| Direct dependents | 7 | 241 | 64 | 2.1K |
| Last release | Feb 4, 2026 | Mar 28, 2026 | Oct 29, 2025 | Dec 29, 2025 |
| Releases, 12 months | 1 | 1 | 0 | 1 |
| Weeks with commits | 0 / 26 | – | 0 / 26 | 10 / 26 |
| Recent contributors | 4 | – | 14 | 1 |
| First release | Feb 2017 | Jul 2014 | Jun 2013 | Jun 2008 |
| Python versions | – | – | 3.4 – 3.14 | 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.