$npx skillfedfor your agent

colored-traceback

Automatically color uncaught exception tracebacks

With conditionsPyPI TerminalsReleased Jul 2024858.5K downloads / moISCPure Python

Decision gist · record as of 2026-08-14

pure-Python wheel — colored_traceback-0.4.2-py3-none-any.whl
v0.4.2 · released 2024-07-13 · 2 runtime deps: pygments, colorama

Yes, if you spend time debugging in the terminal. It's a low-friction, zero-configuration enhancement that makes exception tracebacks genuinely easier to read. The dormant maintenance is not a concern for a simple, stable utility—no security vulnerabilities are known, and the two dependencies (pygments, colorama) are mature and widely used. Install it if visual clarity in error output matters to your workflow.AI-flagged interpretation of the facts on this page — verify before relying

Before you install

  • Low friction install with two lightweight runtime dependencies (pygments and colorama).
  • Maintenance is dormant—last release was 2024-07-13, but the repository remains active and has not been archived.

License · maintenance · safety

ISC (permissive) — ISC license is permissive and poses no restrictions on use, modification, or distribution in commercial or private projects.

last release 2024-07-13 (762 days) · last repo commit 2024-07-13 · 65 stars

0 known vulnerabilities (OSV.dev, 2026-08-14) · 858,542 downloads/mo, #4,881 on PyPI

Verify before relying

pip install colored-traceback

import colored_traceback
colored_traceback.add_hook()

# Or for a one-liner:
import colored_traceback.auto
  • Whether the package works correctly with modern Python versions beyond 3.3, given the dormant maintenance status and age of classifiers.
Same gist for agents: .md · .json

What it is and what it does

Colored Traceback hooks into Python's exception display system to apply syntax highlighting and color to uncaught exception tracebacks, making them significantly easier to scan visually in the terminal. The package works by intercepting the default traceback formatter and applying color via pygments for syntax highlighting and colorama for cross-platform terminal support (especially on Windows, which lacks native ANSI escape sequence support).

You can activate it with a single import statement in your script or REPL, either as a one-liner (import colored_traceback.auto) or with explicit control (colored_traceback.add_hook()). It respects whether stderr is being piped to another process, suppressing color by default unless you explicitly pass always=True. The package also supports being run as a module wrapper (python -m colored_traceback somefile.py) to color tracebacks from external scripts without modifying them.

Use it for

  • Debugging scripts interactively in the terminal where colored, visually distinct stack traces reduce cognitive load when scanning for the error origin.
  • Adding to a development environment startup file to automatically color all uncaught exceptions without modifying individual scripts.
  • Running third-party Python scripts with colored output by wrapping them (python -m colored_traceback script.py) without source modification.
  • Making exception output in CI/CD logs or terminal sessions more readable when reviewing test failures or production errors.

Worth the install?

AI-flagged interpretation of the facts on this page. Verify before relying on it.

With conditions

Yes, if you spend time debugging in the terminal.

It's a low-friction, zero-configuration enhancement that makes exception tracebacks genuinely easier to read. The dormant maintenance is not a concern for a simple, stable utility—no security vulnerabilities are known, and the two dependencies (pygments, colorama) are mature and widely used. Install it if visual clarity in error output matters to your workflow.

Install

colored-traceback on PyPI

Before you install

Low friction install with two lightweight runtime dependencies (pygments and colorama). Maintenance is dormant—last release was 2024-07-13, but the repository remains active and has not been archived.

License in practice

ISC license is permissive and poses no restrictions on use, modification, or distribution in commercial or private projects.

Quickstart

pip install colored-traceback

import colored_traceback
colored_traceback.add_hook()

# Or for a one-liner:
import colored_traceback.auto

Verify before relying

  • Whether the package works correctly with modern Python versions beyond 3.3, given the dormant maintenance status and age of classifiers.

Package facts

LicenseISC permissive
Python supportNot specified
Install frictionLow. Pure-Python wheel
Runtime dependencies
2 packages
pygmentscolorama
MaintenanceDormant 762 days since the last release
Last repo commit
First released
Downloads858,542 / month, #4,881 on PyPI 30-day window, as of 2026-08-14
Known vulnerabilitiesNone known OSV.dev, checked 2026-08-14
Classifiers
Development Status :: 4 - BetaEnvironment :: ConsoleIntended Audience :: DevelopersLicense :: OSI Approved :: ISC License (ISCL)Natural Language :: EnglishOperating System :: MacOS :: MacOS XOperating System :: Microsoft :: WindowsOperating System :: POSIX :: LinuxProgramming Language :: PythonProgramming Language :: Python :: 2.7Programming Language :: Python :: 3.3

Evidence: colored_traceback-0.4.2-py3-none-any.whl

Tags

Capabilities
colored traceback pythonsyntax highlight exception outputreadable python stack tracesterminal traceback coloringpretty print python errorscolorize exception tracebacks
Topics
debuggingterminal-ui

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 › “colored traceback python”

  • colored-tracebackAutomatically colors Python exception tracebacks in the terminal to…
  • loguruLoguru provides a pre-configured logger that replaces Python's…
  • pretty-errorsReformats Python exception tracebacks with color, context, and…

Give your agent the search over MCP, or paste the wish link into any chat.

More Terminals packages

tqdm Worth it
PyPI · Libraries · released Jul 2026

Wraps any iterable to display a real-time progress bar in the terminal or Jupyter notebook, showing iteration count, elapsed time, and estimated time remaining.

copyleftpure Python · 3.8+
648.6Mdownloads / mo
rich Worth it
PyPI · Terminals · released Apr 2026

Rich renders styled text, tables, progress bars, syntax highlighting, markdown, and tracebacks to the terminal with minimal code.

MITpure Python · 3.9.0+
613.9Mdownloads / mo
colorama Worth it
PyPI · Terminals · released Oct 2022

Colorama makes ANSI escape sequences for colored terminal text work on Windows by intercepting and converting them to win32 API calls, while passing through unchanged on other platforms.

Install it if you need colored terminal output to work on Windows or want to use ANSI-based libraries portably; skip it only if you target non-Windows platforms…

BSD-3-Clausepure Python
431.0Mdownloads / mo
wcwidth Worth it
PyPI · Libraries · released Jun 2026

Measures the displayed width of Unicode strings in terminals, accounting for wide characters, combining marks, and terminal escape sequences that standard Python string functions mishandle.

Install it if your application formats text for terminals and handles non-ASCII characters.

MITpure Python · 3.8+
306.5Mdownloads / mo
ptyprocess With conditions
PyPI · Terminals · released Dec 2020

Run a subprocess in a pseudo terminal (pty) and interact with its input and output, enabling automation of interactive programs that require terminal features like password prompts or curses-style interfaces.

However, note that it is aging (last release 2020-12-28) and not actively maintained; it works well for its narrow, well-defined purpose but won't receive updates for…

ISCpure Pythonaging
205.2Mdownloads / mo
pexpect With conditions
PyPI · Software Development · released Nov 2023

Pexpect spawns and controls interactive console applications by sending input and matching output patterns, automating tasks that would otherwise require manual interaction.

ISCpure Pythonaging
200.8Mdownloads / mo

See also tracerite · colored · stackprinter · crayons · pastel · colorlog · autopage · termcolor · colorclass · icecream