Skip to main content

Backported and Experimental Type Hints for Python 3.5+

Project description

Typing Extensions – Backported and Experimental Type Hints for Python

The typing module was added to the standard library in Python 3.5, but many new features have been added to the module since then. This means users of Python 3.5 - 3.6 who are unable to upgrade will not be able to take advantage of new types added to the typing module, such as typing.Protocol or typing.TypedDict.

The typing_extensions module contains backports of these changes. Experimental types that will eventually be added to the typing module are also included in typing_extensions, such as typing.ParamSpec and typing.TypeGuard.

Users of Python versions before 3.5 should install and use the typing module from PyPI instead of using this one, unless specifically writing code that must be compatible with multiple Python versions or requires experimental types.

Project details


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

typing_extensions-3.10.0.0.tar.gz (45.5 kB view details)

Uploaded Source

Built Distributions

typing_extensions-3.10.0.0-py3-none-any.whl (26.1 kB view details)

Uploaded Python 3

typing_extensions-3.10.0.0-py2-none-any.whl (9.3 kB view details)

Uploaded Python 2

File details

Details for the file typing_extensions-3.10.0.0.tar.gz.

File metadata

  • Download URL: typing_extensions-3.10.0.0.tar.gz
  • Upload date:
  • Size: 45.5 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/3.4.1 importlib_metadata/4.0.1 pkginfo/1.7.0 requests/2.25.1 requests-toolbelt/0.9.1 tqdm/4.60.0 CPython/3.9.4

File hashes

Hashes for typing_extensions-3.10.0.0.tar.gz
Algorithm Hash digest
SHA256 50b6f157849174217d0656f99dc82fe932884fb250826c18350e159ec6cdf342
MD5 9b5b33ae64c94479fa0862cf8ae89d58
BLAKE2b-256 aa5562e2d4934c282a60b4243a950c9dbfa01ae7cac0e8d6c0b5315b87432c81

See more details on using hashes here.

File details

Details for the file typing_extensions-3.10.0.0-py3-none-any.whl.

File metadata

  • Download URL: typing_extensions-3.10.0.0-py3-none-any.whl
  • Upload date:
  • Size: 26.1 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/3.4.1 importlib_metadata/4.0.1 pkginfo/1.7.0 requests/2.25.1 requests-toolbelt/0.9.1 tqdm/4.60.0 CPython/3.9.4

File hashes

Hashes for typing_extensions-3.10.0.0-py3-none-any.whl
Algorithm Hash digest
SHA256 779383f6086d90c99ae41cf0ff39aac8a7937a9283ce0a414e5dd782f4c94a84
MD5 9fd2a2ae09511032a1d2ed40cd45713a
BLAKE2b-256 2e356c4fff5ab443b57116cb1aad46421fb719bed2825664e8fe77d66d99bcbc

See more details on using hashes here.

File details

Details for the file typing_extensions-3.10.0.0-py2-none-any.whl.

File metadata

  • Download URL: typing_extensions-3.10.0.0-py2-none-any.whl
  • Upload date:
  • Size: 9.3 kB
  • Tags: Python 2
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/3.4.1 importlib_metadata/4.0.1 pkginfo/1.7.0 requests/2.25.1 requests-toolbelt/0.9.1 tqdm/4.60.0 CPython/3.9.4

File hashes

Hashes for typing_extensions-3.10.0.0-py2-none-any.whl
Algorithm Hash digest
SHA256 0ac0f89795dd19de6b97debb0c6af1c70987fd80a2d62d1958f7e56fcc31b497
MD5 19760404c4469cae06305e99a3f484c2
BLAKE2b-256 dd3ab2cfe97bec9e7c317af222f0cee66a37b68bfa52e743c675bdc881ce1aeb

See more details on using hashes here.

Supported by

AWS AWS Cloud computing and Security Sponsor Datadog Datadog Monitoring Fastly Fastly CDN Google Google Download Analytics Pingdom Pingdom Monitoring Sentry Sentry Error logging StatusPage StatusPage Status page