--- id: honeybadger version: "1.3.0" license: MIT license_treatment: permissive maintenance: active --- # honeybadger — Send Python and Django errors to Honeybadger License: permissive · Maintenance: active · Downloads: 190.9K/mo ## 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 above — 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 pip install honeybadger uv add honeybadger 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: unspecified - Install friction: low - Maintenance: active - Downloads: 190.9K/month (top 15,000 on PyPI) - Known vulnerabilities: none known ## Tags exception monitoring service, error tracking python, django error reporting, flask exception handler, application error monitoring, crash reporting service, uncaught exception tracking, error-tracking, django-flask, serverless [View on SkillFed](https://skillfed.io/packages/honeybadger) · [View on PyPI](https://pypi.org/project/honeybadger/)