Skip to main content

Standard Webhooks

Project description

Python library for Standard Webhooks

Example

Verifying a webhook payload:

from standardwebhooks.webhooks import Webhook

wh = Webhook(base64_secret)
wh.verify(webhook_payload, webhook_headers)

Development

Requirements

  • python 3

Installing dependencies

python -m venv .venv
pip install -r requirements.txt && pip install -r requirements-dev.txt

Contributing

Before opening a PR be sure to format your code!

./scripts/format.sh

Running Tests

Simply run:

pytest

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

standardwebhooks-1.0.0.tar.gz (4.9 kB view hashes)

Uploaded Source

Supported by

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