honeybadger
Send Python and Django errors to Honeybadger
What it is and what it does
Honeybadger is a Python error-monitoring client that automatically captures uncaught exceptions and sends them to Honeybadger's hosted service for centralized error tracking and alerting. It integrates directly into popular web frameworks—Django via middleware, Flask via an extension, and ASGI-based frameworks like FastAPI—as well as AWS Lambda functions, with minimal configuration required beyond providing an API key.
The package enriches error reports with framework-specific context: for Django and Flask, it includes request details like URL, parameters, headers, and session data; for Lambda, it auto-detects the environment; for ASGI applications, it wraps the middleware stack. By default, it skips reporting in development and test environments, reducing noise during local development. Configuration is environment-variable-driven or framework-specific (Django settings, Flask config), making it straightforward to deploy across different environments.
Use it for:
- Monitor production Django or Flask applications for uncaught exceptions and receive alerts when errors occur.
- Track errors in serverless AWS Lambda functions without manual exception handling in every handler.
- Centralize error reporting across multiple ASGI-based services (FastAPI, Starlette) with a single middleware.
- Automatically capture request context (URL, parameters, headers, session) alongside exception data for faster debugging.
- Suppress error reporting in development environments while enabling it selectively in staging or production.
Worth the install?
AI-flagged interpretation of the facts on this page — verify before relying
Honeybadger captures uncaught exceptions in Python applications and sends them to the Honeybadger error-monitoring service, with built-in support for Django, Flask, AWS Lambda, ASGI, and FastAPI.
Yes, if you need centralized error monitoring for a Django, Flask, or ASGI-based Python application and are willing to use the Honeybadger service. The package is actively maintained, has low install friction, uses a permissive license, and integrates cleanly with common frameworks. No security vulnerabilities are known. Install only if you have a Honeybadger account and API key.
Install
honeybadger on PyPI
pip
pip install honeybadgeruv
uv add honeybadgerpoetry
poetry add honeybadgerInstalling honeybadger
Before you install
Low install friction with only two runtime dependencies (psutil and six). Actively maintained with a release within the last month and an active repository.
License in practice
MIT license permits commercial and private use with minimal restrictions—suitable for most projects.
Quickstart
pip install honeybadger
from honeybadger import honeybadger
honeybadger.configure(api_key='YOUR_API_KEY')
# For Django, add to MIDDLEWARE:
# 'honeybadger.contrib.DjangoHoneybadgerMiddleware'
Requires a valid Honeybadger API key; errors are not reported in development and test environments by default unless force_report_data is enabled.
Verify before relying
- Whether psutil and six are required at runtime or only for specific features.
- Current Python version support beyond the classifiers listed (3.4–3.7).
- Whether the package is actively maintained beyond the single recent release.
Package facts
| License | MIT (permissive) |
| Python support | not specified |
| Install friction | low — pure-Python wheel |
| Runtime dependencies | 2 — psutil, six |
| Maintenance | actively maintained — 24 days since the last release |
| Last repo commit | |
| First released | |
| Downloads | 190,905/month — #9,898 on PyPI (30-day window, as of 2026-08-14) |
| Known vulnerabilities | none known (OSV.dev, checked 2026-08-14) |
Evidence: honeybadger-1.3.0-py3-none-any.whl
Tags
More Monitoring packages
Wraps any iterable to display a real-time…
copyleft · top 100 on PyPI
opentelemetry-semantic-conventionsProvides generated Python code for…
permissive · top 100 on PyPI
opentelemetry-sdkProvides the reference implementation of the…
permissive · top 100 on PyPI
opentelemetry-apiProvides the abstract API and interfaces for…
permissive · top 100 on PyPI
opentelemetry-exporter-otlp-proto-httpExports OpenTelemetry observability data to an…
permissive · top 1,000 on PyPI
opentelemetry-instrumentationProvides automatic instrumentation commands and…
permissive · top 1,000 on PyPI
bugsnagBugsnag is an error monitoring notifier that…
permissive · top 15,000 on PyPI
zappaZappa packages and deploys Python WSGI and ASGI…
permissive · top 15,000 on PyPI
opentelemetry-instrumentation-exceptionsAutomatically captures uncaught exceptions in…
permissive · top 15,000 on PyPI
rollbarSends exceptions, errors, and log messages to…
permissive · top 5,000 on PyPI
opentelemetry-instrumentation-asgiProvides ASGI middleware for OpenTelemetry that…
permissive · top 1,000 on PyPI
judoscaleJudoscale is a Python adapter that integrates…
permissive · top 15,000 on PyPI
opentelemetry-util-httpProvides ASGI and WSGI middleware and HTTP…
permissive · top 1,000 on PyPI
django-guidAttaches a unique correlation ID to all logs…
permissive · top 15,000 on PyPI
gunicornGunicorn is a WSGI and ASGI HTTP server for…
permissive · top 1,000 on PyPI