python-PyJWT
Port variant v11
Summary JSON Web Token implementation in Python (3.11)
Package version 2.8.0
Homepage https://github.com/jpadilla/pyjwt
Keywords python
Maintainer Python Automaton
License Not yet specified
Other variants v12
Ravenports Buildsheet | History
Ravensource Port Directory | History
Last modified 09 OCT 2023, 04:40:21 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| | 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/developers `_. | +--------------+-----------------------------------------------------------------+-------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------+ .. |auth0-logo| image:: https://user-images.githubusercontent.com/83319/31722733-de95bbde-b3ea-11e7-96bf-4f4e8f915588.png 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)
PY311 ON Build using Python 3.11 PY312 OFF Build using Python 3.12
Package Dependencies by Type
Build (only) python-pip:single:v11
autoselect-python:single:standard
Build and Runtime python311:single:standard
Download groups
main mirror://PYPIWHL/2b/4f/e04a8067c7c96c364cef7ef73906504e2f40d690811c021e1a1901473a19
Distribution File Information
59127c392cc44c2da5bb3192169a91f429924e17aff6534d70fdc02ab3e04320 22591 PyJWT-2.8.0-py3-none-any.whl
Ports that require python-PyJWT:v11
python-social-auth-core2:v11 Social authentication/registration (3.11)
python-social-auth-core:v11 Python social authentication made simple (3.11)