Svix
Project description
Svix - Webhooks as a service
Website | Documentation | Community Slack
Python library for interacting with the Svix API and verifying webhook signatures
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
- python 3
Installing dependencies
python -m venv .venv
pip install -r requirements.txt && pip install -r requirements-dev.txt
./scripts/generate_openapi.sh
Contributing
Before opening a PR be sure to format your code!
./scripts/format.sh
Running Tests
Simply run:
pytest
Project details
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
File details
Details for the file svix-0.54.0.tar.gz
.
File metadata
- Download URL: svix-0.54.0.tar.gz
- Upload date:
- Size: 46.4 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/3.8.0 pkginfo/1.8.2 readme-renderer/34.0 requests/2.27.1 requests-toolbelt/0.9.1 urllib3/1.26.9 tqdm/4.63.0 importlib-metadata/4.11.3 keyring/23.5.0 rfc3986/2.0.0 colorama/0.4.4 CPython/3.9.11
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | 8b9ef353338bca7bdc7ac5548e5f694e475b9625e6e8a1f82aa5d11f47e7ea8b |
|
MD5 | b4f877efa1d30f5be532e5017b64a18f |
|
BLAKE2b-256 | 6d4f0e0ab9ee0a726068eb7a7ebca7c5ae6aa634f4e51899f8b0f6cde5e7a355 |