NewYour coding agent can read the release notes before it upgrades.Set up the MCP server →
PyPI · #332 most downloaded on PyPI
ANSI color formatting for output in terminal
Last release 9 months ago
29 Dec 2025
Ships unpredictably
gaps range from 3 weeks to 11.7 years
Nearly every release is documented
notes for 20 of 20 stable releases
Nothing withdrawn
no release was ever pulled
18 years old
20 releases · first in 2008
Add support for italic ( #128 ) @hugovk
One column per quarter.
Add true colour RGB option as input arguments ( #102 ) @icyveins7
pyproject.toml (#105) @mikethemanFix licence filename in metadata ( #100 ) @hugovk
Replace deprecated classifier with licence expression (PEP 639) ( #95 ) @hugovk
FORCE_COLOR, NO_COLOR and ANSI_COLORS_DISABLED when present and not an empty string (#92) @hugovkAdd strike attribute ( #65 ) @muzhig
Document terminal colour detection overrides ( #60 ) @hugovk
isatty check (#56) @XiaoliChanAdd no_color and force_color parameters to override env vars ( #38 ) @hugovk
Add light shades, dark grey and black ( #32 ) @hugovk
Add __main__ to re-enable demo via python -m termcolor (#27) @hugovk
__main__ to re-enable demo via python -m termcolor (#27) @hugovkDeprecate __ALL__, use __all__ instead (#23) @hugovk
FORCE_COLOR and detect tty (#25) @hugovk__ALL__, use __all__ instead (#23) @hugovkUpdate source URL (#21) @felixonmars
Replace deprecated license_file with license_files in setup.cfg (#14) @jdufresne
NO_COLOR (#7) @hugovklicense_file with license_files in setup.cfg (#14) @jdufresnesetup.cfg (#10) @hugovk3.9-dev with 3.9 in CI to use Python 3.9 final (#3) @CozyDoomerVERSION constant (#18) @hugovk
To find the version, use:try:
# Python 3.8+
import importlib.metadata as importlib_metadata
except ImportError:
# Python 3.7
import importlib_metadata
print(importlib_metadata.version("termcolor"))
## 1.1.0 (13.01.2011) - Added cprint function.
## 1.0.1 (13.01.2011) - Updated README.rst.
## 1.0.0 (13.01.2011) - Changed license to MIT. - Updated copyright. - Refactored source code.
## 0.2 (07.09.2010) - Added support of Python 3.x.
Fixed bold characters. (Thanks Tibor Fekete)
## 0.1.1 (05.03.2009) - Some refactoring. - Updated copyright. - Fixed reset colors. - Updated documentation.
## 0.1 (09.06.2008) - Initial release.
Your coding agent can read these notes before it upgrades. Set up the MCP server →