Skip to content
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.

1.6M 700 31
ghazi-git
drf-standardized-errors

Standardize your DRF API error responses

569K 349 21
pnpnpn
retry-decorator

Decorator for retrying when exceptions occur

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

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

28K 31 2
akutayural
apiexception

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

18K 252 14
overflowy
safe-result

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

15K 186 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.

13K 0 0
SirPaulO
fastapi-exceptionshandler

Standardize and handle exceptions in FastAPI more elegantly

2K 7 1
anatoly-scherbakov
documented

Templated docstrings for Python classes

2K 16 0
quintenroets
powertrace

Detailed stack trace logging and visualization

2K 2 1
raiderrobert
django-multiurl

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

1K 276 29
valohai
django-safespace

An exception handling middleware

1K 6 1
Bernhard10
logging-exceptions

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

1K 1 3
feiiiiii5
failroute

Python tool that flags exception handlers for review when they may hide failures. CLI, regression tests and a public, unreviewed manuscript.

957 2 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.

620 132 2
aivorynet
aivory-monitor

AIVory Monitor Python Agent - Remote debugging with AI-powered fix generation

347 0 0
pomponchik
escaping

Try not to stand out

340 38 1
29monsankye
agentic-exception-sdk

Agentic in-flight exception management SDK

303 0 0
pomponchik
exception-escaping

Try not to stand out

296 38 1
xyngular
guards

Tools for guarding Defaults, Null and creating Singletons.

262 2 0
Anish-Sethi-12122
crypto-functions

A simple and secure Python module for hashing and encrypting data and files.

235 1 0
tybruno
zombie-py

Raising Exceptions From the Dead by Re-raising Them With New Exception Types

223 1 0
simwai
rustico

A Rust-inspired, ergonomic Result type for Python with first-class async support, pattern matching, and a clean API.

212 1 0
sanix-darker
ziim

Let your CLI find available solutions for errors / exceptions online on commands you hit, for you, no need open a Browser. and find something yourself

201 9 1
    • Original data from PyPI, GitHub, and OSV; downloads served through ClickHouse
    • Sources & methodology