PKG-INFO 4.1 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106
  1. Metadata-Version: 2.1
  2. Name: PyJWT
  3. Version: 1.7.1
  4. Summary: JSON Web Token implementation in Python
  5. Home-page: http://github.com/jpadilla/pyjwt
  6. Author: Jose Padilla
  7. Author-email: hello@jpadilla.com
  8. License: MIT
  9. Description: PyJWT
  10. =====
  11. .. image:: https://travis-ci.com/jpadilla/pyjwt.svg?branch=master
  12. :target: http://travis-ci.com/jpadilla/pyjwt?branch=master
  13. .. image:: https://ci.appveyor.com/api/projects/status/h8nt70aqtwhht39t?svg=true
  14. :target: https://ci.appveyor.com/project/jpadilla/pyjwt
  15. .. image:: https://img.shields.io/pypi/v/pyjwt.svg
  16. :target: https://pypi.python.org/pypi/pyjwt
  17. .. image:: https://coveralls.io/repos/jpadilla/pyjwt/badge.svg?branch=master
  18. :target: https://coveralls.io/r/jpadilla/pyjwt?branch=master
  19. .. image:: https://readthedocs.org/projects/pyjwt/badge/?version=latest
  20. :target: https://pyjwt.readthedocs.io
  21. A Python implementation of `RFC 7519 <https://tools.ietf.org/html/rfc7519>`_. Original implementation was written by `@progrium <https://github.com/progrium>`_.
  22. Sponsor
  23. -------
  24. +--------------+---------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------+
  25. | |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/overview <https://auth0.com/overview?utm_source=GHsponsor&utm_medium=GHsponsor&utm_campaign=pyjwt&utm_content=auth>`_. |
  26. +--------------+-----------------------------------------------------------------+---------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------+
  27. .. |auth0-logo| image:: https://user-images.githubusercontent.com/83319/31722733-de95bbde-b3ea-11e7-96bf-4f4e8f915588.png
  28. Installing
  29. ----------
  30. Install with **pip**:
  31. .. code-block:: sh
  32. $ pip install PyJWT
  33. Usage
  34. -----
  35. .. code:: python
  36. >>> import jwt
  37. >>> encoded = jwt.encode({'some': 'payload'}, 'secret', algorithm='HS256')
  38. 'eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJzb21lIjoicGF5bG9hZCJ9.4twFt5NiznN84AWoo1d7KO1T_yoc0Z6XOpOVswacPZg'
  39. >>> jwt.decode(encoded, 'secret', algorithms=['HS256'])
  40. {'some': 'payload'}
  41. Command line
  42. ------------
  43. Usage::
  44. pyjwt [options] INPUT
  45. Decoding examples::
  46. pyjwt --key=secret decode TOKEN
  47. pyjwt decode --no-verify TOKEN
  48. See more options executing ``pyjwt --help``.
  49. Documentation
  50. -------------
  51. View the full docs online at https://pyjwt.readthedocs.io/en/latest/
  52. Tests
  53. -----
  54. You can run tests from the project root after cloning with:
  55. .. code-block:: sh
  56. $ python setup.py test
  57. Keywords: jwt json web token security signing
  58. Platform: UNKNOWN
  59. Classifier: Development Status :: 5 - Production/Stable
  60. Classifier: Intended Audience :: Developers
  61. Classifier: Natural Language :: English
  62. Classifier: License :: OSI Approved :: MIT License
  63. Classifier: Programming Language :: Python
  64. Classifier: Programming Language :: Python :: 2.7
  65. Classifier: Programming Language :: Python :: 3.4
  66. Classifier: Programming Language :: Python :: 3.5
  67. Classifier: Programming Language :: Python :: 3.6
  68. Classifier: Programming Language :: Python :: 3.7
  69. Classifier: Topic :: Utilities
  70. Provides-Extra: crypto
  71. Provides-Extra: flake8
  72. Provides-Extra: test