Skip to main content

a fork of Python 2 and 3 ast modules with type comment support

This project has been archived.

The maintainers of this project have marked this project as archived. No new releases are expected.

Project description

typed_ast is a Python 3 package that provides a Python 2.7 and Python 3 parser similar to the standard ast library. Unlike ast below Python 3.8, the parsers in typed_ast include PEP 484 type comments and are independent of the version of Python under which they are run. The typed_ast parsers produce the standard Python AST (plus type comments), and are both fast and correct, as they are based on the CPython 2.7 and 3.7 parsers.

Note: The ast module of Python 3.8+ supports all features of typed_ast. typed_ast does not support parsing code that uses syntax introduced in Python 3.8 onwards. We recommend using ast on Python 3.8 or above.

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

typed_ast-1.5.3.tar.gz (252.5 kB view details)

Uploaded Source

Built Distributions

If you're not sure about the file name format, learn more about wheel file names.

typed_ast-1.5.3-cp310-cp310-win_amd64.whl (163.4 kB view details)

Uploaded CPython 3.10Windows x86-64

typed_ast-1.5.3-cp310-cp310-manylinux_2_17_aarch64.manylinux2014_aarch64.whl (842.2 kB view details)

Uploaded CPython 3.10manylinux: glibc 2.17+ ARM64

typed_ast-1.5.3-cp310-cp310-manylinux_2_5_x86_64.manylinux1_x86_64.manylinux_2_12_x86_64.manylinux2010_x86_64.whl (877.7 kB view details)

Uploaded CPython 3.10manylinux: glibc 2.12+ x86-64manylinux: glibc 2.5+ x86-64

typed_ast-1.5.3-cp310-cp310-macosx_11_0_arm64.whl (207.6 kB view details)

Uploaded CPython 3.10macOS 11.0+ ARM64

typed_ast-1.5.3-cp310-cp310-macosx_10_9_x86_64.whl (223.3 kB view details)

Uploaded CPython 3.10macOS 10.9+ x86-64

typed_ast-1.5.3-cp39-cp39-win_amd64.whl (163.5 kB view details)

Uploaded CPython 3.9Windows x86-64

typed_ast-1.5.3-cp39-cp39-manylinux_2_17_aarch64.manylinux2014_aarch64.whl (840.9 kB view details)

Uploaded CPython 3.9manylinux: glibc 2.17+ ARM64

typed_ast-1.5.3-cp39-cp39-manylinux_2_5_x86_64.manylinux1_x86_64.manylinux_2_12_x86_64.manylinux2010_x86_64.whl (875.5 kB view details)

Uploaded CPython 3.9manylinux: glibc 2.12+ x86-64manylinux: glibc 2.5+ x86-64

typed_ast-1.5.3-cp39-cp39-macosx_11_0_arm64.whl (207.7 kB view details)

Uploaded CPython 3.9macOS 11.0+ ARM64

typed_ast-1.5.3-cp39-cp39-macosx_10_9_x86_64.whl (223.4 kB view details)

Uploaded CPython 3.9macOS 10.9+ x86-64

typed_ast-1.5.3-cp38-cp38-win_amd64.whl (162.5 kB view details)

Uploaded CPython 3.8Windows x86-64

typed_ast-1.5.3-cp38-cp38-manylinux_2_17_aarch64.manylinux2014_aarch64.whl (861.0 kB view details)

Uploaded CPython 3.8manylinux: glibc 2.17+ ARM64

typed_ast-1.5.3-cp38-cp38-manylinux_2_5_x86_64.manylinux1_x86_64.manylinux_2_12_x86_64.manylinux2010_x86_64.whl (897.2 kB view details)

Uploaded CPython 3.8manylinux: glibc 2.12+ x86-64manylinux: glibc 2.5+ x86-64

typed_ast-1.5.3-cp38-cp38-macosx_11_0_arm64.whl (207.3 kB view details)

