Skip to main content

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

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.1.tar.gz (252.3 kB view details)

Uploaded Source

Built Distributions

typed_ast-1.5.1-cp310-cp310-win_amd64.whl (165.0 kB view details)

Uploaded CPython 3.10 Windows x86-64

typed_ast-1.5.1-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.10 manylinux: glibc 2.12+ x86-64 manylinux: glibc 2.5+ x86-64

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

Uploaded CPython 3.10 macOS 11.0+ ARM64

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

Uploaded CPython 3.10 macOS 10.9+ x86-64

typed_ast-1.5.1-cp39-cp39-win_amd64.whl (165.1 kB view details)

Uploaded CPython 3.9 Windows x86-64

typed_ast-1.5.1-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.9 manylinux: glibc 2.12+ x86-64 manylinux: glibc 2.5+ x86-64

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

Uploaded CPython 3.9 macOS 11.0+ ARM64

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

Uploaded CPython 3.9 macOS 10.9+ x86-64

typed_ast-1.5.1-cp38-cp38-win_amd64.whl (164.1 kB view details)

Uploaded CPython 3.8 Windows x86-64

typed_ast-1.5.1-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.8 manylinux: glibc 2.12+ x86-64 manylinux: glibc 2.5+ x86-64

typed_ast-1.5.1-cp38-cp38-macosx_11_0_arm64.whl (207.2 kB view details)

Uploaded CPython 3.8 macOS 11.0+ ARM64

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

Uploaded CPython 3.8 macOS 10.9+ x86-64

typed_ast-1.5.1-cp37-cp37m-win_amd64.whl (161.3 kB view details)

Uploaded CPython 3.7m Windows x86-64

typed_ast-1.5.1-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.7m manylinux: glibc 2.12+ x86-64 manylinux: glibc 2.5+ x86-64

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

Uploaded CPython 3.7m macOS 10.9+ x86-64

typed_ast-1.5.1-cp36-cp36m-win_amd64.whl (161.3 kB view details)

Uploaded CPython 3.6m Windows x86-64

typed_ast-1.5.1-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.6m manylinux: glibc 2.12+ x86-64 manylinux: glibc 2.5+ x86-64

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

Uploaded CPython 3.6m macOS 10.9+ x86-64

File details

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

File metadata

  • Download URL: typed_ast-1.5.1.tar.gz
  • Upload date:
  • Size: 252.3 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/3.4.2 importlib_metadata/4.8.1 pkginfo/1.7.1 requests/2.26.0 requests-toolbelt/0.9.1 tqdm/4.62.2 CPython/3.9.9

File hashes

Hashes for typed_ast-1.5.1.tar.gz
Algorithm Hash digest
SHA256 484137cab8ecf47e137260daa20bafbba5f4e3ec7fda1c1e69ab299b75fa81c5
MD5 47d3b977b1dd121c5b4bd1c8777f0e24
BLAKE2b-256 39ea548f05abe9604a08ae99c64bf75a4061a4eb9b0062162501bfb4fafdf68f

See more details on using hashes here.

Provenance

File details

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

File metadata

  • Download URL: typed_ast-1.5.1-cp310-cp310-win_amd64.whl
  • Upload date:
  • Size: 165.0 kB
  • Tags: CPython 3.10, Windows x86-64
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/3.4.2 importlib_metadata/4.8.1 pkginfo/1.7.1 requests/2.26.0 requests-toolbelt/0.9.1 tqdm/4.62.2 CPython/3.9.9

File hashes

Hashes for typed_ast-1.5.1-cp310-cp310-win_amd64.whl
Algorithm Hash digest
SHA256 a6d495c1ef572519a7bac9534dbf6d94c40e5b6a608ef41136133377bba4aa08
MD5 7013f800034c7abddb624f65a82af689
BLAKE2b-256 2471f7da47d89923ae62d133ad1445eb36541d0cca3e8cb7e0729874ab7d88d0

See more details on using hashes here.

Provenance

File details

Details for the file typed_ast-1.5.1-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.1-cp310-cp310-manylinux_2_5_x86_64.manylinux1_x86_64.manylinux_2_12_x86_64.manylinux2010_x86_64.whl
Algorithm Hash digest
SHA256 24058827d8f5d633f97223f5148a7d22628099a3d2efe06654ce872f46f07cdb
MD5 a76aafa7d671ba542257e4262b7f8adb
BLAKE2b-256 803eda2b92264b7bba668dd4ecd765285196fa149badad84b1a5706ba26c0221

See more details on using hashes here.

Provenance

File details

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

