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

Uploaded Source

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

Hashes for standardwebhooks-1.0.1.tar.gz
Algorithm Hash digest
SHA256 b557bb2e4b16ada179a517ec0fe6cbec5acf976c5619922bf29c457f89a451bd
MD5 923b7fda69ac25474398db840c45fbc5
BLAKE2b-256 c47d04fc3aa177403472d3ddae90953d8f878dc5fd21ba29c02fc9e97e10703f

See more details on using hashes here.

Provenance

The following attestation bundles were made for standardwebhooks-1.0.1.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.

Supported by

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