Uploaded CPython 3.8macOS 11.0+ ARM64

typed_ast-1.5.3-cp38-cp38-macosx_10_9_x86_64.whl (222.6 kB view details)

Uploaded CPython 3.8macOS 10.9+ x86-64

typed_ast-1.5.3-cp37-cp37m-win_amd64.whl (161.2 kB view details)

Uploaded CPython 3.7mWindows x86-64

typed_ast-1.5.3-cp37-cp37m-manylinux_2_17_aarch64.manylinux2014_aarch64.whl (793.2 kB view details)

Uploaded CPython 3.7mmanylinux: glibc 2.17+ ARM64

typed_ast-1.5.3-cp37-cp37m-manylinux_2_5_x86_64.manylinux1_x86_64.manylinux_2_12_x86_64.manylinux2010_x86_64.whl (843.7 kB view details)

Uploaded CPython 3.7mmanylinux: glibc 2.12+ x86-64manylinux: glibc 2.5+ x86-64

typed_ast-1.5.3-cp37-cp37m-macosx_10_9_x86_64.whl (221.5 kB view details)

Uploaded CPython 3.7mmacOS 10.9+ x86-64

typed_ast-1.5.3-cp36-cp36m-win_amd64.whl (161.2 kB view details)

Uploaded CPython 3.6mWindows x86-64

typed_ast-1.5.3-cp36-cp36m-manylinux_2_17_aarch64.manylinux2014_aarch64.whl (793.1 kB view details)

Uploaded CPython 3.6mmanylinux: glibc 2.17+ ARM64

typed_ast-1.5.3-cp36-cp36m-manylinux_2_5_x86_64.manylinux1_x86_64.manylinux_2_12_x86_64.manylinux2010_x86_64.whl (831.7 kB view details)

Uploaded CPython 3.6mmanylinux: glibc 2.12+ x86-64manylinux: glibc 2.5+ x86-64

typed_ast-1.5.3-cp36-cp36m-macosx_10_9_x86_64.whl (221.5 kB view details)

Uploaded CPython 3.6mmacOS 10.9+ x86-64

File details

Details for the file typed_ast-1.5.3.tar.gz.

File metadata

  • Download URL: typed_ast-1.5.3.tar.gz
  • Upload date:
  • Size: 252.5 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/4.0.0 CPython/3.9.10

File hashes

Hashes for typed_ast-1.5.3.tar.gz
Algorithm Hash digest
SHA256 27f25232e2dd0edfe1f019d6bfaaf11e86e657d9bdb7b0956db95f560cceb2b3
MD5 840193792ab21e6952632a32a0e6974b
BLAKE2b-256 cfb4c47a1dc4767a9c98f238b6ad7eb873747eaf640f965d5a4b3e5814bc0b72

See more details on using hashes here.

File details

Details for the file typed_ast-1.5.3-cp310-cp310-win_amd64.whl.

File metadata

  • Download URL: typed_ast-1.5.3-cp310-cp310-win_amd64.whl
  • Upload date:
  • Size: 163.4 kB
  • Tags: CPython 3.10, Windows x86-64
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/4.0.0 CPython/3.9.10

File hashes

Hashes for typed_ast-1.5.3-cp310-cp310-win_amd64.whl
Algorithm Hash digest
SHA256 e34f9b9e61333ecb0f7d79c21c28aa5cd63bec15cb7e1310d7d3da6ce886bc9b
MD5 947960c254d9cc7490c63f94b8d225dd
BLAKE2b-256 17c14d9de855068322cb5c52746a12eb9045088a85c7878585d5231b911915f0

See more details on using hashes here.

File details

Details for the file typed_ast-1.5.3-cp310-cp310-manylinux_2_17_aarch64.manylinux2014_aarch64.whl.

File metadata

File hashes

