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.4.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.4-cp310-cp310-win_amd64.whl (162.7 kB view details)

Uploaded CPython 3.10Windows x86-64

typed_ast-1.5.4-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.4-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.4-cp310-cp310-macosx_11_0_arm64.whl (207.6 kB view details)

Uploaded CPython 3.10macOS 11.0+ ARM64

typed_ast-1.5.4-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.4-cp39-cp39-win_amd64.whl (162.9 kB view details)

Uploaded CPython 3.9Windows x86-64

typed_ast-1.5.4-cp39-cp39-manylinux_2_17_aarch64.manylinux2014_aarch64.whl (840.8 kB view details)

Uploaded CPython 3.9manylinux: glibc 2.17+ ARM64

typed_ast-1.5.4-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.4-cp39-cp39-macosx_11_0_arm64.whl (207.7 kB view details)

Uploaded CPython 3.9macOS 11.0+ ARM64

typed_ast-1.5.4-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.4-cp38-cp38-win_amd64.whl (162.0 kB view details)

Uploaded CPython 3.8Windows x86-64

typed_ast-1.5.4-cp38-cp38-manylinux_2_17_aarch64.manylinux2014_aarch64.whl (860.9 kB view details)

Uploaded CPython 3.8manylinux: glibc 2.17+ ARM64

typed_ast-1.5.4-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.4-cp38-cp38-macosx_11_0_arm64.whl (207.3 kB view details)

Uploaded CPython 3.8macOS 11.0+ ARM64

typed_ast-1.5.4-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.4-cp37-cp37m-win_amd64.whl (160.9 kB view details)

Uploaded CPython 3.7mWindows x86-64

typed_ast-1.5.4-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.4-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.4-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.4-cp36-cp36m-win_amd64.whl (160.9 kB view details)

Uploaded CPython 3.6mWindows x86-64

typed_ast-1.5.4-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.4-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.4-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.4.tar.gz.

File metadata

  • Download URL: typed_ast-1.5.4.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.4.tar.gz
Algorithm Hash digest
SHA256 39e21ceb7388e4bb37f4c679d72707ed46c2fbf2a5609b8b8ebc4b067d977df2
MD5 1b0183d362a886a447d8314a97bc37b3
BLAKE2b-256 07d2d55702e8deba2c80282fea0df53130790d8f398648be589750954c2dcce4

See more details on using hashes here.

File details

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

File metadata

  • Download URL: typed_ast-1.5.4-cp310-cp310-win_amd64.whl
  • Upload date:
  • Size: 162.7 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.4-cp310-cp310-win_amd64.whl
Algorithm Hash digest
SHA256 a9916d2bb8865f973824fb47436fa45e1ebf2efd920f2b9f99342cb7fab93f72
MD5 799c64cf9fc02141b86f36a80abf6faf
BLAKE2b-256 cdf3188eede730be3f6ddb9a788cd6b7289207c5fceebbf8ae190f9716dd8c05

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for typed_ast-1.5.4-cp310-cp310-manylinux_2_17_aarch64.manylinux2014_aarch64.whl
Algorithm Hash digest
SHA256 267e3f78697a6c00c689c03db4876dd1efdfea2f251a5ad6555e82a26847b4ac
MD5 bfef2a342c346dc8dc63a32a0d34bdfa
BLAKE2b-256 9635612258bab9e1867b28e3137910df35576b7b0fbb9b6f3013cc23435a79ed

See more details on using hashes here.

File details

Details for the file typed_ast-1.5.4-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.4-cp310-cp310-manylinux_2_5_x86_64.manylinux1_x86_64.manylinux_2_12_x86_64.manylinux2010_x86_64.whl
Algorithm Hash digest
SHA256 c542eeda69212fa10a7ada75e668876fdec5f856cd3d06829e6aa64ad17c8dfe
MD5 dac98da4d8967f07c0c9e96762961e2b
BLAKE2b-256 c490dacf9226b34961277f357c17c33b7cae3f05a5f5b8a1d23bd630d7a97a36

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for typed_ast-1.5.4-cp310-cp310-macosx_11_0_arm64.whl
Algorithm Hash digest
SHA256 211260621ab1cd7324e0798d6be953d00b74e0428382991adfddb352252f1d62
MD5 3c4026b89c3be76fddedfd2cdf958ac6
BLAKE2b-256 486cd96a545d337589dc5d7ecc0f8991122800ffec8dc10a24090619883b515e

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for typed_ast-1.5.4-cp310-cp310-macosx_10_9_x86_64.whl
Algorithm Hash digest
SHA256 669dd0c4167f6f2cd9f57041e03c3c2ebf9063d0757dc89f79ba1daa2bfca9d4
MD5 bb2427ee68e3e9e9c5083b66d1fa91ff
BLAKE2b-256 0f59430b86961d63278fcbced5ba72655ee93aa35e8e908bad4ff138480eb25d

