tcolorpy
tcolopy is a Python library to apply true color for terminal text.
Decision gist · record as of 2026-08-14
Yes. tcolorpy is a low-friction, dependency-free utility for terminal styling with active maintenance, no known vulnerabilities, and permissive licensing. Install it if you need to add true color and text effects to terminal output; skip it if your application doesn't interact with terminals or if you're already using a larger terminal UI framework.AI-flagged interpretation of the facts on this page — verify before relying
Before you install
- Requires Python 3.9 or later.
- Low friction: pure Python wheel with no external dependencies and active maintenance (last commit 2026-04-13).
- Supports Python 3.9+ across CPython and PyPy.
License · maintenance · safety
MIT License (permissive) — MIT License permits unrestricted use, modification, and distribution with minimal obligations—suitable for commercial and private projects.
last release 2024-12-29 (593 days) · last repo commit 2026-04-13 · 12 stars
0 known vulnerabilities (OSV.dev, 2026-08-14) · 2,869,211 downloads/mo, #2,851 on PyPI
Alternatives
Verify before relying
pip install tcolorpy
from tcolorpy import tcolor
print(tcolor("Hello", color="#ee1177", styles=["bold", "italic"]))- Whether terminal support for true color is automatically detected or requires manual configuration.
- Behavior on terminals that do not support true color or ANSI escape sequences.
What it is and what it does
tcolorpy is a lightweight Python library for styling terminal text with true color and text effects. It wraps ANSI escape sequences, allowing you to colorize and format output using either hex color codes (like "#ee1177") or standard color names ("red", "green", etc.), combined with styles such as bold, italic, underline, and others.
The library has no external dependencies and works as both a Python module and a command-line tool. You import the tcolor function, pass a string along with color and style arguments, and get back a formatted string ready to print. It's designed for developers who want to add visual emphasis to terminal output without manually constructing ANSI escape codes.
Use it for
- Colorize log output or status messages in CLI applications with semantic colors (red for errors, green for success).
- Add visual emphasis to terminal-based progress indicators, warnings, or debug output.
- Build styled help text or command-line interfaces with consistent color and formatting rules.
- Generate colored terminal output in scripts for better readability and user experience.
- Apply multiple text styles (bold + underline + color) to highlight important information in terminal output.
Worth the install?
AI-flagged interpretation of the facts on this page. Verify before relying on it.
Yes.
tcolorpy is a low-friction, dependency-free utility for terminal styling with active maintenance, no known vulnerabilities, and permissive licensing. Install it if you need to add true color and text effects to terminal output; skip it if your application doesn't interact with terminals or if you're already using a larger terminal UI framework.
Install
tcolorpy on PyPI
Before you install
Low friction: pure Python wheel with no external dependencies and active maintenance (last commit 2026-04-13). Supports Python 3.9+ across CPython and PyPy.
Requires Python 3.9 or later.
License in practice
MIT License permits unrestricted use, modification, and distribution with minimal obligations—suitable for commercial and private projects.
Quickstart
pip install tcolorpy
from tcolorpy import tcolor
print(tcolor("Hello", color="#ee1177", styles=["bold", "italic"]))
Verify before relying
- Whether terminal support for true color is automatically detected or requires manual configuration.
- Behavior on terminals that do not support true color or ANSI escape sequences.
Package facts
| License | MIT License permissive |
| Python support | Supports the current Python release >=3.9 |
| Install friction | Low. Pure-Python wheel |
| Runtime dependencies | None |
| Maintenance | Actively maintained 593 days since the last release |
| Last repo commit | |
| First released | |
| Downloads | 2,869,211 / month, #2,851 on PyPI 30-day window, as of 2026-08-14 |
| Known vulnerabilities | None known OSV.dev, checked 2026-08-14 |
| Classifiers | Development Status :: 4 - BetaIntended Audience :: Information TechnologyLicense :: OSI Approved :: MIT LicenseOperating System :: OS IndependentProgramming Language :: Python :: 3Programming Language :: Python :: 3 :: OnlyProgramming Language :: Python :: 3.10Programming Language :: Python :: 3.11Programming Language :: Python :: 3.12Programming Language :: Python :: 3.13Programming Language :: Python :: 3.9Programming Language :: Python :: Implementation :: CPythonProgramming Language :: Python :: Implementation :: PyPyTopic :: Software Development :: LibrariesTopic :: Software Development :: Libraries :: Python ModulesTopic :: TerminalsTopic :: Text ProcessingTyping :: Typed |
Evidence: tcolorpy-0.1.7-py3-none-any.whl
Tags
Let your AI agent find packages like this
Example. Real query, live index.
You found this page by searching. An agent finds it by wishing: SkillFed indexes 14,416 PyPI packages by what they can do, searchable in plain language.
wish › “terminal text color”
- tcolorpyApplies ANSI true color and text styles (bold, italic, underline,…
- colorfulColorful applies ANSI color and text styling to terminal strings…
- coloredColored provides ANSI/VT100 escape sequences for terminal text…
Give your agent the search over MCP, or paste the wish link into any chat.
More Libraries packages
urllib3 is an HTTP client library that provides thread-safe connection pooling, SSL/TLS verification, multipart file uploads, request retries, compression support, and proxy handling for Python applications.
Requests is a Python HTTP library that simplifies sending HTTP/1.1 requests with automatic handling of headers, authentication, cookies, and response parsing.
Pluggy provides a plugin system that lets you define hook specifications and register implementations to be called in sequence, enabling extensible Python applications without tight coupling.
Install it if you're building an extensible application or framework.
Provides parsing, arithmetic, and recurrence rule computation for dates and times, with timezone support and iCalendar RFC compliance.
Install it if you need to parse flexible date strings, compute relative dates, handle timezones, or work with recurrence rules—it's the de facto choice for these tasks.
Six provides utility functions to write Python code that runs on both Python 2.7 and Python 3.3+, smoothing over language differences between the two versions.
pytest is a testing framework that lets you write test functions using plain assert statements and automatically discovers and runs them, with detailed failure reporting.
See also simple-colors · termcolor · ansicolors · style · colorful · pastel · crayons · colored · ascii-colors · sty