Backported and Experimental Type Hints for Python 3.9+
Project Links
Meta
Author: Guido van Rossum, Jukka Lehtosalo, Łukasz Langa, Michael Lee
Requires Python: >=3.9
Classifiers
Development Status
- 5 - Production/Stable
Environment
- Console
Intended Audience
- Developers
Operating System
- OS Independent
Programming Language
- Python :: 3
- Python :: 3 :: Only
- Python :: 3.9
- Python :: 3.10
- Python :: 3.11
- Python :: 3.12
- Python :: 3.13
- Python :: 3.14
Topic
- Software Development
Typing Extensions
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, buttyping_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, <(x+1)
,
where x.y
is the first version that includes all features you need.
Included items
See the documentation for a complete listing of module contents.
Contributing
See CONTRIBUTING.md
for how to contribute to typing_extensions
.
Jun 02, 2025
4.14.0
May 24, 2025
4.14.0rc1
Apr 10, 2025
4.13.2
Apr 03, 2025
4.13.1
Mar 26, 2025
4.13.0
Mar 18, 2025
4.13.0rc1
Jun 07, 2024
4.12.2
Jun 01, 2024
4.12.1
May 24, 2024
4.12.0
May 16, 2024
4.12.0rc1
May 16, 2024
4.12.0a2
Apr 05, 2024
4.11.0
Mar 24, 2024
4.11.0rc1
Feb 25, 2024
4.10.0
Feb 18, 2024
4.10.0rc1
Dec 10, 2023
4.9.0
Nov 29, 2023
4.9.0rc1
Sep 18, 2023
4.8.0
Sep 08, 2023
4.8.0rc1
Jul 02, 2023
4.7.1
Jun 28, 2023
4.7.0
Jun 21, 2023
4.7.0rc1
Jun 01, 2023
4.6.3
May 25, 2023
4.6.2
May 24, 2023
4.6.1
May 23, 2023
4.6.0
Feb 15, 2023
4.5.0
Oct 06, 2022
4.4.0
Jul 01, 2022
4.3.0
Apr 17, 2022
4.2.0
Feb 14, 2022
4.1.1
Feb 12, 2022
4.1.0
Dec 01, 2021
4.0.1
Nov 14, 2021
4.0.0
Aug 30, 2021
3.10.0.2
Aug 29, 2021
3.10.0.1
May 01, 2021
3.10.0.0
Aug 23, 2020
3.7.4.3
Apr 02, 2020
3.7.4.2
Oct 28, 2019
3.7.4.1
Jun 19, 2019
3.7.4
Jan 12, 2019
3.7.2
Oct 06, 2018
3.6.6
May 07, 2018
3.6.5
Sep 30, 2017
3.6.2.1
Sep 17, 2017
3.6.2
Wheel compatibility matrix
Files in release
No dependencies