--- id: termcolor version: "3.3.0" license: MIT license_treatment: permissive maintenance: active --- # termcolor — ANSI color formatting for output in terminal License: permissive · Maintenance: active · Popularity: top 1,000 on PyPI ## Install pip install termcolor uv add termcolor poetry add termcolor ## Description # termcolor [![PyPI version](https://img.shields.io/pypi/v/termcolor.svg?logo=pypi&logoColor=FFE873)](https://pypi.org/project/termcolor) [![Supported Python versions](https://img.shields.io/pypi/pyversions/termcolor.svg?logo=python&logoColor=FFE873)](https://pypi.org/project/termcolor) [![PyPI downloads](https://img.shields.io/pypi/dm/termcolor.svg)](https://pypistats.org/packages/termcolor) [![GitHub Actions status](https://github.com/termcolor/termcolor/workflows/Test/badge.svg)](https://github.com/termcolor/termcolor/actions) [![Codecov](https://codecov.io/gh/termcolor/termcolor/branch/main/graph/badge.svg)](https://codecov.io/gh/termcolor/termcolor) [![Licence](https://img.shields.io/github/license/termcolor/termcolor.svg)](COPYING.txt) [![Code style: Black](https://img.shields.io/badge/code%20style-Black-000000.svg)](https://github.com/psf/black) [![Tidelift](https://tidelift.com/badges/package/pypi/termcolor)](https://tidelift.com/subscription/pkg/pypi-termcolor?utm_source=pypi-termcolor&utm_medium=referral&utm_campaign=readme) ## Installation ### From PyPI ```bash python3 -m pip install --upgrade termcolor ``` ### From source ```bash git clone... ## AI interpretation — verify before relying termcolor adds ANSI color and formatting to terminal output, supporting foreground colors, background highlights, and text attributes like bold and underline across different terminal types. Verdict: termcolor is a stable, lightweight, dependency-free library for terminal color output with active maintenance, no known vulnerabilities, and permissive MIT licensing. It is suitable for any project needing cross-terminal ANSI color support. [View on SkillFed](https://skillfed.io/packages/termcolor) · [View on PyPI](https://pypi.org/project/termcolor/)