standardwebhooks-1.0.1
توضیحات
Standard Webhooks
| ویژگی | مقدار |
|---|---|
| سیستم عامل | OS Independent |
| نام فایل | standardwebhooks-1.0.1 |
| نام | standardwebhooks |
| نسخه کتابخانه | 1.0.1 |
| نگهدارنده | [] |
| ایمیل نگهدارنده | [] |
| نویسنده | Standard Webhooks |
| ایمیل نویسنده | - |
| آدرس صفحه اصلی | - |
| آدرس اینترنتی | https://pypi.org/project/standardwebhooks/ |
| مجوز | MIT |
Python library for Standard Webhooks
# Example
Verifying a webhook payload:
```python
from standardwebhooks.webhooks import Webhook
wh = Webhook(base64_secret)
wh.verify(webhook_payload, webhook_headers)
```
# Development
## Requirements
- python 3
## Installing dependencies
```sh
python -m venv .venv
pip install -r requirements.txt && pip install -r requirements-dev.txt
```
## Contributing
Before opening a PR be sure to format your code!
```sh
./scripts/format.sh
```
## Running Tests
Simply run:
```sh
pytest
```
نیازمندی
| مقدار | نام |
|---|---|
| - | httpx>=0.23.0 |
| - | attrs>=21.3.0 |
| - | python-dateutil |
| - | Deprecated |
| - | types-python-dateutil |
| - | types-Deprecated |
زبان مورد نیاز
| مقدار | نام |
|---|---|
| >=3.6 | Python |
نحوه نصب
نصب پکیج whl standardwebhooks-1.0.1:
pip install standardwebhooks-1.0.1.whl
نصب پکیج tar.gz standardwebhooks-1.0.1:
pip install standardwebhooks-1.0.1.tar.gz