standardwebhooks
Standard Webhooks
What it is and what it does
standardwebhooks is a Python library that implements webhook verification according to the Standard Webhooks specification. It takes a base64-encoded secret and validates incoming webhook payloads against their cryptographic signatures, ensuring that webhook requests are authentic and have not been tampered with. The library has no external runtime dependencies, making it lightweight to integrate into existing applications.
The package is designed for developers building webhook receivers or integrating with services that send Standard Webhooks-compliant notifications. It handles the cryptographic verification step that sits between receiving a webhook request and processing its payload, reducing the risk of accepting forged or corrupted webhook data.
Use it for:
- Verify incoming webhooks from third-party services to ensure they are authentic before processing.
- Validate webhook signatures in a webhook receiver endpoint to prevent accepting spoofed requests.
- Integrate webhook verification into an event-driven application that consumes Standard Webhooks.
- Add cryptographic validation to a webhook gateway or proxy layer.
Worth the install?
AI-flagged interpretation of the facts on this page — verify before relying
Provides webhook payload verification and signing for the Standard Webhooks specification, allowing you to validate incoming webhook requests using base64-encoded secrets.
Yes. The package is actively maintained, has zero known vulnerabilities, carries a permissive MIT license, installs with no dependencies, and solves a concrete security problem (webhook verification) for a widely-adopted standard. It is well-suited for any Python application that needs to receive and validate Standard Webhooks.
Install
standardwebhooks on PyPI
pip
pip install standardwebhooksuv
uv add standardwebhookspoetry
poetry add standardwebhooksInstalling standardwebhooks
Before you install
Low friction installation with no runtime dependencies. Actively maintained as of 24 days ago with support for current Python versions (3.9 through 3.14).
License in practice
MIT license permits free use, modification, and distribution with minimal restrictions, making it suitable for both open-source and commercial projects.
Quickstart
pip install standardwebhooks
from standardwebhooks.webhooks import Webhook
wh = Webhook(base64_secret)
wh.verify(webhook_payload, webhook_headers)
Requires Python 3.9 or later.
Verify before relying
- Whether the library supports both signing and verification, or verification only.
- What cryptographic algorithm the library uses for signature generation and validation.
- Whether it handles timestamp validation or replay attack prevention as part of Standard Webhooks spec.
Package facts
| License | MIT (permissive) |
| Python support | supports the current Python release (>=3.9) |
| Install friction | low — pure-Python wheel |
| Runtime dependencies | none |
| Maintenance | actively maintained — 24 days since the last release |
| First released | |
| Downloads | 2,600,078/month — #2,974 on PyPI (30-day window, as of 2026-08-14) |
| Known vulnerabilities | none known (OSV.dev, checked 2026-08-14) |
Evidence: standardwebhooks-1.1.0-py3-none-any.whl
Keywords: webhooks
Tags
More Software Development packages
Provides backported and experimental type hints…
permissive · top 100 on PyPI
numpyNumPy provides an N-dimensional array object…
permissive · top 100 on PyPI
fastapiFastAPI is a Python web framework for building…
permissive · top 100 on PyPI
annotated-docProvides a way to document function parameters,…
permissive · top 100 on PyPI
typerTyper builds command-line applications from…
permissive · top 1,000 on PyPI
distlibDistlib provides low-level packaging utilities…
permissive · top 1,000 on PyPI
cloudcruiseOfficial Python SDK for CloudCruise that…
permissive · top 5,000 on PyPI
truelayer-signingProduces and verifies cryptographic signatures…
permissive · top 15,000 on PyPI
svixSvix is a Python client library for the Svix…
permissive · top 5,000 on PyPI
jwtEncodes and decodes JSON Web Tokens (JWTs) with…
permissive · top 5,000 on PyPI
dhooks-liteSends messages and embeds to Discord channels…
unclear · top 15,000 on PyPI
aws-sns-message-validatorValidates AWS SNS HTTP endpoint messages by…
unclear · top 15,000 on PyPI
apimatic-core-interfacesProvides abstract interfaces and type…
permissive · top 15,000 on PyPI
python-jwtGenerates and verifies JSON Web Tokens (JWTs)…
permissive · top 15,000 on PyPI
c2pa-pythonRead, validate, create, and sign C2PA manifest…
permissive · top 15,000 on PyPI
PyJWTPyJWT encodes and decodes JSON Web Tokens (JWT)…
permissive · top 100 on PyPI