File metadata

  • Download URL: typed_ast-1.5.1-cp310-cp310-macosx_11_0_arm64.whl
  • Upload date:
  • Size: 207.6 kB
  • Tags: CPython 3.10, macOS 11.0+ ARM64
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/3.4.2 importlib_metadata/4.8.1 pkginfo/1.7.1 requests/2.26.0 requests-toolbelt/0.9.1 tqdm/4.62.2 CPython/3.9.9

File hashes

Hashes for typed_ast-1.5.1-cp310-cp310-macosx_11_0_arm64.whl
Algorithm Hash digest
SHA256 b53ae5de5500529c76225d18eeb060efbcec90ad5e030713fe8dab0fb4531631
MD5 4e224d97a8211f93456a149c0c5730e2
BLAKE2b-256 a203aafa15a396387b7bd622b6ceba79cb9784eb50617040652a3feb8c02bc58

See more details on using hashes here.

Provenance

File details

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

File metadata

  • Download URL: typed_ast-1.5.1-cp310-cp310-macosx_10_9_x86_64.whl
  • Upload date:
  • Size: 223.3 kB
  • Tags: CPython 3.10, macOS 10.9+ x86-64
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/3.4.2 importlib_metadata/4.8.1 pkginfo/1.7.1 requests/2.26.0 requests-toolbelt/0.9.1 tqdm/4.62.2 CPython/3.9.9

File hashes

Hashes for typed_ast-1.5.1-cp310-cp310-macosx_10_9_x86_64.whl
Algorithm Hash digest
SHA256 5d8314c92414ce7481eee7ad42b353943679cf6f30237b5ecbf7d835519e1212
MD5 cd64dea0ac0323c06a9d62c1cc5ca382
BLAKE2b-256 e34f3c2ee6a72ba9dd78aa6c377aa0df060fd101d588f2c236c8f03290eaf908

See more details on using hashes here.

Provenance

File details

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

File metadata

  • Download URL: typed_ast-1.5.1-cp39-cp39-win_amd64.whl
  • Upload date:
  • Size: 165.1 kB
  • Tags: CPython 3.9, Windows x86-64
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/3.4.2 importlib_metadata/4.8.1 pkginfo/1.7.1 requests/2.26.0 requests-toolbelt/0.9.1 tqdm/4.62.2 CPython/3.9.9

File hashes

Hashes for typed_ast-1.5.1-cp39-cp39-win_amd64.whl
Algorithm Hash digest
SHA256 b6d17f37f6edd879141e64a5db17b67488cfeffeedad8c5cec0392305e9bc775
MD5 12c71b232b279eadeade6864226d5373
BLAKE2b-256 ecb13a75ade0e9427bc6582a3a36182fd9f3de83420d8e55090595e3a3089eda

See more details on using hashes here.

Provenance

File details

Details for the file typed_ast-1.5.1-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.1-cp39-cp39-manylinux_2_5_x86_64.manylinux1_x86_64.manylinux_2_12_x86_64.manylinux2010_x86_64.whl
Algorithm Hash digest
SHA256 a2b8d7007f6280e36fa42652df47087ac7b0a7d7f09f9468f07792ba646aac2d
MD5 4b57b4a14d50ce38586f70ca2a552991
BLAKE2b-256 a25d0437da750c1250a51ea93dd5401f6cf7842388f10f61393872661fed9221

See more details on using hashes here.

Provenance

File details

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

File metadata

  • Download URL: typed_ast-1.5.1-cp39-cp39-macosx_11_0_arm64.whl
  • Upload date:
  • Size: 207.7 kB
  • Tags: CPython 3.9, macOS 11.0+ ARM64
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/3.4.2 importlib_metadata/4.8.1 pkginfo/1.7.1 requests/2.26.0 requests-toolbelt/0.9.1 tqdm/4.62.2 CPython/3.9.9

File hashes

Hashes for typed_ast-1.5.1-cp39-cp39-macosx_11_0_arm64.whl
Algorithm Hash digest
SHA256 5b6ab14c56bc9c7e3c30228a0a0b54b915b1579613f6e463ba6f4eb1382e7fd4
MD5 28e40e262fa6e5fa4aab82f1a0934791
BLAKE2b-256 4872a52b993f6458d29d99073ec77aff75bb72c81453e7d46438e0b1e0a47e4b

See more details on using hashes here.

Provenance

File details

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

