Skip to main content

Type Hints for Python

Project description

Typing – Type Hints for Python

This is a backport of the standard library typing module to Python versions older than 3.5. (See note below for newer versions.)

Typing defines a standard notation for Python function and variable type annotations. The notation can be used for documenting code in a concise, standard format, and it has been designed to also be used by static and runtime type checkers, static analyzers, IDEs and other tools.

NOTE: in Python 3.5 and later, the typing module lives in the stdlib, and installing this package has NO EFFECT. To get a newer version of the typing module in Python 3.5 or later, you have to upgrade to a newer Python (bugfix) version. For example, typing in Python 3.6.0 is missing the definition of ‘Type’ – upgrading to 3.6.2 will fix this.

Also note that most improvements to the typing module in Python 3.7 will not be included in this package, since Python 3.7 has some built-in support that is not present in older versions (See PEP 560.)

Project details


Release history Release notifications

This version
History Node

3.6.4

History Node

3.6.2

History Node

3.6.1

History Node

3.5.3.0

History Node

3.5.2

History Node

3.5.1.0

History Node

3.5.0.1

History Node

3.5.0

History Node

3.5.0b1

Download files

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

Filename, size & hash SHA256 hash help File type Python version Upload date
typing-3.6.4-py2-none-any.whl (20.8 kB) Copy SHA256 hash SHA256 Wheel py2 Jan 25, 2018
typing-3.6.4-py3-none-any.whl (22.9 kB) Copy SHA256 hash SHA256 Wheel py3 Jan 25, 2018
typing-3.6.4.tar.gz (71.3 kB) Copy SHA256 hash SHA256 Source None Jan 25, 2018

Supported by

Elastic Elastic Search Pingdom Pingdom Monitoring Google Google BigQuery Sentry Sentry Error logging CloudAMQP CloudAMQP RabbitMQ AWS AWS Cloud computing Fastly Fastly CDN DigiCert DigiCert EV certificate StatusPage StatusPage Status page