$npx skillfedfor your agent

typing

Type Hints for Python

SkipPyPI Software DevelopmentReleased May 20214.9M downloads / moPSFPure Python

Decision gist · record as of 2026-08-14

pure-Python wheel — typing-3.10.0.0-py2-none-any.whl · typing-3.10.0.0-py3-none-any.whl
v3.10.0.0 · released 2021-05-01 · Python >=2.7, !=3.0.*, !=3.1.*, !=3.2.*, !=3.3.*, <3.5

No, unless you are actively maintaining a Python 2.7 or 3.4 codebase. For any modern Python project (3.5+), the stdlib typing module is built-in and superior. This package is a legacy compatibility shim with no releases since 2021-05-01.AI-flagged interpretation of the facts on this page — verify before relying

Before you install

  • Only works on Python 2.7 and Python 3.4; on Python 3.5+, stdlib typing takes precedence.
  • Low install friction with no runtime dependencies.
  • Maintenance is active, though the package has not released since 2021-05-01.

License · maintenance · safety

PSF (permissive) — Licensed under PSF (Python Software Foundation License), a permissive license. No licensing restrictions on use or redistribution.

last release 2021-05-01 (1931 days) · last repo commit 2026-08-14 · 1,774 stars

0 known vulnerabilities (OSV.dev, 2026-08-14) · 4,872,624 downloads/mo, #2,210 on PyPI

Verify before relying

pip install typing

import typing

def greet(name: typing.Text) -> typing.Text:
    return 'Hello ' + name
  • Whether this package remains necessary given that Python 2.7 and 3.4 are no longer supported
Same gist for agents: .md · .json

What it is and what it does

This package backports Python's standard library typing module to older Python versions (2.7 and 3.4) that predate its introduction in Python 3.5. It enables developers to use type annotations and hints—a standard notation for documenting function and variable types—on legacy Python versions, allowing static type checkers, IDEs, and other tools to analyze code for type correctness.

On Python 3.5 and later, installing this package has no effect because the standard library's typing module takes precedence. The package is intended primarily for projects that must support very old Python versions. For modern projects, the stdlib typing module is always available and receives updates with each Python release.

Use it for

  • Adding type hints to a Python 2.7 codebase that cannot yet migrate to Python 3.5+
  • Enabling static type checkers on legacy Python 3.4 projects
  • Documenting function signatures with type annotations in pre-3.5 codebases
  • Supporting older Python versions in a package while using type-checking tooling

Worth the install?

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

Skip

No, unless you are actively maintaining a Python 2.7 or 3.4 codebase.

For any modern Python project (3.5+), the stdlib typing module is built-in and superior. This package is a legacy compatibility shim with no releases since 2021-05-01.

Install

typing on PyPI

Before you install

Low install friction with no runtime dependencies. Maintenance is active, though the package has not released since 2021-05-01. On Python 3.5+, the stdlib typing module takes precedence and this package has no effect.

Only works on Python 2.7 and Python 3.4; on Python 3.5+, stdlib typing takes precedence.

License in practice

Licensed under PSF (Python Software Foundation License), a permissive license. No licensing restrictions on use or redistribution.

Quickstart

pip install typing

import typing

def greet(name: typing.Text) -> typing.Text:
    return 'Hello ' + name

Verify before relying

  • Whether this package remains necessary given that Python 2.7 and 3.4 are no longer supported

Package facts

LicensePSF permissive
Python supportCapped below the current Python release >=2.7, !=3.0.*, !=3.1.*, !=3.2.*, !=3.3.*, <3.5
Install frictionLow. Pure-Python wheel
Runtime dependenciesNone
MaintenanceActively maintained 1,931 days since the last release
Last repo commit
First released
Downloads4,872,624 / month, #2,210 on PyPI 30-day window, as of 2026-08-14
Known vulnerabilitiesNone known OSV.dev, checked 2026-08-14
Classifiers
Development Status :: 5 - Production/StableEnvironment :: ConsoleIntended Audience :: DevelopersLicense :: OSI Approved :: Python Software Foundation LicenseOperating System :: OS IndependentProgramming Language :: Python :: 2.7Programming Language :: Python :: 3.4Topic :: Software Development

Evidence: typing-3.10.0.0-py2-none-any.whl; typing-3.10.0.0-py3-none-any.whl

Tags

Capabilities
type hints backporttyping module python 2.7function annotationstype checking supportpython 3.4 typingstatic type hintslegacy python typing
Topics
backportlegacy-python
PyPI keywords
typingfunctionannotationstypehintshintingcheckingcheckertypehintstypehintingtypecheckingbackport

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 › “type hints backport”

  • typingProvides type hints and annotations for Python 2.7 and Python 3.4,…
  • typing-extensionsProvides backported and experimental type hints for Python 3.9+,…
  • typing-utilsProvides utilities to inspect and validate Python type annotations,…

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 eval-type-backport · inspect2 · typing-inspect · importlib · funcsigs · stdlib-list · numpy-typing-compat · logutils · enum-compat