Skip to main content

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 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.

typing_extensions supports Python versions 3.7 and higher.

Included items

See the documentation for a complete listing of module contents.

Running tests

To run tests, navigate into the src/ directory and run test_typing_extensions.py.

Metadata

Release files for typing-extensions 4.6.1

For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.

Source distribution (sdist)

Source distribution for typing-extensions 4.6.1
File Size Uploaded Provenance Actions
typing_extensions-4.6.1.tar.gz 64.2 kB Without provenance Details for typing_extensions-4.6.1.tar.gz

Built distribution (wheel)

Table of built distributions (wheels) for typing-extensions 4.6.1
File Interpreter ABI Platform Actions
typing_extensions-4.6.1-py3-none-any.whl Python 3 none any Details for typing_extensions-4.6.1-py3-none-any.whl

Total release size: 95.3 kB

Release files / typing_extensions-4.6.1.tar.gz

Download URL typing_extensions-4.6.1.tar.gz
Size 64.2 kB
Tags Source
SHA-256 checksum
How to use checksums
558bc0c4145f01e6405f4a5fdbd82050bd221b119f4bf72a961a1cfd471349d6
BLAKE2b-256 checksum
How to use checksums
aa67f4e6ae6998b0c86ab10f8e96339f00afaf30bef11f63a81c63977c2b89d7
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/4.0.2 CPython/3.9.16

Release files / typing_extensions-4.6.1-py3-none-any.whl

Download URL typing_extensions-4.6.1-py3-none-any.whl
Size 31.1 kB
Tags Python 3
SHA-256 checksum
How to use checksums
6bac751f4789b135c43228e72de18637e9a6c29d12777023a703fd1a6858469f
BLAKE2b-256 checksum
How to use checksums
82ed8ccf53a0ed10bf8fc8877b5833b40f5f99093cadfe6632b8892f74aead0f
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/4.0.2 CPython/3.9.16

Security for typing-extensions 4.6.1

Provenance

Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.

No provenance found

None of the files in this release were uploaded with provenance metadata.

A note on package security

PyPI is a repository for distributing packages, not a service for auditing them. While third-party security researchers and our staff do their best to detect and remove malicious packages, PyPI cannot guarantee the quality, security or suitability of any given package.

To learn more about protecting yourself from malicious actors, visit our package security documentation.

Release history Release notifications | RSS feed

This release

4.6.1 This release

2 release files No provenance

Anthropic, PBC Visionary sponsor Bloomberg Visionary sponsor Hudson River Trading Visionary sponsor Meta Visionary sponsor NVIDIA Visionary sponsor Microsoft Sustainability sponsor Depot Continuous Integration AWS Cloud computing and Security Sponsor Datadog Monitoring Fastly CDN Google Download Analytics Sentry Error logging StatusPage Status page