Metadata-Version: 2.1
Name: jsonwebtoken
Version: 1.0.0
Summary: JSON Web Token implementation in Python (Fork from Pyjsonwebtoken)
Home-page: https://github.com/jo-project/py-jsonwebtoken
Author: jo-project
Author-email: jo.project.0911@gmail.com
License: GNU Lesser
Keywords: json,jsonwebtoken,security,signing,token,web
Classifier: Development Status :: 5 - Production/Stable
Classifier: Intended Audience :: Developers
Classifier: Natural Language :: English
Classifier: License :: OSI Approved :: MIT License
Classifier: Programming Language :: Python
Classifier: Programming Language :: Python :: 3
Classifier: Programming Language :: Python :: 3 :: Only
Classifier: Programming Language :: Python :: 3.7
Classifier: Programming Language :: Python :: 3.8
Classifier: Programming Language :: Python :: 3.9
Classifier: Programming Language :: Python :: 3.10
Classifier: Programming Language :: Python :: 3.11
Classifier: Topic :: Utilities
Requires-Python: >=3.7
Description-Content-Type: text/x-rst
Provides-Extra: docs
Provides-Extra: crypto
Provides-Extra: tests
Provides-Extra: dev
License-File: LICENSE
License-File: AUTHORS.rst

jsonwebtoken
============
A Python implementation of `RFC 7519 <https://tools.ietf.org/html/rfc7519>`_. From from `@jpadilla <https://github.com/jpadilla/pyjwt>`_. Original implementation was written by `@progrium <https://github.com/progrium>`_.

Installing
----------

Install with **pip**:

.. code-block:: console

    $ pip install jsonwebtoken


Usage
-----

.. code-block:: pycon

    >>> import jsonwebtoken
    >>> encoded = jsonwebtoken.encode({"some": "payload"}, "secret", algorithm="HS256")
    >>> print(encoded)
    eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJzb21lIjoicGF5bG9hZCJ9.4twFt5NiznN84AWoo1d7KO1T_yoc0Z6XOpOVswacPZg
    >>> jsonwebtken.decode(encoded, "secret", algorithms=["HS256"])
    {'some': 'payload'}

Documentation
-------------

View the full docs online at coming soon
