Skip to content
PyRank
  • Search
  • PyPI
  • GitHub
  • Insights
  • Compare
  • Advisories
  • Ecosystem
  • About

Error Handling Python Packages

Python packages with the GitHub topic error-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
rollbar
rollbar

Error tracking and logging from Python to Rollbar

928K 226 142
bitranox
lib-cli-exit-tools

CLI exit handling helpers: clean signals, exit codes, and error printing

270K 0 0
kalepa
safe-init

Safe Init is a Python library that enhances AWS Lambda functions with advanced error handling, logging, monitoring, and resilience features, providing comprehensive observability and reliability for serverless applications.

147K 6 3
kenkundert
inform

Library of print utilities used when outputting messages for the user from command-line programs.

87K 10 1
ivan-borovets
fastapi-error-map

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

28K 31 2
mathisarends
fastapi-canon

Typed APIs for FastAPI across HTTP, SSE and WebSockets: shared error contracts, application composition, and generated Python and TypeScript SDKs.

27K 2 0
MindscapeHQ
raygun4py

Python provider for Raygun

20K 20 25
akutayural
apiexception

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

18K 252 14
Ikalus1988
misakanet

Re-debugging Solved Failures? No Way. 1000+ Evidence-graded fix lessons, One MCP Call-->https://misakanet.org

18K 567 241
overflowy
safe-result

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

15K 186 7
Ikalus1988
misakanet-core

Re-debugging Solved Failures? No Way. 1000+ Evidence-graded fix lessons, One MCP Call-->https://misakanet.org

15K 567 241
dusktreader
py-buzz

"That's not flying, it's falling with style": Python Exceptions with extras

13K 18 4
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
polishmatt
neterr

Groupings of exceptions for working with network requests.

4K 1 0
matblack81
fastapi-validation-override

Swap FastAPI's 422 Unprocessable Entity for any HTTP status code with a single call. Patches both the runtime exception handler and the OpenAPI schema automatically.

3K 2 0
Patcherly-Official
patcherly-connector

Patcherly Connectors

3K 0 0
tosun-si
asgarde

Asgarde allows simplifying error handling with Apache Beam Python, with less code, more concise and expressive code.

3K 35 1
skorokithakis
tbvaccine

A small utility to pretty-print Python tracebacks. ⛺

3K 375 13
SirDank
dankware

♦️ Python package with various features! (and rizz) ♦️

2K 27 0
jeremyephron
pyterminate

Exit Python programs gracefully

2K 5 1
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
DiogoRibeiro7
dataexcept

A comprehensive Python library providing structured, hierarchical exception classes for data science, data engineering, and ML pipeline workflows. Features 40+ specialized exceptions, logging helpers, and production-ready error handling for robust data processing systems.

2K 0 1
    • Original data from PyPI, GitHub, and OSV; downloads served through ClickHouse
    • Sources & methodology