Hashes for typed_ast-1.5.3-cp310-cp310-manylinux_2_17_aarch64.manylinux2014_aarch64.whl
Algorithm Hash digest
SHA256 5dc2c11ae59003d4a26dda637222d9ae924387f96acae9492df663843aefad55
MD5 39d9fc00f0d37dd3c3941a84f663b555
BLAKE2b-256 300379cbcfe42dad3ddafe89d308c82ce65037e3cd1d9bacf70c37b44dc457e2

See more details on using hashes here.

File details

Details for the file typed_ast-1.5.3-cp310-cp310-manylinux_2_5_x86_64.manylinux1_x86_64.manylinux_2_12_x86_64.manylinux2010_x86_64.whl.

File metadata

File hashes

Hashes for typed_ast-1.5.3-cp310-cp310-manylinux_2_5_x86_64.manylinux1_x86_64.manylinux_2_12_x86_64.manylinux2010_x86_64.whl
Algorithm Hash digest
SHA256 fd5df1313915dbd70eaaa88c19030b441742e8b05e6103c631c83b75e0435ccc
MD5 98b5d43be11be250f63578cea6aaa043
BLAKE2b-256 a539151a16fb65b5b9d9e6c135a0281413d041038a3ea90d287abd9c823b0b5b

See more details on using hashes here.

File details

Details for the file typed_ast-1.5.3-cp310-cp310-macosx_11_0_arm64.whl.

File metadata

File hashes

Hashes for typed_ast-1.5.3-cp310-cp310-macosx_11_0_arm64.whl
Algorithm Hash digest
SHA256 542cd732351ba8235f20faa0fc7398946fe1a57f2cdb289e5497e1e7f48cfedb
MD5 095e185bb163cb95c2b84a60f8ce3299
BLAKE2b-256 d9c804be9fc1b54b790cde5dee667b22043d92527e558c9285b653b51f46614d

See more details on using hashes here.

File details

Details for the file typed_ast-1.5.3-cp310-cp310-macosx_10_9_x86_64.whl.

File metadata

File hashes

Hashes for typed_ast-1.5.3-cp310-cp310-macosx_10_9_x86_64.whl
Algorithm Hash digest
SHA256 9ad3b48cf2b487be140072fb86feff36801487d4abb7382bb1929aaac80638ea
MD5 8915de9aea533cc68c2ce1d43370c21b
BLAKE2b-256 daa13f4770413f69876f35943b7ef4fa8739a372057710510d72b300c759c0f3

See more details on using hashes here.

File details

Details for the file typed_ast-1.5.3-cp39-cp39-win_amd64.whl.

File metadata

  • Download URL: typed_ast-1.5.3-cp39-cp39-win_amd64.whl
  • Upload date:
  • Size: 163.5 kB
  • Tags: CPython 3.9, Windows x86-64
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/4.0.0 CPython/3.9.10

File hashes

Hashes for typed_ast-1.5.3-cp39-cp39-win_amd64.whl
Algorithm Hash digest
SHA256 20d5118e494478ef2d3a2702d964dae830aedd7b4d3b626d003eea526be18718
MD5 8ffe8cd74775204fcc999a5c84f642c6
BLAKE2b-256 2ff32037015139b70b86320bd5d5297757cd0f59d62b350f9f97c8561d2de739

See more details on using hashes here.

File details

Details for the file typed_ast-1.5.3-cp39-cp39-manylinux_2_17_aarch64.manylinux2014_aarch64.whl.

File metadata

File hashes

Hashes for typed_ast-1.5.3-cp39-cp39-manylinux_2_17_aarch64.manylinux2014_aarch64.whl
Algorithm Hash digest
SHA256 c9f1a27592fac87daa4e3f16538713d705599b0a27dfe25518b80b6b017f0a6d
MD5 922651d193f7ea803b63f15f4b0ae9f7
BLAKE2b-256 5a22cf3081e24ed317788977e1d0490b3edbcd0d8e41c9c2762775f98cf9555a

