python-jwt · PyPI
https://pypi.org/project/python-jwt27.10.2021 · JWK. from_pem (pub_pem) token = jwt. generate_jwt (payload, priv_key, 'RS256', datetime. timedelta (minutes = 5)) header, claims = jwt. verify_jwt (token, pub_key, ['RS256']) for k in payload: assert claims [k] == payload [k] Licence. MIT. Tests make test Lint make lint Code Coverage make coverage coverage.py results are available here ...