Pythie
CategoriesTrending
An open index of Python tools.Pythie’s IndexLegal noticePrivacyData: PyPI (package metadata; download statistics under CC BY 4.0, via ClickHouse), deps.dev (CC BY 4.0), GitHub, OSV.

typing-extensions

4.16.0ActivePythie’s Index: 86

Backported and Experimental Type Hints for Python 3.9+

Actively maintained. Last release 5 months ago, commits in 14 of the last 26 weeks. A safe choice.

Typing & Type Stubs
$pip install typing-extensions
python/typing_extensionsDocsPyPI

Typing Extensions

Chat at https://gitter.im/python/typing

Documentation – PyPI

Overview

The typing_extensions module serves two related purposes:

  • Enable use of new type system features on older Python versions. For example, typing.TypeGuard is new in Python 3.10, but typing_extensions allows users on previous Python versions to use it too.
  • Enable experimentation with new type system PEPs before they are accepted and added to the typing module.

typing_extensions is treated specially by static type checkers such as mypy and pyright. Objects defined in typing_extensions are treated the same way as equivalent forms in typing.

typing_extensions uses Semantic Versioning. The major version will be incremented only for backwards-incompatible changes. Therefore, it's safe to depend on typing_extensions like this: typing_extensions ~=x.y, where x.y is the first version that includes all features you need. This is equivalent to typing_extensions >=x.y, <(x+1). Do not depend on ~= x.y.z unless you really know what you're doing; that defeats the purpose of semantic versioning.

Included items

See the documentation for a complete listing of module contents.

Contributing

See CONTRIBUTING.md for how to contribute to typing_extensions.

Popularity

Downloads / month
1.8B
GitHub stars
599
Downloads, last 7 days
404.3M-5%
Stars, last 7 days
–
Direct dependents
16.9K
All dependents
275.2K

Pythie’s Index

How it works
86

Healthy

Maintenance, out of 100

  • Recent release

    last release 149 days ago

  • Commit activity

    14/26 weeks with commits

  • Release cadence

    3 releases in 12 months

  • Issues & PRs handled

    93% closed in the past year

  • Contributor spread

    21 authors in last 100 commits

  • OpenSSF Scorecard

    8.7/10

Commits, last 26 weeks41

Releases

Latest
4.16.0
Released
Jul 2, 2026
Releases, 12 months
3
First release
Sep 17, 2017

Compatibility

Requires Python
>=3.9
Tested on
3.9 · 3.10 · 3.11 · 3.12 · 3.13 · 3.14 · 3.15
License
PSF-2.0 (Permissive)

Keywords

annotationsbackportcheckercheckingfunctionhintinghintstypetypecheckingtypehintingtypehintstyping

Works well with

Use together with typing-extensions: extensions, drivers, servers and companion tools.

  • mypyPythie’s Index: 88Optional static typing for Python208M downloads/mo
  • annotated-typesPythie’s Index: 54Reusable constraint types to use with typing.Annotated1B downloads/mo
  • typing-inspectPythie’s Index: 21Runtime inspection utilities for typing module.75M downloads/mo
  • typingPythie’s Index: 51Type Hints for Python4.5M downloads/mo
  • basedpyrightPythie’s Index: 89static type checking for Python (but based)19.5M downloads/mo
  • pyrightPythie’s Index: 62Command line wrapper for pyright59.1M downloads/mo