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
Release history Release notifications | RSS feed
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
Built Distributions
Hashes for typed_ast-1.5.0-cp310-cp310-win_amd64.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 65c81abbabda7d760df7304d843cc9dbe7ef5d485504ca59a46ae2d1731d2428 |
|
MD5 | 147e6787199feb1d530af57020523a87 |
|
BLAKE2b-256 | 2d1410ee9cc06e3f8b3004d20fe881f5de8fd1932b5ade9559d674fb1a076e44 |
Hashes for typed_ast-1.5.0-cp310-cp310-manylinux_2_5_x86_64.manylinux1_x86_64.manylinux_2_12_x86_64.manylinux2010_x86_64.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 14fed8820114a389a2b7e91624db5f85f3f6682fda09fe0268a59aabd28fe5f5 |
|
MD5 | 9beba7f088bb432e4073ebf4147a2d1f |
|
BLAKE2b-256 | d76239e302828489552181b0dfccd48f942b89f739f64c594f235974a37c4f43 |
Hashes for typed_ast-1.5.0-cp310-cp310-macosx_11_0_arm64.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 52ca2b2b524d770bed7a393371a38e91943f9160a190141e0df911586066ecda |
|
MD5 | 1998463c1688bbaa6ddfe0c7f700496a |
|
BLAKE2b-256 | a4a32afbb8b69ef25e4f10fc90c730ac6c605e7e57baf69df0d9df23634a819f |
Hashes for typed_ast-1.5.0-cp310-cp310-macosx_10_9_x86_64.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 7b310a207ee9fde3f46ba327989e6cba4195bc0c8c70a158456e7b10233e6bed |
|
MD5 | 0b5c89e1d47844bb21357fabe903c289 |
|
BLAKE2b-256 | 254076030107b84c3c2703c9d0779e3d4cdc9531de597b6113f34b298aa319fa |
Hashes for typed_ast-1.5.0-cp39-cp39-win_amd64.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | ec184dfb5d3d11e82841dbb973e7092b75f306b625fad7b2e665b64c5d60ab3f |
|
MD5 | 9a776a65bba7bdcf6c3b501cfc500df9 |
|
BLAKE2b-256 | cce01db586c5b2d1687abdb4b474008cd538b0132e38a8e750b7e5ad78322b53 |
Hashes for typed_ast-1.5.0-cp39-cp39-manylinux_2_5_x86_64.manylinux1_x86_64.manylinux_2_12_x86_64.manylinux2010_x86_64.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | e8a9b9c87801cecaad3b4c2b8876387115d1a14caa602c1618cedbb0cb2a14e6 |
|
MD5 | 17197f9e33ec6b6423943da0fb6e5452 |
|
BLAKE2b-256 | 8ba155bc33855b22048c2123cfc923a846ec16435911f74468e2cf3b08c9f0cf |
Hashes for typed_ast-1.5.0-cp39-cp39-macosx_11_0_arm64.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 7e6731044f748340ef68dcadb5172a4b1f40847a2983fe3983b2a66445fbc8e6 |
|
MD5 | 403db26b2f728b19690defc75e8c0707 |
|
BLAKE2b-256 | 1e60c58768560223c1d0734dda2e638306f5c5206afddec6dbc259ed5cf7b1e5 |
Hashes for typed_ast-1.5.0-cp39-cp39-macosx_10_9_x86_64.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 618912cbc7e17b4aeba86ffe071698c6e2d292acbd6d1d5ec1ee724b8c4ae450 |
|
MD5 | 83b7f982b2bb315fb94e1056da675ba2 |
|
BLAKE2b-256 | 102cd0f188b8f3dbf8d5cbd632facee33bba4102c7ac14173fc480967c580ba6 |
Hashes for typed_ast-1.5.0-cp38-cp38-win_amd64.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 361b9e5d27bd8e3ccb6ea6ad6c4f3c0be322a1a0f8177db6d56264fa0ae40410 |
|
MD5 | 6bf8b3455156639d8da064b64badb224 |
|
BLAKE2b-256 | 307071de5faab39322856761c53696a05372c502beef0467a002c97a7cbb21cc |
Hashes for typed_ast-1.5.0-cp38-cp38-manylinux_2_5_x86_64.manylinux1_x86_64.manylinux_2_12_x86_64.manylinux2010_x86_64.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 155b74b078be842d2eb630dd30a280025eca0a5383c7d45853c27afee65f278f |
|
MD5 | 340240d5ae50bd8e2c894b281eaa99ce |
|
BLAKE2b-256 | b94b77ed1d17b5864ea64298eedcbf2e6000bd842d6ea9f62ae76ded86c50e91 |
Hashes for typed_ast-1.5.0-cp38-cp38-macosx_11_0_arm64.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 224afecb8b39739f5c9562794a7c98325cb9d972712e1a98b6989a4720219541 |
|
MD5 | fdbae5af66ad53624993c7ccaa433597 |
|
BLAKE2b-256 | 72641f04741e444819af674c3656f27f2bc19c152f823202915a92806fb68421 |
Hashes for typed_ast-1.5.0-cp38-cp38-macosx_10_9_x86_64.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | a67fd5914603e2165e075f1b12f5a8356bfb9557e8bfb74511108cfbab0f51ed |
|
MD5 | a32d4254df19e79a6c4c0b51ee39fa22 |
|
BLAKE2b-256 | 76e70c001d3d40c50112108814b1e3c9f5239fafcf3471a0ae1096ef9375a4f1 |
Hashes for typed_ast-1.5.0-cp37-cp37m-win_amd64.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 806e0c7346b9b4af8c62d9a29053f484599921a4448c37fbbcbbf15c25138570 |
|
MD5 | 959221ef4a3ac23633500acbd6ed91f9 |
|
BLAKE2b-256 | 7bf9212910f4ba87a2bef679baf1ce397f1b341a93730d473fb303676e41dd43 |
Hashes for typed_ast-1.5.0-cp37-cp37m-manylinux_2_5_x86_64.manylinux1_x86_64.manylinux_2_12_x86_64.manylinux2010_x86_64.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 51040bf45aacefa44fa67fb9ebcd1f2bec73182b99a532c2394eea7dabd18e24 |
|
MD5 | fb228bec67b3d72e60620ec256080f78 |
|
BLAKE2b-256 | 7a262a29fce42e133b3f545f86d8f5cfc5ba64545b33ad2908071d3170b235c6 |
Hashes for typed_ast-1.5.0-cp37-cp37m-macosx_10_9_x86_64.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | ea517c2bb11c5e4ba7a83a91482a2837041181d57d3ed0749a6c382a2b6b7086 |
|
MD5 | 314711d684175012bb14aa7591ee3f7b |
|
BLAKE2b-256 | 728ce3460b5deda7eee5620eff6413acaa6bf920796086a5398ade3d5b2f4259 |
Hashes for typed_ast-1.5.0-cp36-cp36m-win_amd64.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | e4374a76e61399a173137e7984a1d7e356038cf844f24fd8aea46c8029a2f712 |
|
MD5 | 1ae76ccef0e8e227385b71871a7bab86 |
|
BLAKE2b-256 | 359088840be1c26149a51c0f4c0097e9be1fd31165ae34635428141cbdb44eb7 |
Hashes for typed_ast-1.5.0-cp36-cp36m-manylinux_2_5_x86_64.manylinux1_x86_64.manylinux_2_12_x86_64.manylinux2010_x86_64.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 49af5b8f6f03ed1eb89ee06c1d7c2e7c8e743d720c3746a5857609a1abc94c94 |
|
MD5 | f20f794cab4adefa2961413689070882 |
|
BLAKE2b-256 | a55b440538e81627917ef80cce4d70cc7ab1aa97f5b08f241786a5d7b90aed6d |
Hashes for typed_ast-1.5.0-cp36-cp36m-macosx_10_9_x86_64.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 37ba2ab65a0028b1a4f2b61a8fe77f12d242731977d274a03d68ebb751271508 |
|
MD5 | 92c66551879f58a3e60f1efb9157dd98 |
|
BLAKE2b-256 | 2f54b6ca6ec960b007d29c3338000b6e992486fea30f28f0e97d949e96c0c953 |