Comparison
crayons vs pastel vs sty vs termcolor
Maintenance, adoption and momentum side by side, from PyPI, GitHub and deps.dev data refreshed every day.
TextUI colors for Python.
Likely abandoned. No release or commit for years (last release over 6 years ago).
pip install crayonsBring colors to your terminal.
Likely abandoned. No release or commit for years (last release over 6 years ago).
pip install pastelString 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 9 of the last 26 weeks. Weaker on release cadence and contributor spread.
pip install termcolorIn short
- crayons looks abandoned: avoid it for new projects.
- pastel looks abandoned: avoid it for new projects.
- sty is slowing down (last release over 3 years ago): fine for existing code, risky for a new project.
- termcolor is the most used: 77.6M downloads a month, 13× more than pastel.
- termcolor also has the best Pythie’s Index (56).
Side by side
| Metric | crayons | pastel | sty | termcolor |
|---|---|---|---|---|
| Pythie’s Index | Pythie’s Index: 21 | Pythie’s Index: 13 | Pythie’s Index: 15 | Pythie’s Index: 56 |
| Verdict | Likely abandoned | Likely abandoned | Slowing down | Maintained |
| Downloads / month | 142.2K | 6M | 103.9K | 77.6M |
| Downloads, month over month | -17% | -14% | -32% | +2% |
| GitHub stars | 415 | 54 | 219 | 331 |
| Stars, last 7 days | – | – | – | – |
| Direct dependents | 144 | 13 | 64 | 2.1K |
| Last release | Aug 26, 2020 | Sep 16, 2020 | Nov 27, 2023 | Dec 29, 2025 |
| Releases, 12 months | 0 | 0 | 0 | 1 |
| Weeks with commits | 0 / 26 | 0 / 26 | 0 / 26 | 9 / 26 |
| Recent contributors | 12 | 2 | 3 | 1 |
| First release | Jan 2017 | Feb 2017 | Feb 2018 | Jun 2008 |
| Python versions | 3.4 – 3.8 | 3.4 – 3.9 | 3.7 – 3.12 | 3.10 – 3.15 |
| License | MIT | 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.