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.97.0.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.97.0-py3-none-any.whl (156.2 kB view details)

Uploaded Python 3

File details

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

File metadata

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

File hashes

Hashes for svix-1.97.0.tar.gz
Algorithm Hash digest
SHA256 864ee9d6f6214b4a91764d014db99d20e3b7633e58d28ecb045f4e8de7e7dbf0
MD5 3e39dc1739f6e65209f0cfed8ea1f3d6
BLAKE2b-256 1ba63078018dd955313e56f8632a287eb21d7112153fe8757f6760baaa6fdab3

See more details on using hashes here.

Provenance

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

File metadata

  • Download URL: svix-1.97.0-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.12

File hashes

Hashes for svix-1.97.0-py3-none-any.whl
Algorithm Hash digest
SHA256 1bbce540e4eec6a6c3becb629198f8ba4664ae5749739e9afd78779c9b338070
MD5 305adb994910a8dd59a0b4e51d9e666e
BLAKE2b-256 e6fe106cbe569d33490bc6bb10e2f385f11665f7870a9e2c3ae5b4f9bc3d4617

See more details on using hashes here.

Provenance

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