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.

Files for typing-extensions, version 3.10.0.0
Filename, size File type Python version Upload date Hashes
Filename, size typing_extensions-3.10.0.0-py2-none-any.whl (9.3 kB) File type Wheel Python version py2 Upload date Hashes View
Filename, size typing_extensions-3.10.0.0-py3-none-any.whl (26.1 kB) File type Wheel Python version py3 Upload date Hashes View
Filename, size typing_extensions-3.10.0.0.tar.gz (45.5 kB) File type Source Python version None Upload date Hashes View

Supported by

AWS AWS Cloud computing Datadog Datadog Monitoring DigiCert DigiCert EV certificate Facebook / Instagram Facebook / Instagram PSF Sponsor Fastly Fastly CDN Google Google Object Storage and Download Analytics Microsoft Microsoft PSF Sponsor Pingdom Pingdom Monitoring Salesforce Salesforce PSF Sponsor Sentry Sentry Error logging StatusPage StatusPage Status page