See more details on using hashes here.

File details

Details for the file typed_ast-1.5.3-cp39-cp39-manylinux_2_5_x86_64.manylinux1_x86_64.manylinux_2_12_x86_64.manylinux2010_x86_64.whl.

File metadata

File hashes

Hashes for typed_ast-1.5.3-cp39-cp39-manylinux_2_5_x86_64.manylinux1_x86_64.manylinux_2_12_x86_64.manylinux2010_x86_64.whl
Algorithm Hash digest
SHA256 8831479695eadc8b5ffed06fdfb3e424adc37962a75925668deeb503f446c0a3
MD5 6d5c2779332f46e7ab9e4df57ac4a66f
BLAKE2b-256 60478eaf36d1bde67d34af464058019e56b7b5dca1664c7058eff2c91e9fce16

See more details on using hashes here.

File details

Details for the file typed_ast-1.5.3-cp39-cp39-macosx_11_0_arm64.whl.

File metadata

File hashes

Hashes for typed_ast-1.5.3-cp39-cp39-macosx_11_0_arm64.whl
Algorithm Hash digest
SHA256 37e5349d1d5de2f4763d534ccb26809d1c24b180a477659a12c4bde9dd677d74
MD5 f3305c8d59d4d5d62715d599d7bf2b91
BLAKE2b-256 e6bb894d5b6b075b5c2ea3bb918ff012ca17e82889ae6e7f912c40bc23a2e2b0

See more details on using hashes here.

File details

Details for the file typed_ast-1.5.3-cp39-cp39-macosx_10_9_x86_64.whl.

File metadata

File hashes

Hashes for typed_ast-1.5.3-cp39-cp39-macosx_10_9_x86_64.whl
Algorithm Hash digest
SHA256 e20d196815eeffb3d76b75223e8ffed124e65ee62097e4e73afb5fec6b993e7a
MD5 b5c76f36624b16604c65ca643cbded19
BLAKE2b-256 ba996aae7f46c8eb147b7e4bdefec8d377a7dd1d4bbc6ae3d8f8c8093fdd64a1

See more details on using hashes here.

File details

Details for the file typed_ast-1.5.3-cp38-cp38-win_amd64.whl.

File metadata

  • Download URL: typed_ast-1.5.3-cp38-cp38-win_amd64.whl
  • Upload date:
  • Size: 162.5 kB
  • Tags: CPython 3.8, Windows x86-64
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/4.0.0 CPython/3.9.10

File hashes

Hashes for typed_ast-1.5.3-cp38-cp38-win_amd64.whl
Algorithm Hash digest
SHA256 9cc9e1457e1feb06b075c8ef8aeb046a28ec351b1958b42c7c31c989c841403a
MD5 dff1c3a136f63e88dc801b9117ccc911
BLAKE2b-256 2042257560c97953ed9f7e2964afb31c393214c8ac6127d80e1eb1a2d2371710

See more details on using hashes here.

File details

Details for the file typed_ast-1.5.3-cp38-cp38-manylinux_2_17_aarch64.manylinux2014_aarch64.whl.

File metadata

File hashes

Hashes for typed_ast-1.5.3-cp38-cp38-manylinux_2_17_aarch64.manylinux2014_aarch64.whl
Algorithm Hash digest
SHA256 d64dabc6336ddc10373922a146fa2256043b3b43e61f28961caec2a5207c56d5
MD5 f0560fb06025e7008f3a8da59a078ebc
BLAKE2b-256 15e6cf9165982e5348c1264d64d114cb86628f11f2536bbda678e8323f2b0289

See more details on using hashes here.

File details

Details for the file typed_ast-1.5.3-cp38-cp38-manylinux_2_5_x86_64.manylinux1_x86_64.manylinux_2_12_x86_64.manylinux2010_x86_64.whl.

File metadata

File hashes

