Skip to main content

Svix webhooks API client and webhook verification library

Project description

Svix - Webhooks as a service

Website | Documentation | Community Slack

Python library for interacting with the Svix API and verifying webhook signatures

GitHub tag PyPI

Join our slack

Usage Documentation

You can find general usage documentation at https://docs.svix.com. For complete API documentation with code examples for each endpoint in all of our official client libraries head over to our API documentation site at https://api.svix.com.

Language Support

⚡️ Features ⚡️
Officially Supported
API Support
Signature Verification
Caveats None! 🚀

Installation

pip install svix

Usage

Please refer to the documentation or the API reference for more usage instructions.

Async

from svix.api import SvixAsync, ApplicationIn

svix = SvixAsync("AUTH_TOKEN")
app = await svix.application.create(ApplicationIn(name="Application name"))

Sync

from svix.api import Svix, ApplicationIn

svix = Svix("AUTH_TOKEN")
app = svix.application.create(ApplicationIn(name="Application name"))

Development

First checkout the core README for details on how to generate our API bindings, then follow the steps below.

Requirements

Installing dependencies

uv sync --frozen --all-groups

Contributing

Before opening a PR be sure to format your code!

uv run ./scripts/format.sh
uv run ./scripts/lint.sh

Running Tests

Simply run:

uv run pytest

Note that this will run integration tests that require a running Docker/Podman/etc server and working docker-compose

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

svix-1.99.1.tar.gz (55.8 kB view details)

Uploaded Source

Built Distribution

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

svix-1.99.1-py3-none-any.whl (156.2 kB view details)

Uploaded Python 3

File details

Details for the file svix-1.99.1.tar.gz.

File metadata

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

File hashes

Hashes for svix-1.99.1.tar.gz
Algorithm Hash digest
SHA256 70374aeb3cc19fcff384e9e22a35fce16c57bf1c95a325b940dc0b5b765c7047
MD5 60817db438be40b818ce9434d9a6b837
BLAKE2b-256 48f5f12d2a1254c9c891b4cfdf0e94bdf706057b0328df5f4ba9aeb6b2be3b78

See more details on using hashes here.

Provenance

The following attestation bundles were made for svix-1.99.1.tar.gz:

Publisher: python-release.yml on svix/svix-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 svix-1.99.1-py3-none-any.whl.

File metadata

  • Download URL: svix-1.99.1-py3-none-any.whl
  • Upload date:
  • Size: 156.2 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? Yes
  • Uploaded via: twine/6.1.0 CPython/3.13.14

File hashes

Hashes for svix-1.99.1-py3-none-any.whl
Algorithm Hash digest
SHA256 c5e4af1cbcf19ed93b5a02c91f036850d10fc3d22a83092ecfcb83f637f5bb61
MD5 00a93f1189120324d998c3d23e19babf
BLAKE2b-256 9afc0d33bc99ede3fe0a029e47c947a3c2ad1b9cba1d6fcbc432765f5ac282b0

See more details on using hashes here.

Provenance

The following attestation bundles were made for svix-1.99.1-py3-none-any.whl:

Publisher: python-release.yml on svix/svix-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