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.0rc1.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.0rc1-py3-none-any.whl (142.5 kB view details)

Uploaded Python 3

File details

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

File metadata

  • Download URL: svix-2.0.0rc1.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.0rc1.tar.gz
Algorithm Hash digest
SHA256 1e2a0c19361166518500ced58d5eb4e95b936c027169b5246fd185a324071eba
MD5 0541b2f6e427b6b95aedf47d3ced8289
BLAKE2b-256 abcf5b3c9722b6d18f6a7f56a667648c446effc8f21fbe6384894c70fc5e9356

See more details on using hashes here.

Provenance

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

File metadata

  • Download URL: svix-2.0.0rc1-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.0rc1-py3-none-any.whl
Algorithm Hash digest
SHA256 55306fe43eb44adf3ae6fe9c5c5d3de6fd1ca3b6f7e0b17f5671b07c588001a3
MD5 3048df98d862d44da03902a28235df9e
BLAKE2b-256 54a0a6473f4e817ab37359334e95a1b2310d94e2f964d3db1611e1313965ed3a

See more details on using hashes here.

Provenance

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