{"id":13397000,"url":"https://github.com/jpadilla/pyjwt","last_synced_at":"2025-12-11T21:04:38.258Z","repository":{"id":1396960,"uuid":"1408162","full_name":"jpadilla/pyjwt","owner":"jpadilla","description":"JSON Web Token implementation in Python","archived":false,"fork":false,"pushed_at":"2025-05-12T20:20:44.000Z","size":1141,"stargazers_count":5356,"open_issues_count":31,"forks_count":700,"subscribers_count":62,"default_branch":"master","last_synced_at":"2025-05-13T00:11:21.393Z","etag":null,"topics":["hacktoberfest","jwt","python"],"latest_commit_sha":null,"homepage":"https://pyjwt.readthedocs.io","language":"Python","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":"jondot/padrino-warden","license":"mit","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/jpadilla.png","metadata":{"files":{"readme":"README.rst","changelog":"CHANGELOG.rst","contributing":null,"funding":".github/FUNDING.yml","license":"LICENSE","code_of_conduct":"CODE_OF_CONDUCT.md","threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":"SECURITY.md","support":null,"governance":null,"roadmap":null,"authors":"AUTHORS.rst","dei":null,"publiccode":null,"codemeta":null,"zenodo":null},"funding":{"github":["jpadilla"]}},"created_at":"2011-02-24T20:25:09.000Z","updated_at":"2025-05-12T19:28:46.000Z","dependencies_parsed_at":"2023-02-16T18:46:24.902Z","dependency_job_id":"e551adaa-a697-4968-9165-4ad26d8ba502","html_url":"https://github.com/jpadilla/pyjwt","commit_stats":{"total_commits":666,"total_committers":140,"mean_commits":4.757142857142857,"dds":0.7777777777777778,"last_synced_commit":"d8b12421654840418fd25b86553795c0c09ed0a9"},"previous_names":["progrium/pyjwt"],"tags_count":45,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/jpadilla%2Fpyjwt","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/jpadilla%2Fpyjwt/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/jpadilla%2Fpyjwt/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/jpadilla%2Fpyjwt/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/jpadilla","download_url":"https://codeload.github.com/jpadilla/pyjwt/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":253928412,"owners_count":21985793,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2022-07-04T15:15:14.044Z","host_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories","repository_names_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repository_names","owners_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners"}},"keywords":["hacktoberfest","jwt","python"],"created_at":"2024-07-30T18:01:09.074Z","updated_at":"2025-12-11T21:04:32.926Z","avatar_url":"https://github.com/jpadilla.png","language":"Python","readme":"PyJWT\n=====\n\n.. image:: https://github.com/jpadilla/pyjwt/workflows/CI/badge.svg\n   :target: https://github.com/jpadilla/pyjwt/actions?query=workflow%3ACI\n\n.. image:: https://img.shields.io/pypi/v/pyjwt.svg\n   :target: https://pypi.python.org/pypi/pyjwt\n\n.. image:: https://codecov.io/gh/jpadilla/pyjwt/branch/master/graph/badge.svg\n   :target: https://codecov.io/gh/jpadilla/pyjwt\n\n.. image:: https://readthedocs.org/projects/pyjwt/badge/?version=stable\n   :target: https://pyjwt.readthedocs.io/en/stable/\n\nA Python implementation of `RFC 7519 \u003chttps://tools.ietf.org/html/rfc7519\u003e`_. Original implementation was written by `@progrium \u003chttps://github.com/progrium\u003e`_.\n\nSponsor\n-------\n\n.. |auth0-logo| image:: https://github.com/user-attachments/assets/ee98379e-ee76-4bcb-943a-e25c4ea6d174\n   :width: 160px\n\n+--------------+-------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------+\n| |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/signup \u003chttps://auth0.com/signup?utm_source=external_sites\u0026utm_medium=pyjwt\u0026utm_campaign=devn_signup\u003e`_. |\n+--------------+-----------------------------------------------------------------+-------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------+\n\nInstalling\n----------\n\nInstall with **pip**:\n\n.. code-block:: console\n\n    $ pip install PyJWT\n\n\nUsage\n-----\n\n.. code-block:: pycon\n\n    \u003e\u003e\u003e import jwt\n    \u003e\u003e\u003e encoded = jwt.encode({\"some\": \"payload\"}, \"secret\", algorithm=\"HS256\")\n    \u003e\u003e\u003e print(encoded)\n    eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJzb21lIjoicGF5bG9hZCJ9.4twFt5NiznN84AWoo1d7KO1T_yoc0Z6XOpOVswacPZg\n    \u003e\u003e\u003e jwt.decode(encoded, \"secret\", algorithms=[\"HS256\"])\n    {'some': 'payload'}\n\nDocumentation\n-------------\n\nView the full docs online at https://pyjwt.readthedocs.io/en/stable/\n\n\nTests\n-----\n\nYou can run tests from the project root after cloning with:\n\n.. code-block:: console\n\n    $ tox\n","funding_links":["https://github.com/sponsors/jpadilla"],"categories":["Authentication","Python","资源列表","身份验证","Python (1887)","验证","语言资源库","Authorization \u0026 Authentication","Authentication [🔝](#readme)","Awesome Python","Awesome common libraries","Security","Client Library"],"sub_categories":["验证","JWT","python","Python libraries","Authentication","Drone Frames","Python"],"project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fjpadilla%2Fpyjwt","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fjpadilla%2Fpyjwt","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fjpadilla%2Fpyjwt/lists"}