Skip to main content

Wristband Framework-Agnostic JWT Validation SDK for Python

Wristband provides enterprise-ready auth that is secure by default, truly multi-tenant, and ungated for small businesses.

For detailed setup instructions and usage guidelines, visit the project's GitHub repository.

Details

This SDK provides secure JWT validation capabilities for applications using Wristband authentication. It is framework-agnostic and works with FastAPI, Flask, Django, and other Python web frameworks. The SDK follows OWASP security best practices and is supported for Python 3.9+. Key functionalities include:

  • Extracting Bearer tokens from HTTP Authorization headers.
  • Validating JWT signatures using Wristband's JWKS endpoint.
  • Verifying token claims including issuer, expiration, and algorithm allowlisting to prevent common JWT vulnerabilities.
  • Automatic JWKS key caching and rotation for optimal performance.
  • Comprehensive error handling with detailed validation messages.

You can learn more about JWTs in Wristband in our documentation:

Questions

Reach out to the Wristband team at support@wristband.dev for any questions regarding this SDK.

Release files for wristband-python-jwt 0.1.2

For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.

Source distribution (sdist)

Source distribution for wristband-python-jwt 0.1.2
File Size Uploaded
wristband_python_jwt-0.1.2.tar.gz 34.0 kB Details

Built distribution (wheel)

Table of built distributions (wheels) for wristband-python-jwt 0.1.2
File Interpreter ABI Platform
wristband_python_jwt-0.1.2-py3-none-any.whl Python 3 none any Details

Total release size: 54.6 kB

Release files / wristband_python_jwt-0.1.2.tar.gz

Download URL wristband_python_jwt-0.1.2.tar.gz
Size 34.0 kB
Tags Source
SHA-256 checksum
How to use checksums
0af38e58323751336e5432198fb6aaddd851d4064464ce916625c6e8793eb00f
BLAKE2b-256 checksum
How to use checksums
eb923e1a372b0aceb100584185d53c60ed93b523722a171024ec55a4634a5072
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/6.2.0 CPython/3.14.3

Release files / wristband_python_jwt-0.1.2-py3-none-any.whl

Download URL wristband_python_jwt-0.1.2-py3-none-any.whl
Size 20.6 kB
Tags Python 3
SHA-256 checksum
How to use checksums
7129307356d2ab07265ca375516a7c27c6e470a6c6679874f404099128674ab1
BLAKE2b-256 checksum
How to use checksums
cfc14562f7bedead438ef7446591275caaa3c7c1dd29ef11123502893c9dfbbe
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/6.2.0 CPython/3.14.3

Release history Release notifications | RSS feed

This release

0.1.2 This release

2 release files

0.1.1

2 release files

0.1.0

2 release files

Anthropic, PBC Visionary sponsor Bloomberg Visionary sponsor Hudson River Trading Visionary sponsor Meta Visionary sponsor NVIDIA Visionary sponsor Microsoft Sustainability sponsor Depot Continuous Integration AWS Cloud computing and Security Sponsor Datadog Monitoring Fastly CDN Google Download Analytics Sentry Error logging StatusPage Status page