Metadata-Version: 1.1
Name: sanic-sentry
Version: 0.1.6
Summary: Sentry integration to sanic web server
Home-page: https://github.com/serathius/sanic-sentry
Author: Marek Siarkowicz
Author-email: UNKNOWN
License: MIT
Description-Content-Type: UNKNOWN
Description: Sanic-Sentry
        ============
        
        Sanic-Sentry -- Sentry integration to sanic web server.
        
        
        Requirements
        ------------
        
        - python >= 3.5
        
        Installation
        ------------
        
        **Sanic-Sentry** should be installed using pip: ::
        
            pip install sanic-sentry
        
        Usage
        -----
        
        
        To initialize plugin you can pass 'app' to __init__:
        
        .. code:: python
        
          >>> from sanic import Sanic
          >>> from sanic_sentry import SanicSentry
          >>> app = Sanic(__name__)
          >>> plugin = SanicSentry(app)
        
        Or use `init_app` to reverse dependency:
        
        .. code:: python
        
          >>> plugin = SanicSentry()
          >>> plugin.init_app(app)
        
        *Optional parameters:*
        
        **SENTRY_DSN**  - Sentry DSN for your application:
        
        If not set raven will fallback to SENTRY_DSN environment variable. Not setting either will disable raven.
        
        .. code:: python
        
          >>> app.config['SENTRY_DSN'] = 'http://public:secret@example.com/1'
        
        **SENTRY_PARAMS**  - Configure advanced parameters for sentry:
        
        Explained in https://docs.sentry.io/clients/python/advanced/
        
        .. code:: python
        
          >>> app.config['SENTRY_PARAMS'] = {
          ...     "release": "myapp_v0.4",
          ...     "environment": "production",
          ... }
        
Keywords: sanic,sentry
Platform: Any
Classifier: Development Status :: 3 - Alpha
Classifier: Intended Audience :: Developers
Classifier: License :: OSI Approved :: MIT License
Classifier: Natural Language :: English
Classifier: Operating System :: OS Independent
Classifier: Programming Language :: Python
Classifier: Programming Language :: Python :: 3.5
Classifier: Programming Language :: Python :: 3.6
Classifier: Programming Language :: Python :: 3 :: Only
Classifier: Topic :: Software Development :: Libraries :: Python Modules
Classifier: Topic :: Software Development :: Testing
Classifier: Topic :: Utilities
