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, 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.6 parsers.

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.0.3.tar.gz (200.4 kB view hashes)

Uploaded Source

Built Distributions

typed_ast-1.0.3-cp36-cp36m-win_amd64.whl (147.2 kB view hashes)

Uploaded CPython 3.6m Windows x86-64

typed_ast-1.0.3-cp36-cp36m-win32.whl (126.4 kB view hashes)

Uploaded CPython 3.6m Windows x86

typed_ast-1.0.3-cp36-cp36m-manylinux1_x86_64.whl (724.0 kB view hashes)

Uploaded CPython 3.6m

typed_ast-1.0.3-cp36-cp36m-manylinux1_i686.whl (660.1 kB view hashes)

Uploaded CPython 3.6m

typed_ast-1.0.3-cp36-cp36m-macosx_10_11_x86_64.whl (214.9 kB view hashes)

Uploaded CPython 3.6m macOS 10.11+ x86-64

typed_ast-1.0.3-cp35-cp35m-win_amd64.whl (147.2 kB view hashes)

Uploaded CPython 3.5m Windows x86-64

typed_ast-1.0.3-cp35-cp35m-win32.whl (126.4 kB view hashes)

Uploaded CPython 3.5m Windows x86

typed_ast-1.0.3-cp35-cp35m-manylinux1_x86_64.whl (723.5 kB view hashes)

Uploaded CPython 3.5m

typed_ast-1.0.3-cp35-cp35m-manylinux1_i686.whl (659.8 kB view hashes)

Uploaded CPython 3.5m

typed_ast-1.0.3-cp34-cp34m-manylinux1_x86_64.whl (722.5 kB view hashes)

Uploaded CPython 3.4m

typed_ast-1.0.3-cp34-cp34m-manylinux1_i686.whl (659.1 kB view hashes)

Uploaded CPython 3.4m

typed_ast-1.0.3-cp33-cp33m-manylinux1_x86_64.whl (699.1 kB view hashes)

Uploaded CPython 3.3m

typed_ast-1.0.3-cp33-cp33m-manylinux1_i686.whl (637.2 kB view hashes)

Uploaded CPython 3.3m

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