Metadata-Version: 2.0
Name: pyramid-sendgrid-webhooks
Version: 1.2.0
Summary: Parses incoming Sendgrid Webhooks in Pyramid apps
Home-page: https://github.com/GoodRx/pyramid-sendgrid-webhooks
Author: Kyle Stark
Author-email: kyle@goodrx.com
License: MIT
Keywords: pyramid_sendgrid_webhooks
Platform: UNKNOWN
Classifier: Development Status :: 2 - Pre-Alpha
Classifier: Intended Audience :: Developers
Classifier: License :: OSI Approved :: MIT License
Classifier: Natural Language :: English
Classifier: Programming Language :: Python :: 2
Classifier: Programming Language :: Python :: 2.6
Classifier: Programming Language :: Python :: 2.7
Classifier: Programming Language :: Python :: 3
Classifier: Programming Language :: Python :: 3.3
Classifier: Programming Language :: Python :: 3.4
Requires-Dist: pyramid (>=1.4.0)

===============================
Pyramid Sendgrid Webhooks
===============================

.. image:: https://img.shields.io/pypi/v/pyramid_sendgrid_webhooks.svg
        :target: https://pypi.python.org/pypi/pyramid_sendgrid_webhooks

.. image:: https://img.shields.io/travis/GoodRx/pyramid-sendgrid-webhooks.svg
        :target: https://travis-ci.org/GoodRx/pyramid-sendgrid-webhooks

.. image:: https://readthedocs.org/projects/pyramid_sendgrid_webhooks/badge/?version=latest
        :target: https://readthedocs.org/projects/pyramid_sendgrid_webhooks/?badge=latest
        :alt: Documentation Status


Parses incoming Sendgrid Webhooks in Pyramid  apps

* Free software: MIT license
* Documentation: https://pyramid_sendgrid_webhooks.readthedocs.org.

Features
--------

To use this app, add a configuration statement with your intended webhook
callback path:

.. code:: python

    config.include('pyramid_sendgrid_webhooks', '/sendgrid/webhooks')

Then, set up subscribers for any events that you want to be notified of:

.. code:: python

    from pyramid_sendgrid_webhooks import events

    def handle_bounce(event):
        request = event.request
        print event.reason

    ...
    config.add_subscriber(handle_bounce, events.BounceEvent)


Credits
---------

Tools used in rendering this package:

*  Cookiecutter_
*  `cookiecutter-pypackage`_

.. _Cookiecutter: https://github.com/audreyr/cookiecutter
.. _`cookiecutter-pypackage`: https://github.com/audreyr/cookiecutter-pypackage




History
-------

1.2.0 (2015-12-14)
---------------------

* Correct package listing in setup.py

1.0.0 (2015-12-07)
---------------------

* First release on PyPI.


