PyRank
  • Search
  • PyPI
  • GitHub
  • Insights
  • Compare
  • Advisories
  • Ecosystem
  • About

Exception Handling Python Packages

Python packages with the GitHub topic exception-handling. Sorted by monthly downloads, with stars and forks.
andy-landy
traceback-with-variables

Adds variables to python traceback. Simple, lightweight, controllable. Customize formats and colors. Debug reasons of exceptions by logging or pretty printing colorful variable contexts for each frame in a stacktrace, showing every value. Dump locals environments after errors to console, files, and loggers. Works in Jupyter too.

654K 700 31
ghazi-git
drf-standardized-errors

Standardize your DRF API error responses

515K 350 22
pnpnpn
retry-decorator

Decorator for retrying when exceptions occur

309K 27 12
ivan-borovets
fastapi-error-map

Elegant per-endpoint error handling for FastAPI that keeps OpenAPI in sync

16K 30 2
anatoly-scherbakov
documented

Templated docstrings for Python classes

11K 16 0
overflowy
safe-result

A Python package for elegant error handling, inspired by Rust's Result type

10K 184 7
cipher813
flow-doctor

Self-hosted error-monitoring for Python pipelines: capture exceptions, deduplicate, diagnose root causes with LLMs, route alerts (Telegram/Slack/email/GitHub/S3), and auto-generate fix PRs — from a logging handler or one report() call.

8K 0 0
akutayural
apiexception

Standardize FastAPI error/exception handling with APIException. Custom error codes, fallback logging, and beautiful Swagger UI integration.

5K 253 14
quintenroets
powertrace

Detailed stack trace logging and visualization

4K 2 1
TamerSoup625
guards

An alternative to Python's try/except/else statements

2K 2 0
feiiiiii5
failroute

Static detection of failure-routing anti-patterns in Python (swallowed exceptions, silent fallback returns, masked exceptions), with an empirical study of how often findings are real bugs. AST-based, SARIF, PyPI.

947 2 0
Bernhard10
logging-exceptions

Self-logging exceptions: Attach log messages to exceptions and conditionally log them.

917 1 3
raiderrobert
django-multiurl

Have you ever wanted multiple views to match to the same URL? Now you can.

672 277 29
SirPaulO
fastapi-exceptionshandler

Standardize and handle exceptions in FastAPI more elegantly

492 7 1
synesissoftware
pyquench

Customisable exception-quenching library, for Python

485 0 0
gqylpy
exceptionx

The `exceptionx` is a flexible and convenient Python exception handling library that allows you to dynamically create exception classes and provides various exception handling mechanisms.

472 132 2
valohai
django-safespace

An exception handling middleware

472 6 1
arnabnandy7
bugdna

A lightweight library that converts noisy stack traces into deterministic failure signatures.

439 1 0
aivorynet
aivory-monitor

AIVory Monitor Python Agent - Runtime exception monitoring via sys.settrace

315 0 0
simwai
rustico

Supreme Rust-like Result type for Python 3.8+. Fully type annotated. 🤘

248 0 0
pomponchik
escaping

Try not to stand out

233 37 1
pomponchik
exception-escaping

Try not to stand out

228 37 1
tybruno
zombie-py

Reraising Exceptions Back From the Dead As New Exceptions.

193 1 0
feodor-ra
fastapi-typed-errors

Typed HTTP errors for FastAPI: Literal error codes, discriminated oneOf unions in OpenAPI, single source of truth — the error class.

189 4 0
    • Original data from PyPI, GitHub, and OSV; downloads served through ClickHouse
    • Sources & methodology