CMD + K

typed-ast

Community

Installation

To install this package, run one of the following:

Pip
$pip install -i https://pypi.anaconda.org/beeware/simple typed-ast

Usage Tracking

1.5.4
1.5.3
1.5.2
1.5.1
1.5.0
5 / 8 versions selected
Total downloads: 0

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.

About

Information Last Updated

Mar 25, 2025 at 16:24

Total Downloads

642

Platforms

noarch Version: 1.5.4