gast
A generic AST to represent Python2 and Python3's Abstract Syntax Tree(AST).
A generic AST to represent Python2 and Python3's Abstract Syntax Tree(AST).
To install this package, run one of the following:
GAST provides a compatibility layer between the AST of various Python versions, as produced by ast.parse from the standard ast module.
Summary
A generic AST to represent Python2 and Python3's Abstract Syntax Tree(AST).
Last Updated
Nov 30, 2025 at 12:53
License
BSD-3-Clause
Total Downloads
3.7M
Supported Platforms
GitHub Repository
https://github.com/serge-sans-paille/gast