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:
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)
Currently the app adds a single endpoint at {PREFIX}/receive. This will be
the webhook path to give to Sendgrid. In the example above, the full endpoint
would therefore be at /sendgrid/webhooks/receive.
Credits
Tools used in rendering this package:
History
1.2.2 (2015-12-15)
Updating documentation with modules
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.
Release files for pyramid-sendgrid-webhooks 1.2.3
For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.
Source distribution (sdist)
| File | Size | Uploaded | |
|---|---|---|---|
| pyramid_sendgrid_webhooks-1.2.3.tar.gz | 68.8 kB | Details |
Built distribution (wheel)
| File | Interpreter | ABI | Platform | Reset |
|---|---|---|---|---|
| pyramid_sendgrid_webhooks-1.2.3-py2.py3-none-any.whl | Python 2, Python 3 | none | any | Details |
Total release size:77.2 kB
Release files / pyramid_sendgrid_webhooks-1.2.3.tar.gz
| Download URL | pyramid_sendgrid_webhooks-1.2.3.tar.gz |
|---|---|
| Size | 68.8 kB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
cd7e1317952a71d4743cdc64578d468307dc3289d8fb4f2c2231a05e90c9f971
|
|
BLAKE2b-256 checksum How to use checksums |
ff9a4d8e4f0b95e17f2e3eba071b7b6a62f7d709c8ec35aea31924145766c9ff
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
Release files / pyramid_sendgrid_webhooks-1.2.3-py2.py3-none-any.whl
| Download URL | pyramid_sendgrid_webhooks-1.2.3-py2.py3-none-any.whl |
|---|---|
| Size | 8.4 kB |
| Tags | Python 2 Python 3 |
|
SHA-256 checksum How to use checksums |
35126b2dd274525b0e84a894aaa9a2497ac1789a90e817e2ec7ed009865798b8
|
|
BLAKE2b-256 checksum How to use checksums |
6284d6a89131de13787f573190a64a9da74177d7e17dfc30d0b5826cc8cc507d
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |