eep-signer (Python)
Python port of @eep-dev/signer — Standard Webhooks HMAC-SHA256 signing and verification for EEP.
Install
pip install -e .
Usage
from eep_signer import EEPSigner, verify_eep_webhook
# Sign a webhook
signer = EEPSigner(secret)
signature = signer.sign(webhook_id, timestamp, raw_body)
# Verify a webhook (low-level)
is_valid = signer.verify(webhook_id, timestamp, signature, raw_body)
# Verify a webhook (convenience — FastAPI / Flask)
from eep_signer import verify_eep_webhook
is_valid = verify_eep_webhook(raw_body, request.headers, secret)
Tests
pip install -e ".[dev]"
pytest
License
Apache-2.0
Metadata
Release files for eep-signer 0.1.0
For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.
Source distribution (sdist)
| File | Size | Uploaded | |
|---|---|---|---|
| eep_signer-0.1.0.tar.gz | 8.0 kB | Details |
Built distribution (wheel)
| File | Interpreter | ABI | Platform | Reset |
|---|---|---|---|---|
| eep_signer-0.1.0-py3-none-any.whl | Python 3 | none | any | Details |
Total release size: 15.7 kB
Release files / eep_signer-0.1.0.tar.gz
| Download URL | eep_signer-0.1.0.tar.gz |
|---|---|
| Size | 8.0 kB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
da7617863182d54f5ad175b510f5b65ac6589fab4e0760ccf5aa4e16557df714
|
|
BLAKE2b-256 checksum How to use checksums |
a4371055fe8a90d1e2e6baaa9b1612ed792055be13242339ed584fd6fb1d5cfb
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/6.2.0 CPython/3.13.12
|
Release files / eep_signer-0.1.0-py3-none-any.whl
| Download URL | eep_signer-0.1.0-py3-none-any.whl |
|---|---|
| Size | 7.6 kB |
| Tags | Python 3 |
|
SHA-256 checksum How to use checksums |
181263c93678971e4b9c64292ac98a2bd322fc0e0fc8951344a3a80ce24cb678
|
|
BLAKE2b-256 checksum How to use checksums |
d3e4c1cd165870ceb7eda94942b425de2749ce75719bd8a6fd4c9d5ffbb92f78
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/6.2.0 CPython/3.13.12
|