Contents

PyJWT 2.11.0

0

JSON Web Token implementation in Python

JSON Web Token implementation in Python

Stars: 5596, Watchers: 5596, Forks: 727, Open Issues: 40

The jpadilla/pyjwt repo was created 14 years ago and the last code push was Yesterday.
The project is extremely popular with a mindblowing 5596 github stars!

How to Install pyjwt

You can install pyjwt using pip

pip install pyjwt

or add it to a project with poetry

poetry add pyjwt

Package Details

Author
None
License
None
Homepage
None
PyPi:
https://pypi.org/project/PyJWT/
GitHub Repo:
https://github.com/jpadilla/pyjwt

Classifiers

  • Utilities
No  pyjwt  pypi packages just yet.

Errors

A list of common pyjwt errors.

Code Examples

Here are some pyjwt code examples and snippets.

GitHub Issues

The pyjwt package has 40 open issues on GitHub

  • PyJWKClient.get_signing_key_from_jwt(token) does not discriminate on algorithm
  • ResourceWarning on Python 3.14 when HTTP errors returned
  • Fix #1126: Fix microseconds lose on jwt.encode for known time claims
  • jwt.encode loses microseconds precision when using datetime for known time claims
  • Python 3.14 support
  • [pre-commit.ci] pre-commit autoupdate
  • Fix CVE-2025-45768: Implement NIST-compliant HMAC key validation
  • Why is curcial validation such as exp bypassed if the claim is not present?
  • feat: strict encode, lenient decode for JWT subject claim
  • Security Vulnerability
  • Document and/or rename misleading arguments of PyJWKClient
  • Doc string typo fix for PyJWT._validate_jti() function
  • tests(py39): TestPyJWKClient test suddenly failing on master
  • [docs] Missing contributing guidelines
  • JWKClient.get_jwk_set() raises http.client.IncompleteRead

See more issues on GitHub

Related Packages & Articles