File metadata

  • Download URL: typed_ast-1.5.1-cp39-cp39-macosx_10_9_x86_64.whl
  • Upload date:
  • Size: 223.4 kB
  • Tags: CPython 3.9, macOS 10.9+ x86-64
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/3.4.2 importlib_metadata/4.8.1 pkginfo/1.7.1 requests/2.26.0 requests-toolbelt/0.9.1 tqdm/4.62.2 CPython/3.9.9

File hashes

Hashes for typed_ast-1.5.1-cp39-cp39-macosx_10_9_x86_64.whl
Algorithm Hash digest
SHA256 38cf5c642fa808300bae1281460d4f9b7617cf864d4e383054a5ef336e344d32
MD5 5baf495aeb5d2c6383639824e4b39d11
BLAKE2b-256 6d0b70eca90e9ba49a57e817f85996bdb1cbf985f3552231ebb4f2cae432fd04

See more details on using hashes here.

Provenance

File details

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

File metadata

  • Download URL: typed_ast-1.5.1-cp38-cp38-win_amd64.whl
  • Upload date:
  • Size: 164.1 kB
  • Tags: CPython 3.8, Windows x86-64
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/3.4.2 importlib_metadata/4.8.1 pkginfo/1.7.1 requests/2.26.0 requests-toolbelt/0.9.1 tqdm/4.62.2 CPython/3.9.9

File hashes

Hashes for typed_ast-1.5.1-cp38-cp38-win_amd64.whl
Algorithm Hash digest
SHA256 a80d84f535642420dd17e16ae25bb46c7f4c16ee231105e7f3eb43976a89670a
MD5 5ec5c4a5a46201bfb900df6907c0c4a4
BLAKE2b-256 936a1b01a1864854fd6ed63e0e0649a9c1e4ef1425e417c43e7b09c0e4e7fdac

See more details on using hashes here.

Provenance

File details

Details for the file typed_ast-1.5.1-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.1-cp38-cp38-manylinux_2_5_x86_64.manylinux1_x86_64.manylinux_2_12_x86_64.manylinux2010_x86_64.whl
Algorithm Hash digest
SHA256 591bc04e507595887160ed7aa8d6785867fb86c5793911be79ccede61ae96f4d
MD5 28c5bee6bf1e1acc8cf6d67c9d803bc6
BLAKE2b-256 04af536300573bd695dd5dd112e0041c5c160ee036017d30e34f761aa42b2370

See more details on using hashes here.

Provenance

File details

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

File metadata

  • Download URL: typed_ast-1.5.1-cp38-cp38-macosx_11_0_arm64.whl
  • Upload date:
  • Size: 207.2 kB
  • Tags: CPython 3.8, macOS 11.0+ ARM64
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/3.4.2 importlib_metadata/4.8.1 pkginfo/1.7.1 requests/2.26.0 requests-toolbelt/0.9.1 tqdm/4.62.2 CPython/3.9.9

File hashes

Hashes for typed_ast-1.5.1-cp38-cp38-macosx_11_0_arm64.whl
Algorithm Hash digest
SHA256 c9bcad65d66d594bffab8575f39420fe0ee96f66e23c4d927ebb4e24354ec1af
MD5 c17982fd8be8dff10dc2fe3aaabc1fb2
BLAKE2b-256 44c7f855b32e8ac54091c303fb045d37495fc3f3888282916848da6f8c0d4a24

See more details on using hashes here.

Provenance

File details

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

File metadata

  • Download URL: typed_ast-1.5.1-cp38-cp38-macosx_10_9_x86_64.whl
  • Upload date:
  • Size: 222.6 kB
  • Tags: CPython 3.8, macOS 10.9+ x86-64
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/3.4.2 importlib_metadata/4.8.1 pkginfo/1.7.1 requests/2.26.0 requests-toolbelt/0.9.1 tqdm/4.62.2 CPython/3.9.9

File hashes

Hashes for typed_ast-1.5.1-cp38-cp38-macosx_10_9_x86_64.whl
Algorithm Hash digest
SHA256 9caaf2b440efb39ecbc45e2fabde809cbe56272719131a6318fd9bf08b58e2cb
MD5 35077cbbb2d48d4005243b859afd57fe
BLAKE2b-256 512f8f112949707aafa4891a987d4186ddb522c3d321cd666dbee2397e1a1f79

See more details on using hashes here.

Provenance

File details

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

File metadata

  • Download URL: typed_ast-1.5.1-cp37-cp37m-win_amd64.whl
  • Upload date:
  • Size: 161.3 kB
  • Tags: CPython 3.7m, Windows x86-64
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/3.4.2 importlib_metadata/4.8.1 pkginfo/1.7.1 requests/2.26.0 requests-toolbelt/0.9.1 tqdm/4.62.2 CPython/3.9.9