Hashes for typed_ast-1.5.3-cp38-cp38-manylinux_2_5_x86_64.manylinux1_x86_64.manylinux_2_12_x86_64.manylinux2010_x86_64.whl
Algorithm Hash digest
SHA256 8cdf91b0c466a6c43f36c1964772918a2c04cfa83df8001ff32a89e357f8eb06
MD5 bc88e60aef8e760cb0ada9815b0ebadd
BLAKE2b-256 198d7bb9de83f88c6d78df5d580e6abb4ad805dafc20c925a28b50e6e47c645d

See more details on using hashes here.

File details

Details for the file typed_ast-1.5.3-cp38-cp38-macosx_11_0_arm64.whl.

File metadata

File hashes

Hashes for typed_ast-1.5.3-cp38-cp38-macosx_11_0_arm64.whl
Algorithm Hash digest
SHA256 27e46cdd01d6c3a0dd8f728b6a938a6751f7bd324817501c15fb056307f918c6
MD5 64400b9cd726169f2d8180b88dab82d3
BLAKE2b-256 ebe9a2e1ea7146badf2b48a51a10fdb445fc8b3c2b374ad444f95dcf4080751f

See more details on using hashes here.

File details

Details for the file typed_ast-1.5.3-cp38-cp38-macosx_10_9_x86_64.whl.

File metadata

File hashes

Hashes for typed_ast-1.5.3-cp38-cp38-macosx_10_9_x86_64.whl
Algorithm Hash digest
SHA256 ee852185964744987609b40aee1d2eb81502ae63ee8eef614558f96a56c1902d
MD5 66bb5b3284fb010ad5d72a3a4930138e
BLAKE2b-256 f35959c840d8e4397d0bd7951d691b02fe3a3d35c17110eb8dfe79c07bddc150

See more details on using hashes here.

File details

Details for the file typed_ast-1.5.3-cp37-cp37m-win_amd64.whl.

File metadata

  • Download URL: typed_ast-1.5.3-cp37-cp37m-win_amd64.whl
  • Upload date:
  • Size: 161.2 kB
  • Tags: CPython 3.7m, Windows x86-64
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/4.0.0 CPython/3.9.10

File hashes

Hashes for typed_ast-1.5.3-cp37-cp37m-win_amd64.whl
Algorithm Hash digest
SHA256 9e237e74fd321a55c90eee9bc5d44be976979ad38a29bbd734148295c1ce7617
MD5 1222d83189f1ca65060fd79d78f0f887
BLAKE2b-256 ce88c7fcf401487d72cba91024e532efdb3457611d4ee9760ce90b71ab177f1a

See more details on using hashes here.

File details

Details for the file typed_ast-1.5.3-cp37-cp37m-manylinux_2_17_aarch64.manylinux2014_aarch64.whl.

File metadata

File hashes

Hashes for typed_ast-1.5.3-cp37-cp37m-manylinux_2_17_aarch64.manylinux2014_aarch64.whl
Algorithm Hash digest
SHA256 ed44e81517364cb5ba367e4f68fca01fba42a7a4690d40c07886586ac267d9b9
MD5 931cf0718cecb0877a814cee1f21f5b8
BLAKE2b-256 349adcade1705f37cc4b2b5c0d93a732ac5d58368ba3486713fed6d31412422f

See more details on using hashes here.

File details

Details for the file typed_ast-1.5.3-cp37-cp37m-manylinux_2_5_x86_64.manylinux1_x86_64.manylinux_2_12_x86_64.manylinux2010_x86_64.whl.

File metadata

File hashes

Hashes for typed_ast-1.5.3-cp37-cp37m-manylinux_2_5_x86_64.manylinux1_x86_64.manylinux_2_12_x86_64.manylinux2010_x86_64.whl
Algorithm Hash digest
SHA256 f60d9de0d087454c91b3999a296d0c4558c1666771e3460621875021bf899af9
MD5 9cdde1a2a76b7a15d5d59b10393f2919
BLAKE2b-256 9a3bc774e4b896b63c4180ff678a87fa6aaa9e6fa5ce9965c96b7524ed25dd1a

