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.1.tar.gz.
File metadata
- Download URL: standardwebhooks-1.0.1.tar.gz
- Upload date:
- Size: 5.1 kB
- Tags: Source
- Uploaded using Trusted Publishing? Yes
- Uploaded via: twine/6.1.0 CPython/3.13.7
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
b557bb2e4b16ada179a517ec0fe6cbec5acf976c5619922bf29c457f89a451bd
|
|
| MD5 |
923b7fda69ac25474398db840c45fbc5
|
|
| BLAKE2b-256 |
c47d04fc3aa177403472d3ddae90953d8f878dc5fd21ba29c02fc9e97e10703f
|
Provenance
The following attestation bundles were made for standardwebhooks-1.0.1.tar.gz:
Publisher:
python-release.yml on standard-webhooks/standard-webhooks
-
Statement:
-
Statement type:
https://in-toto.io/Statement/v1 -
Predicate type:
https://docs.pypi.org/attestations/publish/v1 -
Subject name:
standardwebhooks-1.0.1.tar.gz -
Subject digest:
b557bb2e4b16ada179a517ec0fe6cbec5acf976c5619922bf29c457f89a451bd - Sigstore transparency entry: 963086700
- Sigstore integration time:
-
Permalink:
standard-webhooks/standard-webhooks@a1773d7ffc577d730e2bf4d4bd740a82a42aa904 -
Branch / Tag:
refs/tags/v1.0.2 - Owner: https://github.com/standard-webhooks
-
Access:
public
-
Token Issuer:
https://token.actions.githubusercontent.com -
Runner Environment:
github-hosted -
Publication workflow:
python-release.yml@a1773d7ffc577d730e2bf4d4bd740a82a42aa904 -
Trigger Event:
push
-
Statement type: