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-2.0.0rc2.tar.gz (52.3 kB view details)

Uploaded Source

Built Distribution

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

svix-2.0.0rc2-py3-none-any.whl (142.5 kB view details)

Uploaded Python 3

File details

Details for the file svix-2.0.0rc2.tar.gz.

File metadata

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

File hashes

Hashes for svix-2.0.0rc2.tar.gz
Algorithm Hash digest
SHA256 2fc9dcf8d840204d118334c649d427edca44fdc800c670a12b43caa6d3c63f10
MD5 f41490c6915f9d92ca3843111a9f5a42
BLAKE2b-256 994f0e762c00704ccd562a01ee58ed2debd9e18d7775e21c41d86a4fd75ae5d9

See more details on using hashes here.

Provenance

The following attestation bundles were made for svix-2.0.0rc2.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-2.0.0rc2-py3-none-any.whl.

File metadata

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

File hashes

Hashes for svix-2.0.0rc2-py3-none-any.whl
Algorithm Hash digest
SHA256 5e71cf6484c385b643c4f20c5c9dae8aa1ac2c45413ceff705fd08da2197f56f
MD5 a6842c903aba23e9484dcd5c675e1907
BLAKE2b-256 9c11d38f11675df7aae125dc3179129ab2c19d3e3697d0e8844d82977f2d6c3f

See more details on using hashes here.

Provenance

The following attestation bundles were made for svix-2.0.0rc2-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