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

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.2
File Size Uploaded Provenance Actions
typing_extensions-4.6.2.tar.gz 64.5 kB Without provenance Details for typing_extensions-4.6.2.tar.gz

Built distribution (wheel)

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

Total release size: 95.7 kB

Release files / typing_extensions-4.6.2.tar.gz

Download URL typing_extensions-4.6.2.tar.gz
Size 64.5 kB
Tags Source
SHA-256 checksum
How to use checksums
06006244c70ac8ee83fa8282cb188f697b8db25bc8b4df07be1873c43897060c
BLAKE2b-256 checksum
How to use checksums
befc3d12393d634fcb31d5f4231c28feaf4ead225124ba08021046317d5f450d
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/4.0.2 CPython/3.13.0a0

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

Download URL typing_extensions-4.6.2-py3-none-any.whl
Size 31.1 kB
Tags Python 3
SHA-256 checksum
How to use checksums
3a8b36f13dd5fdc5d1b16fe317f5668545de77fa0b8e02006381fd49d731ab98
BLAKE2b-256 checksum
How to use checksums
3860300ad6f93adca578bf05d5f6cd1d854b7d140bebe2f9829561aa9977d9f3
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/4.0.2 CPython/3.13.0a0

Security for typing-extensions 4.6.2

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