File hashes

Hashes for typed_ast-1.5.1-cp37-cp37m-win_amd64.whl
Algorithm Hash digest
SHA256 ca9e8300d8ba0b66d140820cf463438c8e7b4cdc6fd710c059bfcfb1531d03fb
MD5 af8a0255fd5d1bae815d468c0d2f972a
BLAKE2b-256 b98163817fa31d617e0a255125187fc3623dcc3ff5397f1f982ef840cb182056

See more details on using hashes here.

Provenance

File details

Details for the file typed_ast-1.5.1-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.1-cp37-cp37m-manylinux_2_5_x86_64.manylinux1_x86_64.manylinux_2_12_x86_64.manylinux2010_x86_64.whl
Algorithm Hash digest
SHA256 4f30a2bcd8e68adbb791ce1567fdb897357506f7ea6716f6bbdd3053ac4d9471
MD5 6a73cbe22571531d44b638073a67f251
BLAKE2b-256 0296039e989b753147612c60e28f4dbdc83333fcbbc24dde79f2db4b12aa4a23

See more details on using hashes here.

Provenance

File details

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

File metadata

  • Download URL: typed_ast-1.5.1-cp37-cp37m-macosx_10_9_x86_64.whl
  • Upload date:
  • Size: 221.5 kB
  • Tags: CPython 3.7m, macOS 10.9+ x86-64
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/3.4.2 importlib_metadata/4.8.1 pkginfo/1.7.1 requests/2.26.0 requests-toolbelt/0.9.1 tqdm/4.62.2 CPython/3.9.9

File hashes

Hashes for typed_ast-1.5.1-cp37-cp37m-macosx_10_9_x86_64.whl
Algorithm Hash digest
SHA256 71dcda943a471d826ea930dd449ac7e76db7be778fcd722deb63642bab32ea3f
MD5 2eb279c9cad977a257cc73196691fc04
BLAKE2b-256 08d816140d0edd5c0173cfcd4175f1c52cb45bcf1ac8b6f5a8584cf0896e8ab7

See more details on using hashes here.

Provenance

File details

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

File metadata

  • Download URL: typed_ast-1.5.1-cp36-cp36m-win_amd64.whl
  • Upload date:
  • Size: 161.3 kB
  • Tags: CPython 3.6m, Windows x86-64
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/3.4.2 importlib_metadata/4.8.1 pkginfo/1.7.1 requests/2.26.0 requests-toolbelt/0.9.1 tqdm/4.62.2 CPython/3.9.9

File hashes

Hashes for typed_ast-1.5.1-cp36-cp36m-win_amd64.whl
Algorithm Hash digest
SHA256 7c42707ab981b6cf4b73490c16e9d17fcd5227039720ca14abe415d39a173a30
MD5 f9918ca33677ab438832c3f397e24838
BLAKE2b-256 7244ea5e6dd43d4c070979a88dab349a7bdd64b5efba1eb13b75ace255ecd646

See more details on using hashes here.

Provenance

File details

Details for the file typed_ast-1.5.1-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.1-cp36-cp36m-manylinux_2_5_x86_64.manylinux1_x86_64.manylinux_2_12_x86_64.manylinux2010_x86_64.whl
Algorithm Hash digest
SHA256 256115a5bc7ea9e665c6314ed6671ee2c08ca380f9d5f130bd4d2c1f5848d695
MD5 114fdcb226c9a4645c49d387492df933
BLAKE2b-256 2f7546eecff3e4f7d845cd61f0acb5c1174c8aa0fe9744a7af9255696ac61161

See more details on using hashes here.

Provenance

File details

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

File metadata

  • Download URL: typed_ast-1.5.1-cp36-cp36m-macosx_10_9_x86_64.whl
  • Upload date:
  • Size: 221.5 kB
  • Tags: CPython 3.6m, macOS 10.9+ x86-64
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/3.4.2 importlib_metadata/4.8.1 pkginfo/1.7.1 requests/2.26.0 requests-toolbelt/0.9.1 tqdm/4.62.2 CPython/3.9.9

File hashes

Hashes for typed_ast-1.5.1-cp36-cp36m-macosx_10_9_x86_64.whl
Algorithm Hash digest
SHA256 de4ecae89c7d8b56169473e08f6bfd2df7f95015591f43126e4ea7865928677e
MD5 f65eeee40477350e6f94911a99650fd1
BLAKE2b-256 fd61d3fbaa9fd03c75ebb76aee995fa7031aa4a1d7f06d676d907ca3f3a6ae23

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