About Anaconda Help Download Anaconda

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

copied from cf-staging / typed-ast

Installers

Info: This package contains files in non-standard labels.
  • osx-64 v1.5.5
  • linux-64 v1.5.5
  • win-64 v1.5.5
  • win-32 v1.1.0
  • linux-ppc64le v1.5.5
  • linux-aarch64 v1.5.5
  • osx-arm64 v1.5.5

conda install

To install this package run one of the following:
conda install conda-forge::typed-ast
conda install conda-forge/label/cf201901::typed-ast
conda install conda-forge/label/cf202003::typed-ast
conda install conda-forge/label/gcc7::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.


© 2024 Anaconda, Inc. All Rights Reserved. (v4.0.6) Legal | Privacy Policy