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

Installers

Info: This package contains files in non-standard labels.

conda install

  • linux-64  v1.3.5
  • win-32  v1.1.0
  • osx-64  v1.3.5
  • win-64  v1.3.5
To install this package with conda run one of the following:
conda install -c conda-forge typed-ast
conda install -c conda-forge/label/gcc7 typed-ast
conda install -c conda-forge/label/cf201901 typed-ast

Description

typedast 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 typedast 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.

PRIVACY POLICY  |  EULA (Anaconda Cloud v2.33.29) © 2019 Anaconda, Inc. All Rights Reserved.