# Buildsheet autogenerated by ravenadm tool -- Do not edit. NAMEBASE= python-PyJWT VERSION= 2.8.0 KEYWORDS= python VARIANTS= v11 v12 SDESC[v11]= JSON Web Token implementation in Python (3.11) SDESC[v12]= JSON Web Token implementation in Python (3.12) HOMEPAGE= https://github.com/jpadilla/pyjwt CONTACT= Python_Automaton[python@ironwolf.systems] DOWNLOAD_GROUPS= main SITES[main]= PYPIWHL/2b/4f/e04a8067c7c96c364cef7ef73906504e2f40d690811c021e1a1901473a19 DISTFILE[1]= PyJWT-2.8.0-py3-none-any.whl:main DF_INDEX= 1 SPKGS[v11]= single SPKGS[v12]= single OPTIONS_AVAILABLE= PY311 PY312 OPTIONS_STANDARD= none VOPTS[v11]= PY311=ON PY312=OFF VOPTS[v12]= PY311=OFF PY312=ON USES= cpe DISTNAME= PyJWT-2.8.0.dist-info CPE_PRODUCT= pyjwt CPE_VENDOR= pyjwt_project GENERATED= yes [PY311].USES_ON= python:v11,wheel [PY312].USES_ON= python:v12,wheel [FILE:1800:descriptions/desc.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 [FILE:107:distinfo] 59127c392cc44c2da5bb3192169a91f429924e17aff6534d70fdc02ab3e04320 22591 PyJWT-2.8.0-py3-none-any.whl