See more details on using hashes here.

File details

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

File metadata

  • Download URL: typed_ast-1.5.4-cp39-cp39-win_amd64.whl
  • Upload date:
  • Size: 162.9 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.4-cp39-cp39-win_amd64.whl
Algorithm Hash digest
SHA256 0fdbcf2fef0ca421a3f5912555804296f0b0960f0418c440f5d6d3abb549f3e1
MD5 82dcad91dd01a50fd2fd8d96c439f02f
BLAKE2b-256 cadafbc14befbf19d69d05b4b8b019edbc6554d958037a821c6d5585767fe0ff

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for typed_ast-1.5.4-cp39-cp39-manylinux_2_17_aarch64.manylinux2014_aarch64.whl
Algorithm Hash digest
SHA256 ebd9d7f80ccf7a82ac5f88c521115cc55d84e35bf8b446fcd7836eb6b98929a3
MD5 558aa0aaabaa1034290777a9bc065392
BLAKE2b-256 2fd502059fe6ca70b11bb831007962323160372ca83843e0bf296e8b6d833198

See more details on using hashes here.

File details

Details for the file typed_ast-1.5.4-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.4-cp39-cp39-manylinux_2_5_x86_64.manylinux1_x86_64.manylinux_2_12_x86_64.manylinux2010_x86_64.whl
Algorithm Hash digest
SHA256 98f80dee3c03455e92796b58b98ff6ca0b2a6f652120c263efdba4d6c5e58f72
MD5 bd647ce20f2defeee00cbbd214f3d179
BLAKE2b-256 d84edb9505b53c44d7bc324a3d2e09bdf82b0943d6e08b183ae382860f482a87

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for typed_ast-1.5.4-cp39-cp39-macosx_11_0_arm64.whl
Algorithm Hash digest
SHA256 3e123d878ba170397916557d31c8f589951e353cc95fb7f24f6bb69adc1a8a97
MD5 184770246cfac2e1985c75785d3667ab
BLAKE2b-256 0be78ec06fc870254889198f933a595f139b7871b24bab1116d6128440731ea9

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for typed_ast-1.5.4-cp39-cp39-macosx_10_9_x86_64.whl
Algorithm Hash digest
SHA256 4879da6c9b73443f97e731b617184a596ac1235fe91f98d279a7af36c796da35
MD5 90c1f80b6c6cc7673095a5f90507330f
BLAKE2b-256 f95789ac0020d5ffc762487376d0c78e5d02af795657f18c411155b73de3c765

See more details on using hashes here.

File details

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

File metadata

  • Download URL: typed_ast-1.5.4-cp38-cp38-win_amd64.whl
  • Upload date:
  • Size: 162.0 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.4-cp38-cp38-win_amd64.whl
Algorithm Hash digest
SHA256 683407d92dc953c8a7347119596f0b0e6c55eb98ebebd9b23437501b28dcbb8e
MD5 4065d7db38cb328317a834fc18120602
BLAKE2b-256 5ce3f539e658614ebf5a521c8ba7cbbb98afc5f5e90ddb0332ea22c164612dad

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for typed_ast-1.5.4-cp38-cp38-manylinux_2_17_aarch64.manylinux2014_aarch64.whl
Algorithm Hash digest
SHA256 370788a63915e82fd6f212865a596a0fefcbb7d408bbbb13dea723d971ed8bdc
MD5 83143c368daee0a791dea72dca7eb415
BLAKE2b-256 78183ecf5043f227ebd4a43af57e18e6a38f9fe0b81dbfbb8d62eec669d7b69e

See more details on using hashes here.

File details

Details for the file typed_ast-1.5.4-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.4-cp38-cp38-manylinux_2_5_x86_64.manylinux1_x86_64.manylinux_2_12_x86_64.manylinux2010_x86_64.whl
Algorithm Hash digest
SHA256 4e964b4ff86550a7a7d56345c7864b18f403f5bd7380edf44a3c1fb4ee7ac6c6
MD5 b6809815651bcf95c7b68bc8019e9490
BLAKE2b-256 401a5731a1a3908f60032aead10c2ffc9af12ee708bc9a156ed14a5065a9873a

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for typed_ast-1.5.4-cp38-cp38-macosx_11_0_arm64.whl
Algorithm Hash digest
SHA256 7d5d014b7daa8b0bf2eaef684295acae12b036d79f54178b92a2b6a56f92278f
MD5 f8427eafdf5d8c66a14d051dd888b814
BLAKE2b-256 2f8725abe9558ed6cbd83ad5bfdccf7210a7eefaaf0232f86de99f65992e91fd

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for typed_ast-1.5.4-cp38-cp38-macosx_10_9_x86_64.whl
Algorithm Hash digest
SHA256 2efae9db7a8c05ad5547d522e7dbe62c83d838d3906a3716d1478b6c1d61388d
MD5 607b48525bee35a5961c30446fb3b9b7
BLAKE2b-256 9bd55540eb496c6817eaee8120fb759c7adb36f91ef647c6bb2877f09acc0569

