Skip to main content

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

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.1.0.tar.gz (3.2 kB view details)

Uploaded Source

Built Distribution

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

standardwebhooks-1.1.0-py3-none-any.whl (3.5 kB view details)

Uploaded Python 3

File details

Details for the file standardwebhooks-1.1.0.tar.gz.

File metadata

  • Download URL: standardwebhooks-1.1.0.tar.gz
  • Upload date:
  • Size: 3.2 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? Yes
  • Uploaded via: twine/6.1.0 CPython/3.13.14

File hashes

Hashes for standardwebhooks-1.1.0.tar.gz
Algorithm Hash digest
SHA256 e5cb66e21a6356ebb9375aeb57f1348583323015808d475a7c1baaa4b718068a
MD5 9e1a747a5b2aa5367ed695b19df694f3
BLAKE2b-256 5081a26b812525dd9ad6cc0f6ba2f8eafd5bf595542e319d95123aa92b51bf22

See more details on using hashes here.

Provenance

The following attestation bundles were made for standardwebhooks-1.1.0.tar.gz:

Publisher: python-release.yml on standard-webhooks/standard-webhooks

Attestations: Values shown here reflect the state when the release was signed and may no longer be current.

File details

Details for the file standardwebhooks-1.1.0-py3-none-any.whl.

File metadata

File hashes

Hashes for standardwebhooks-1.1.0-py3-none-any.whl
Algorithm Hash digest
SHA256 9a88d48a1f198be61517fc7ad328cf58ba02b73f0fbd8941d4213e9c0b6c2a61
MD5 6ae85949c5411b72c46258a0ce950cd9
BLAKE2b-256 21dc0cd2bd9a536e61ad0ee9de3b724492a38faa88ce1828fbc15940824664c3

See more details on using hashes here.

Provenance

The following attestation bundles were made for standardwebhooks-1.1.0-py3-none-any.whl:

Publisher: python-release.yml on standard-webhooks/standard-webhooks

Attestations: Values shown here reflect the state when the release was signed and may no longer be current.

Supported by

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