Metadata-Version: 1.1
Name: airbrake-flask
Version: 1.0.2
Summary: airbrake-flask - Airbrake client for Python Flask
Home-page: https://github.com/kienpham2000/airbrake-flask
Author: Kien Pham, Kane Kim
Author-email: kien@sendgrid.com
License: MIT
Description: 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
Keywords: error airbrake flask exception
Platform: UNKNOWN
Classifier: Development Status :: 5 - Production/Stable
Classifier: Environment :: Console
Classifier: Intended Audience :: Developers
Classifier: License :: OSI Approved :: MIT License
Classifier: Operating System :: OS Independent
Classifier: Programming Language :: Python :: 2
Classifier: Topic :: Software Development :: Quality Assurance
Classifier: Topic :: Software Development :: Testing
