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
Release history Release notifications | RSS feed
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
File details
Details for the file standardwebhooks-1.0.0.tar.gz
.
File metadata
- Download URL: standardwebhooks-1.0.0.tar.gz
- Upload date:
- Size: 4.9 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/4.0.2 CPython/3.11.6
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | d94b99c0dcea84156e03adad94f8dba32d5454cc68e12ec2c824051b55bb67ff |
|
MD5 | 952224765b6c8c5b3f12dac0cd102cfb |
|
BLAKE2b-256 | 48c84c9705c0499c8b5ac54a082539d4cdf1c6b3977b7475d60fcb7c666efc86 |