Comparison
ansimarkup vs colorful vs sty 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 ansimarkupTerminal 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 colorfulString styling for your terminal
Slowing down. Last release over 3 years ago, little activity since. Fine for existing code; think twice for a new project.
pip install styANSI 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
- sty is slowing down (last release over 3 years ago): fine for existing code, risky for a new project.
- termcolor is the most used: 78.9M downloads a month, 6.9× more than colorful.
- termcolor also has the best Pythie’s Index (58).
- colorful is growing fastest: downloads +11% over the last month.
Side by side
| Metric | ansimarkup | colorful | sty | termcolor |
|---|---|---|---|---|
| Pythie’s Index | Pythie’s Index: 34 | Pythie’s Index: 28 | Pythie’s Index: 15 | Pythie’s Index: 58 |
| Verdict | Low maintenance activity | Low maintenance activity | Slowing down | Maintained |
| Downloads / month | 182.4K | 11.4M | 105K | 78.9M |
| Downloads, month over month | +8% | +11% | -30% | +6% |
| GitHub stars | 68 | 539 | 219 | 331 |
| Stars, last 7 days | – | – | – | – |
| Direct dependents | 7 | 64 | 64 | 2.1K |
| Last release | Feb 4, 2026 | Oct 29, 2025 | Nov 27, 2023 | Dec 29, 2025 |
| Releases, 12 months | 1 | 0 | 0 | 1 |
| Weeks with commits | 0 / 26 | 0 / 26 | 0 / 26 | 10 / 26 |
| Recent contributors | 4 | 14 | 3 | 1 |
| First release | Feb 2017 | Jun 2013 | Feb 2018 | Jun 2008 |
| Python versions | – | 3.4 – 3.14 | 3.7 – 3.12 | 3.10 – 3.15 |
| License | BSD-3-Clause | MIT | Apache-2.0 | 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.