Skip to main content

Parses incoming Sendgrid Webhooks in Pyramid apps

Project description

https://img.shields.io/pypi/v/pyramid_sendgrid_webhooks.svg https://img.shields.io/travis/GoodRx/pyramid-sendgrid-webhooks.svg Documentation Status

Parses incoming Sendgrid Webhooks in Pyramid apps

Features

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

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

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

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:

History

1.2.1 (2015-12-15)

  • Update trove classifiers

1.2.0 (2015-12-14)

  • Correct package listing in setup.py

1.0.0 (2015-12-07)

  • First release on PyPI.

Project details


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

pyramid_sendgrid_webhooks-1.2.1.tar.gz (68.8 kB view details)

Uploaded Source

Built Distribution

If you're not sure about the file name format, learn more about wheel file names.

pyramid_sendgrid_webhooks-1.2.1-py2.py3-none-any.whl (8.7 kB view details)

Uploaded Python 2Python 3

File details

Details for the file pyramid_sendgrid_webhooks-1.2.1.tar.gz.

File metadata

File hashes

Hashes for pyramid_sendgrid_webhooks-1.2.1.tar.gz
Algorithm Hash digest
SHA256 4535c397d4c814f1495742683ff7442d25e3a12170b0685f519f9a789c1fd181
MD5 13d40cb0b81ba2d6e5d24d9fbf0e3f29
BLAKE2b-256 644785c137a4a7a5c0a9c98f63e95af62f97743221696b2d69d2c128e3cb4210

See more details on using hashes here.

File details

Details for the file pyramid_sendgrid_webhooks-1.2.1-py2.py3-none-any.whl.

File metadata

File hashes

Hashes for pyramid_sendgrid_webhooks-1.2.1-py2.py3-none-any.whl
Algorithm Hash digest
SHA256 b97fdf983eb96b9adfecd39b33ae85ca580251d6989f0e8b6f16ce363b849725
MD5 d69b2f90523d09e417170785cde72024
BLAKE2b-256 9dcb8f993681f5622675f430c422776dcd65b4c4bb4c822b30e394ac99a03f95

See more details on using hashes here.

Supported by

AWS Cloud computing and Security Sponsor Datadog Monitoring Depot Continuous Integration Fastly CDN Google Download Analytics Pingdom Monitoring Sentry Error logging StatusPage Status page