Comparison
ansicolors vs colorful vs hexor 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 ansicolorsTerminal 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 colorfulColoring texts and their backgrounds in command line interface (cli), with rgb or hex types.
Low maintenance activity. Last release over 3 years ago, commits in 9 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 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.
- termcolor also has the best Pythie’s Index (58).
- colorful is growing fastest: downloads +11% over the last month.
Side by side
| Metric | ansicolors | colorful | hexor | termcolor |
|---|---|---|---|---|
| Pythie’s Index | Pythie’s Index: 15 | Pythie’s Index: 28 | Pythie’s Index: 36 | Pythie’s Index: 58 |
| Verdict | Likely abandoned | Low maintenance activity | Low maintenance activity | Maintained |
| Downloads / month | 22.4M | 11.4M | 17.8K | 78.9M |
| Downloads, month over month | +21% | +11% | -74% | +6% |
| GitHub stars | 35 | 539 | 4 | 331 |
| Stars, last 7 days | – | – | – | – |
| Direct dependents | 103 | 64 | 3 | 2.1K |
| Last release | Jun 2, 2017 | Oct 29, 2025 | Jun 6, 2023 | Dec 29, 2025 |
| Releases, 12 months | 0 | 0 | 0 | 1 |
| Weeks with commits | 0 / 26 | 0 / 26 | 9 / 26 | 10 / 26 |
| Recent contributors | 2 | 14 | 3 | 1 |
| First release | Apr 2012 | Jun 2013 | Apr 2021 | Jun 2008 |
| Python versions | 3.3 – 3.6 | 3.4 – 3.14 | 3.7 – 3.10 | 3.10 – 3.15 |
| License | ISC | 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.