serp-jwt
PyJWT-compatible JSON Web Tokens (HS256) for Serpentine.
from serp_jwt import encode, decode, ExpiredSignatureError
token = encode({"sub": "42", "exp": 1900000000}, "secret", algorithm="HS256")
claims = decode(token, "secret", algorithms=["HS256"])
Tokens are byte-identical to PyJWT 2.x output. decode verifies the signature in constant
time and checks exp, nbf, iat, aud and iss (with leeway=, audience=, issuer=).
Caps: HS256 only; str keys; integer time claims.
Metadata
Release files for serp-jwt 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 | Provenance | Actions |
|---|---|---|---|---|
| serp_jwt-0.1.0.tar.gz | 4.9 kB | With provenance | Details for serp_jwt-0.1.0.tar.gz |
Built distribution (wheel)
| File | Interpreter | ABI | Platform | Actions Reset |
|---|---|---|---|---|
| serp_jwt-0.1.0-py3-none-any.whl | Python 3 | none | any | Details for serp_jwt-0.1.0-py3-none-any.whl |
Total release size: 8.9 kB
Release files / serp_jwt-0.1.0.tar.gz
| Download URL | serp_jwt-0.1.0.tar.gz |
|---|---|
| Size | 4.9 kB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
36108918d4769d7bf61ddc74cf7f45564765777ab304d80f31b83303898a5f01
|
|
BLAKE2b-256 checksum How to use checksums |
3d0ae91f7f2270a82a660e5a695be576f7de0602a0c1fbeaa0db94cc032143b3
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
Yes |
| Uploaded via |
twine/7.0.0 CPython/3.13.16
|
Provenance
Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.
PyPI Publish Attestation
PyPI verified that this artifact, at this checksum, originated from the publisher listed below.
Signed by GitHub Actions, verified by PyPI on Oct 27, 2026.
Transparency logRelease files / serp_jwt-0.1.0-py3-none-any.whl
| Download URL | serp_jwt-0.1.0-py3-none-any.whl |
|---|---|
| Size | 4.1 kB |
| Tags | Python 3 |
|
SHA-256 checksum How to use checksums |
cde10f58a8a21e342355dd31c128974461a05eb32a275ac734462b9515b32df6
|
|
BLAKE2b-256 checksum How to use checksums |
be01ae23bdc5f16067de86eaa171816b69399d4023bf3b1a35de05bc0aebfec1
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
Yes |
| Uploaded via |
twine/7.0.0 CPython/3.13.16
|
Provenance
Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.
PyPI Publish Attestation
PyPI verified that this artifact, at this checksum, originated from the publisher listed below.
Signed by GitHub Actions, verified by PyPI on Oct 27, 2026.
Transparency logSecurity for serp-jwt 0.1.0
Provenance
Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.
Full provenance
Both files in this release have been uploaded with provenance metadata.
Attestation for serp_jwt-0.1.0.tar.gz
PyPI Publish Attestation
PyPI verified that this artifact, at this checksum, originated from the publisher listed below.
Signed by GitHub Actions, verified by PyPI on Oct 27, 2026.
Transparency logA note on package security
PyPI is a repository for distributing packages, not a service for auditing them. While third-party security researchers and our staff do their best to detect and remove malicious packages, PyPI cannot guarantee the quality, security or suitability of any given package.
To learn more about protecting yourself from malicious actors, visit our package security documentation.