See more details on using hashes here.

File details

Details for the file typed_ast-1.5.3-cp37-cp37m-macosx_10_9_x86_64.whl.

File metadata

File hashes

Hashes for typed_ast-1.5.3-cp37-cp37m-macosx_10_9_x86_64.whl
Algorithm Hash digest
SHA256 8ef1d96ad05a291f5c36895d86d1375c0ee70595b90f6bb5f5fdbee749b146db
MD5 4b9331bcd76ae77f110ea4bab2e416dd
BLAKE2b-256 e71cf84ac3dd3650ba6421277044dc619fffdcbbd0394d6950eabd2d27e84c5b

See more details on using hashes here.

File details

Details for the file typed_ast-1.5.3-cp36-cp36m-win_amd64.whl.

File metadata

  • Download URL: typed_ast-1.5.3-cp36-cp36m-win_amd64.whl
  • Upload date:
  • Size: 161.2 kB
  • Tags: CPython 3.6m, Windows x86-64
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/4.0.0 CPython/3.9.10

File hashes

Hashes for typed_ast-1.5.3-cp36-cp36m-win_amd64.whl
Algorithm Hash digest
SHA256 8e0b8528838ffd426fea8d18bde4c73bcb4167218998cc8b9ee0a0f2bfe678a6
MD5 4cfe1133825c23fcfc5a1da3370a318e
BLAKE2b-256 7edecc3048dd43df10b3353151b682f9ede385bebac0ec32b00b62023acc81bb

See more details on using hashes here.

File details

Details for the file typed_ast-1.5.3-cp36-cp36m-manylinux_2_17_aarch64.manylinux2014_aarch64.whl.

File metadata

File hashes

Hashes for typed_ast-1.5.3-cp36-cp36m-manylinux_2_17_aarch64.manylinux2014_aarch64.whl
Algorithm Hash digest
SHA256 3042bfc9ca118712c9809201f55355479cfcdc17449f9f8db5e744e9625c6805
MD5 cc9937b7945be151db9ee80279357d48
BLAKE2b-256 aa21b2129e6034884b08d89ec9b691267bfc4c67ae9a87e6ba632510b48ae47e

See more details on using hashes here.

File details

Details for the file typed_ast-1.5.3-cp36-cp36m-manylinux_2_5_x86_64.manylinux1_x86_64.manylinux_2_12_x86_64.manylinux2010_x86_64.whl.

File metadata

File hashes

Hashes for typed_ast-1.5.3-cp36-cp36m-manylinux_2_5_x86_64.manylinux1_x86_64.manylinux_2_12_x86_64.manylinux2010_x86_64.whl
Algorithm Hash digest
SHA256 4fff9fdcce59dc61ec1b317bdb319f8f4e6b69ebbe61193ae0a60c5f9333dc49
MD5 ae2427e4e40c6a4719793b8ff12cba2f
BLAKE2b-256 e2dc40caedf9512442b173cc4b7add05fe82852fa4e4eddf6c1865aecee10474

See more details on using hashes here.

File details

Details for the file typed_ast-1.5.3-cp36-cp36m-macosx_10_9_x86_64.whl.

File metadata

File hashes

Hashes for typed_ast-1.5.3-cp36-cp36m-macosx_10_9_x86_64.whl
Algorithm Hash digest
SHA256 f818c5b81966d4728fec14caa338e30a70dfc3da577984d38f97816c4b3071ec
MD5 077a059eeba97d38549b78848ada2592
BLAKE2b-256 0223f98ce95b2d6b8aa9ce0082aa062403364f53ce7e13ca51a35d06e93f3d9e

See more details on using hashes here.

Supported by

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