$npx skillfedfor your agent

types-PyJWT

Typing stubs for PyJWT

SkipPyPI Software DevelopmentReleased Jun 2021325.4K downloads / moApache-2.0 licensePure Python

Decision gist · record as of 2026-08-14

pure-Python wheel — types_PyJWT-1.7.1-py2.py3-none-any.whl
v1.7.1 · released 2021-06-17 · 1 runtime deps: types-cryptography

No for most new projects — PyJWT 2.0.0+ includes its own type annotations. Yes-with-conditions if you maintain legacy code using PyJWT versions older than 2.0.0 and need type checking support. The package itself is stable and permissively licensed, but its lack of updates since June 2021 means coverage of newer PyJWT features is uncertain.AI-flagged interpretation of the facts on this page — verify before relying

Before you install

  • Only useful if you are using PyJWT versions older than 2.0.0; PyJWT 2.0.0+ includes its own type annotations and this stub package should be uninstalled to avoid conflicts.
  • Low friction install as a wheel-only package.
  • The project is actively maintained via typeshed, though this specific stub package has not been updated since June 2021 — check whether your PyJWT version is older than 2.0.0, since newer PyJWT includes its own type annotations.

License · maintenance · safety

Apache-2.0 license (permissive) — Apache-2.0 is permissive; you can use this package in commercial and proprietary code without restriction.

last release 2021-06-17 (1884 days) · last repo commit 2026-08-14 · 5,108 stars

0 known vulnerabilities (OSV.dev, 2026-08-14) · 325,444 downloads/mo, #7,586 on PyPI

Verify before relying

pip install types-PyJWT

Type checkers will then understand types-cryptography and PyJWT imports in your code.
  • Whether this stub package remains synchronized with current PyJWT releases and typeshed updates despite the 2021 release date
  • Compatibility with PyJWT versions released after 2021 and whether the stub definitions cover all current API surface
  • Whether installing alongside PyJWT 2.0.0+ causes actual conflicts or is merely redundant
Same gist for agents: .md · .json

What it is and what it does

types-PyJWT is a PEP 561 type stub package that provides type hints for the PyJWT library. It allows static type checkers like mypy, PyCharm, and pytype to understand and validate code that uses PyJWT for JWT token handling. The stubs are auto-generated from the typeshed repository and enable developers to catch type-related errors at development time rather than runtime.

This package is primarily useful for projects still using PyJWT versions older than 2.0.0. Since PyJWT 2.0.0 and later versions include their own type annotations, installing this stub package alongside newer PyJWT versions is unnecessary and may cause conflicts. The package depends only on types-cryptography, which provides type hints for the underlying cryptography library.

Use it for

  • Enable mypy or PyCharm type checking on legacy code using PyJWT versions before 2.0.0
  • Catch type errors during development in older PyJWT projects
  • Provide IDE autocomplete and type hints for PyJWT API calls in pre-2.0.0 codebases

Worth the install?

AI-flagged interpretation of the facts on this page. Verify before relying on it.

Skip

No for most new projects — PyJWT 2.0.0+ includes its own type annotations.

Yes-with-conditions if you maintain legacy code using PyJWT versions older than 2.0.0 and need type checking support. The package itself is stable and permissively licensed, but its lack of updates since June 2021 means coverage of newer PyJWT features is uncertain.

Install

types-pyjwt on PyPI

Before you install

Low friction install as a wheel-only package. The project is actively maintained via typeshed, though this specific stub package has not been updated since June 2021 — check whether your PyJWT version is older than 2.0.0, since newer PyJWT includes its own type annotations.

Only useful if you are using PyJWT versions older than 2.0.0; PyJWT 2.0.0+ includes its own type annotations and this stub package should be uninstalled to avoid conflicts.

License in practice

Apache-2.0 is permissive; you can use this package in commercial and proprietary code without restriction.

Quickstart

pip install types-PyJWT

Type checkers will then understand types-cryptography and PyJWT imports in your code.

Verify before relying

  • Whether this stub package remains synchronized with current PyJWT releases and typeshed updates despite the 2021 release date
  • Compatibility with PyJWT versions released after 2021 and whether the stub definitions cover all current API surface
  • Whether installing alongside PyJWT 2.0.0+ causes actual conflicts or is merely redundant

Package facts

LicenseApache-2.0 license permissive
Python supportNot specified
Install frictionLow. Pure-Python wheel
Runtime dependencies
1 package
types-cryptography
MaintenanceActively maintained 1,884 days since the last release
Last repo commit
First released
Downloads325,444 / month, #7,586 on PyPI 30-day window, as of 2026-08-14
Known vulnerabilitiesNone known OSV.dev, checked 2026-08-14
Classifiers
License :: OSI Approved :: Apache Software LicenseTyping :: Typed

Evidence: types_PyJWT-1.7.1-py2.py3-none-any.whl

Tags

Capabilities
PyJWT type stubsJWT type checkingmypy PyJWT typesstatic type hints JWTPyJWT type annotationstype-checking JWT tokens
Topics
type-stubstypingjwt

Let your AI agent find packages like this

Example. Real query, live index.

You found this page by searching. An agent finds it by wishing: SkillFed indexes 14,416 PyPI packages by what they can do, searchable in plain language.

wish › “PyJWT type stubs”

  • types-PyJWTProvides type stubs for PyJWT to enable static type checking of JWT…
  • types-assertpyProvides type stubs enabling static type checkers like mypy and…
  • types-appdirsProvides type stubs for the appdirs package to enable static type…

Give your agent the search over MCP, or paste the wish link into any chat.

More Software Development packages

typing-extensions Worth it
PyPI · Software Development · released Jul 2026

Provides backported and experimental type hints for Python 3.9+, allowing use of newer typing features on older Python versions and enabling early experimentation with type system PEPs before they enter the standard library.

PSF-2.0pure Python · 3.9+
1.9Bdownloads / mo
numpy Worth it
PyPI · Software Development · released Aug 2026

NumPy provides an N-dimensional array object and a comprehensive suite of mathematical, linear algebra, Fourier transform, and random number functions for scientific computing in Python.

BSD-3-Clause AND 0BSD AND MIT AND Zlib AND CC0-1.0compiled wheel · 3.12+
1.1Bdownloads / mo
fastapi Worth it
PyPI · Software Development · released Jul 2026

FastAPI is a Python web framework for building REST APIs using type hints, with automatic request validation, serialization, and interactive API documentation.

MITpure Python · 3.10+
568.6Mdownloads / mo
annotated-doc With conditions
PyPI · Software Development · released Jul 2026

Provides a way to document function parameters, class attributes, return types, and variables inline using Python's `Annotated` type hint syntax instead of traditional docstrings.

MITpure Python · 3.9+
456.2Mdownloads / mo
typer Worth it
PyPI · Software Development · released Aug 2026

Typer builds command-line applications from Python functions using type hints, automatically generating help text, argument parsing, and shell completion.

Install it if you are building CLIs in Python.

MITpure Python · 3.10+
369.3Mdownloads / mo
distlib With conditions
PyPI · Software Development · released Jun 2026

Distlib provides low-level packaging utilities for building, distributing, and managing Python software—including metadata handling, version specifiers, wheel support, script installation, and dependency resolution.

permissive licensepure Python
323.3Mdownloads / mo

See also types-jwt · types-Flask · types-pkg-resources · types-backports · types-attrs · types-Jinja2 · types-SQLAlchemy · types-geoip2 · pytype · pyspark-stubs