skillfed

honeybadger

Send Python and Django errors to Honeybadger

honeybadger v1.3.0 190.9K downloads/30d#9,898 on PyPI22
Permissive license MIT Active released

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 honeybadger

uv

uv add honeybadger

poetry

poetry add honeybadger

Installing 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

Development Status :: 4 - BetaIntended Audience :: DevelopersLicense :: OSI Approved :: MIT LicenseProgramming Language :: Python :: 3.4Programming Language :: Python :: 3.5Programming Language :: Python :: 3.6Programming Language :: Python :: 3.7Topic :: System :: Monitoring

Tags

exception monitoring serviceerror tracking pythondjango error reportingflask exception handlerapplication error monitoringcrash reporting serviceuncaught exception tracking
error-trackingdjango-flaskserverless

More Monitoring packages