tracerite
Human-readable HTML tracebacks for Python exceptions
Decision gist · record as of 2026-08-14
Yes. TraceRite is actively maintained, has no known vulnerabilities, installs with minimal friction, and solves a real problem—making Python exceptions readable across multiple environments. The permissive public-domain license removes any legal concern. Install it if you spend time debugging Python code in notebooks, web frameworks, or terminals.AI-flagged interpretation of the facts on this page — verify before relying
Before you install
- Requires Python 3.10 or later.
- Low friction: pure Python wheel with a single runtime dependency (html5tagger).
- Active maintenance with a recent release 24 days ago.
License · maintenance · safety
Public Domain (permissive) — Public Domain license with permissive treatment means no restrictions on use, modification, or distribution in any context.
last release 2026-07-21 (24 days) · last repo commit 2026-07-21 · 13 stars
0 known vulnerabilities (OSV.dev, 2026-08-14) · 1,151,501 downloads/mo, #4,295 on PyPI
Alternatives
Verify before relying
pip install tracerite
# In Python script or REPL:
import tracerite
tracerite.load()
# In Jupyter:
%pip install tracerite
%load_ext tracerite- Whether variable inspection works equally well across all three output formats (HTML, JSON, terminal).
- Performance impact of enabling tracerite in long-running applications or high-error-rate scenarios.
- Compatibility with third-party exception handlers or logging frameworks beyond logging.exception.
What it is and what it does
TraceRite intercepts Python exceptions and renders them in human-readable formats—HTML for notebooks and web frameworks, colored terminal output for scripts and REPLs, and JSON for machine processing. It displays variable values at each frame, highlights syntax errors, and handles complex exception chains (including Python 3.11+ ExceptionGroups) in chronological order.
The package integrates via a single import in scripts, a Jupyter magic command, or monkeypatching for FastAPI and Sanic. It smartly prunes output to show only relevant context, differentiates between context-manager failures (entry vs. exit vs. expression), and supports custom styling via CSS variables or terminal color configuration. No configuration is required for basic use.
Use it for
- Debug Jupyter notebooks by seeing formatted exceptions with variable values instead of raw Python tracebacks.
- Improve FastAPI error responses with HTML tracebacks that show context and variable state during development.
- Diagnose concurrent execution errors (ExceptionGroups) in Python 3.11+ with clear visualization of all subexceptions.
- Format terminal application errors with color and structure for easier reading in long-running CLI tools.
- Export exception data as JSON for automated error logging, monitoring, or post-mortem analysis systems.
Worth the install?
AI-flagged interpretation of the facts on this page. Verify before relying on it.
Yes.
TraceRite is actively maintained, has no known vulnerabilities, installs with minimal friction, and solves a real problem—making Python exceptions readable across multiple environments. The permissive public-domain license removes any legal concern. Install it if you spend time debugging Python code in notebooks, web frameworks, or terminals.
Install
tracerite on PyPI
Before you install
Low friction: pure Python wheel with a single runtime dependency (html5tagger). Active maintenance with a recent release 24 days ago.
Requires Python 3.10 or later.
License in practice
Public Domain license with permissive treatment means no restrictions on use, modification, or distribution in any context.
Quickstart
pip install tracerite
# In Python script or REPL:
import tracerite
tracerite.load()
# In Jupyter:
%pip install tracerite
%load_ext tracerite
Verify before relying
- Whether variable inspection works equally well across all three output formats (HTML, JSON, terminal).
- Performance impact of enabling tracerite in long-running applications or high-error-rate scenarios.
- Compatibility with third-party exception handlers or logging frameworks beyond logging.exception.
Package facts
| License | Public Domain permissive |
| Python support | Supports the current Python release >=3.10 |
| Install friction | Low. Pure-Python wheel |
| Runtime dependencies | 1 packagehtml5tagger |
| Maintenance | Actively maintained 24 days since the last release |
| Last repo commit | |
| First released | |
| Downloads | 1,151,501 / month, #4,295 on PyPI 30-day window, as of 2026-08-14 |
| Known vulnerabilities | None known OSV.dev, checked 2026-08-14 |
| Classifiers | Development Status :: 5 - Production/StableIntended Audience :: DevelopersLicense :: OSI Approved :: MIT LicenseLicense :: Public DomainOperating System :: OS IndependentProgramming Language :: Python :: 3Topic :: Software Development :: Debuggers |
Evidence: tracerite-2.6.3-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 › “python traceback formatter”
- traceriteFormats Python exceptions and tracebacks into readable HTML, JSON,…
- zope.exceptionsProvides general-purpose exception classes and formatting utilities…
- colored-tracebackAutomatically colors Python exception tracebacks in the terminal to…
Give your agent the search over MCP, or paste the wish link into any chat.
More Debuggers packages
Extracts and displays stack frame and traceback data with context-aware source code rendering, used to power enhanced tracebacks in IPython and similar tools.
Install it if you need to display or inspect stack frames with source context; skip it if your use case doesn't involve frame introspection.
debugpy is a Debug Adapter Protocol implementation for Python that enables remote debugging of Python scripts and modules through standard DAP clients, with support for breakpoints, exception handling, and subprocess debugging.
Install it if you need remote debugging, DAP client integration, or programmatic control over breakpoints and exception handling.
Pylint is a static code analyzer that checks Python code for errors, enforces coding standards, detects code smells, and suggests refactoring improvements without executing the code.
Install it if you need thorough code analysis with inference-based bug detection; if speed is critical, consider pairing it with faster linters like ruff for…
yamllint checks YAML files for syntax errors, style violations, and structural problems like key repetition, line length, trailing spaces, and indentation issues.
ipdb is an IPython-enabled debugger that replaces Python's standard pdb with tab completion, syntax highlighting, and better introspection while maintaining the same pdb interface.
Memray is a memory profiler for Python that traces every function call to track memory allocations across Python code, native extensions, and the interpreter itself, generating reports like flame graphs and tables to analyze memory usage.
See also better-exceptions · colored-traceback · pretty-errors · stackprinter · traceback-with-variables · tblib · cli-exit-tools · rich · devtools