python-PyJWT
Port variant v15
Summary JSON Web Token implementation in Python (3.15)
Package version 2.15.1
Homepage https://github.com/jpadilla/pyjwt
Keywords python
Maintainer Python Automaton
License Not yet specified
Other variants v14
Ravenports Buildsheet | History
Ravensource Port Directory | History
Last modified 13 NOV 2026, 13:25:52 UTC
Port created 01 JAN 2023, 17:21:46 UTC
Subpackage Descriptions
single PyJWT ===== A Python implementation of [RFC 7519]. Original implementation was written by `@progrium `_. Sponsor ------- .. |auth0-logo| image:: https://github.com/user-attachments/assets/ee98379e-ee76-4bcb-943a-e25c4ea6d174 :width: 160px +--------------+-------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------+ | |auth0-logo| | If you want to quickly add secure token-based authentication to Python projects, feel free to check Auth0's Python SDK and free plan at `auth0.com/signup `_. | +--------------+-----------------------------------------------------------------+-------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------+ Installing ---------- Install with **pip**: .. code-block:: console $ pip install PyJWT Usage ----- .. code-block:: pycon >>> import jwt >>> encoded = jwt.encode({"some": "payload"}, "secret", algorithm="HS256") >>> print(encoded) eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJzb21lIjoicGF5bG9hZCJ9.4twFt5NiznN84AWoo1d7KO1T_yoc0Z6XOpOVswacPZg >>> jwt.decode(encoded, "secret", algorithms=["HS256"]) {'some': 'payload'} Documentation ------------- View the full docs online at https://pyjwt.readthedocs.io/en/stable/ Tests ----- You can run tests from the project root after cloning with: .. code-block:: console $ tox
Configuration Switches (platform-specific settings discarded)
PY314 OFF Build using Python 3.14 PY315 ON Build using Python 3.15
Package Dependencies by Type
Build (only) python315:dev:std
python-pip:single:v15
autoselect-python:single:std
Build and Runtime python315:primary:std
Download groups
main mirror://PYPIWHL/50/ca/44de4e75f8aadc457f0634be3b542815078ded46dca30efb960edeecad6e
Distribution File Information
42d59d631f7768a1028a64c7ff581a9bf7519804daf91fc5b6c56e30eec5e193 33860 python-src/pyjwt-2.15.1-py3-none-any.whl
Ports that require python-PyJWT:v15
python-social-auth-core2:v15 Social authentication/registration (3.15)
python-social-auth-core:v15 Python social authentication made simple (3.15)