See more details on using hashes here.

File details

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

File metadata

  • Download URL: typed_ast-1.5.4-cp37-cp37m-win_amd64.whl
  • Upload date:
  • Size: 160.9 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.4-cp37-cp37m-win_amd64.whl
Algorithm Hash digest
SHA256 0261195c2062caf107831e92a76764c81227dae162c4f75192c0d489faf751a2
MD5 3f72ebeb37099bdce48080218effd979
BLAKE2b-256 1af6dd891624aaf98b918d7012b9d01753d0192c4eb18cf33ce616c0e08f62ba

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for typed_ast-1.5.4-cp37-cp37m-manylinux_2_17_aarch64.manylinux2014_aarch64.whl
Algorithm Hash digest
SHA256 ed855bbe3eb3715fca349c80174cfcfd699c2f9de574d40527b8429acae23a66
MD5 1ca0d3528abecefaa1a598494ec99c93
BLAKE2b-256 dd8709764c19a60a192b935579c93a07e781f6a52def10b723c8c5748e69a863

See more details on using hashes here.

File details

Details for the file typed_ast-1.5.4-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.4-cp37-cp37m-manylinux_2_5_x86_64.manylinux1_x86_64.manylinux_2_12_x86_64.manylinux2010_x86_64.whl
Algorithm Hash digest
SHA256 6778e1b2f81dfc7bc58e4b259363b83d2e509a65198e85d5700dfae4c6c8ff1c
MD5 f0e3180f79798bf0dfb7c43ed68db394
BLAKE2b-256 0493482d12fd3334b53ec4087e658ab161ab23affcf8b052166b4cf972ca673b

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for typed_ast-1.5.4-cp37-cp37m-macosx_10_9_x86_64.whl
Algorithm Hash digest
SHA256 cf4afcfac006ece570e32d6fa90ab74a17245b83dfd6655a6f68568098345ff6
MD5 0cb673f1b4c527c7a6f242c6d73968fd
BLAKE2b-256 342d17fc1845dd5210345904b054c9fa90f451d64df56de0470f429bc8d63d39

See more details on using hashes here.

File details

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

File metadata

  • Download URL: typed_ast-1.5.4-cp36-cp36m-win_amd64.whl
  • Upload date:
  • Size: 160.9 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.4-cp36-cp36m-win_amd64.whl
Algorithm Hash digest
SHA256 639c5f0b21776605dd6c9dbe592d5228f021404dafd377e2b7ac046b0349b1a1
MD5 99deb1de33fa49392a6743b3a530b10f
BLAKE2b-256 702c6d18e111d2c5422bb9e561bbf36885e430407859b2adef9b3fb575f189d5

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for typed_ast-1.5.4-cp36-cp36m-manylinux_2_17_aarch64.manylinux2014_aarch64.whl
Algorithm Hash digest
SHA256 a94d55d142c9265f4ea46fab70977a1944ecae359ae867397757d836ea5a3f47
MD5 eeda9b045b9c849cdb837982060f2d9e
BLAKE2b-256 385448f7d5b1f954f3a4d8f76e1a11c8497ae899b900cd5a67f826fa3937f701

See more details on using hashes here.

File details

Details for the file typed_ast-1.5.4-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.4-cp36-cp36m-manylinux_2_5_x86_64.manylinux1_x86_64.manylinux_2_12_x86_64.manylinux2010_x86_64.whl
Algorithm Hash digest
SHA256 183afdf0ec5b1b211724dfef3d2cad2d767cbefac291f24d69b00546c1837fb6
MD5 7f0ebf0b6811be7fe54995ebecfd18ed
BLAKE2b-256 e37c7407838e9c540031439f2948bce2763cdd6882ebb72cc0a25b763c10529e

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for typed_ast-1.5.4-cp36-cp36m-macosx_10_9_x86_64.whl
Algorithm Hash digest
SHA256 79b1e0869db7c830ba6a981d58711c88b6677506e648496b1f64ac7d15633aec
MD5 927b7a27d95b7aa6ecec3f3eca85a9f5
BLAKE2b-256 4ec1cddc664ed3dd7d6bb62c80286c4e088b10556efc9a8db2049b425f8f23f7

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