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


Download files

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

Source Distribution

typing-3.7.4.1.tar.gz (78.0 kB view details)

Uploaded Source

Built Distributions

typing-3.7.4.1-py3-none-any.whl (25.8 kB view details)

Uploaded Python 3

typing-3.7.4.1-py2-none-any.whl (26.3 kB view details)

Uploaded Python 2

File details

Details for the file typing-3.7.4.1.tar.gz.

File metadata

  • Download URL: typing-3.7.4.1.tar.gz
  • Upload date:
  • Size: 78.0 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/1.13.0 pkginfo/1.5.0.1 requests/2.21.0 setuptools/41.2.0 requests-toolbelt/0.8.0 tqdm/4.34.0 CPython/3.7.4

File hashes

Hashes for typing-3.7.4.1.tar.gz
Algorithm Hash digest
SHA256 91dfe6f3f706ee8cc32d38edbbf304e9b7583fb37108fef38229617f8b3eba23
MD5 0a1ebd4af65b4769e33459004eb20345
BLAKE2b-256 67b0b2ea2bd67bfb80ea5d12a5baa1d12bda002cab3b6c9b48f7708cd40c34bf

See more details on using hashes here.

Provenance

File details

Details for the file typing-3.7.4.1-py3-none-any.whl.

File metadata

  • Download URL: typing-3.7.4.1-py3-none-any.whl
  • Upload date:
  • Size: 25.8 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/1.13.0 pkginfo/1.5.0.1 requests/2.21.0 setuptools/41.2.0 requests-toolbelt/0.8.0 tqdm/4.34.0 CPython/3.7.4

File hashes

Hashes for typing-3.7.4.1-py3-none-any.whl
Algorithm Hash digest
SHA256 f38d83c5a7a7086543a0f649564d661859c5146a85775ab90c0d2f93ffaa9714
MD5 09676e3593ef61dcb7aa4e0eeaaabce8
BLAKE2b-256 fe2eb480ee1b75e6d17d2993738670e75c1feeb9ff7f64452153cf018051cc92

See more details on using hashes here.

Provenance

File details

Details for the file typing-3.7.4.1-py2-none-any.whl.

File metadata

  • Download URL: typing-3.7.4.1-py2-none-any.whl
  • Upload date:
  • Size: 26.3 kB
  • Tags: Python 2
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/1.13.0 pkginfo/1.5.0.1 requests/2.21.0 setuptools/41.2.0 requests-toolbelt/0.8.0 tqdm/4.34.0 CPython/3.7.4

File hashes

Hashes for typing-3.7.4.1-py2-none-any.whl
Algorithm Hash digest
SHA256 c8cabb5ab8945cd2f54917be357d134db9cc1eb039e59d1606dc1e60cb1d9d36
MD5 ce8b8274588a107d1d0e825fd998b965
BLAKE2b-256 223064ca29543375759dc589ade14a6cd36382abf2bec17d67de8481bc9814d7

See more details on using hashes here.

Provenance

Supported by

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