Skip to main content
airbrake-flask is a fast library that use the amazing requests library to send
error, exception messages to airbrake.io. You can use this library with the
amazing gevent library to send your request asynchronously.

Example Usage with gevent
-------------------------
from flask import Flask, request, got_request_exception
from airbrake.airbrake import AirbrakeErrorHandler
import gevent
import sys

app = Flask(__name__)
ENV = ('ENV' in os.environ and os.environ['ENV']) or 'prod'

def log_exception(error):
handler = AirbrakeErrorHandler(api_key="PUT_YOUR_AIRBRAKE_KEY_HERE",
env_name=ENV, request=request)
gevent.spawn(handler.emit, error, sys.exc_info())

got_request_exception.connect(log_exception, app)

Contribute
----------
This library is hosted on Github and you can contribute there:
http://github.com/kienpham2000/airbrake-flask

Metadata

Release files for airbrake-flask 1.0.7

For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.

Source distribution (sdist)

Source distribution for airbrake-flask 1.0.7
File Size Uploaded Provenance Actions
airbrake-flask-1.0.7.tar.gz 3.3 kB Without provenance Details for airbrake-flask-1.0.7.tar.gz

Release files / airbrake-flask-1.0.7.tar.gz

Download URL airbrake-flask-1.0.7.tar.gz
Size 3.3 kB
Tags Source
SHA-256 checksum
How to use checksums
e2fff64221bbbcb51c5951861f1554d9f1adf311e818389164a69205eb7396e3
BLAKE2b-256 checksum
How to use checksums
e513d50eff0b9c401696781b29709ffd5b81408250a96cd6b79624be94973fa5
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No

Security for airbrake-flask 1.0.7

Provenance

Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.

No provenance found

None of the files in this release were uploaded with provenance metadata.

A note on package security

PyPI is a repository for distributing packages, not a service for auditing them. While third-party security researchers and our staff do their best to detect and remove malicious packages, PyPI cannot guarantee the quality, security or suitability of any given package.

To learn more about protecting yourself from malicious actors, visit our package security documentation.

Anthropic, PBC Visionary sponsor Bloomberg Visionary sponsor Hudson River Trading Visionary sponsor Meta Visionary sponsor NVIDIA Visionary sponsor Microsoft Sustainability sponsor Depot Continuous Integration AWS Cloud computing and Security Sponsor Datadog Monitoring Fastly CDN Google Download Analytics Sentry Error logging StatusPage Status page