# onelivesleft/PrettyErrors

Prettify Python exception output to make it legible.

Repository: https://github.com/onelivesleft/PrettyErrors
Canonical: https://ross.abutalabs.com/products/prettyerrors
Language: Python
License: MIT
License Family: permissive
Last push: 2024-03-05T23:33:11+00:00

## Health v2 (maintenance only)
Score: 32/100 (v2, computed 2026-09-03T02:20:16.233290+00:00)
- activity 0, release rhythm 35, longevity 100
- inputs: {"age_days": 2848, "days_push": 911, "days_rel": null, "gap_med": null, "n_releases_24m": 0}
- flags: no_releases
- formula: round(0.45*activity + 0.35*rhythm + 0.20*longevity); archived -> min(score, 10)

## Adoption (not part of the score)
Stars 2873, forks 86 (observed 2026-08-28T04:07:27.214992+00:00)

## What it is
A Python library that reformats exception tracebacks into readable, colorized output. It can be installed globally via the Python startup procedure or imported per-project, with configurable display options.

## Use cases
- make python tracebacks easier to read
- colorize python exception output in the terminal
- show local variables in stack traces
- filter stack trace frames by path whitelist or blacklist
- prettify errors when a framework overrides stderr

## When to choose
- you want clearer, colorized tracebacks for CLI scripts or development
- you want a one-line global setup via python startup
- you need configurable traceback display like line numbers and local variables

## When to avoid
- you need structured machine-readable error logs for production monitoring
- your environment has no color terminal support and you dislike monochrome output
- you rely on frameworks that fully control exception handling and cannot use excepthook

## Facets
- artifact type: library
- maturity: stable
- function: developer-tools, error-handling, logging
- domain: developer-tools
- platform: python, cli, cross-platform
- tags: traceback-formatting, exception-output, terminal-colors, excepthook, command-line

## Member repositories
- onelivesleft/PrettyErrors (main) score 32

## Provenance
- Observed fields: from GitHub, fetched 2026-08-28T04:07:27.214992+00:00.
- Health v2: computed from the inputs above; adoption is never an input.
- Inferred fields (summary, facets, guidance): AI-extracted, prompt v1, taxonomy v1, on 2026-08-30T07:35:49.588451+00:00, confidence not recorded.
  - readme: https://github.com/onelivesleft/PrettyErrors (fetched 2026-08-28T04:07:27.214992+00:00, sha 2bce47796ce2)
- Data as of 2026-08-30T08:39:29.467469+00:00.
