gast: Generic Python AST
JSON →gast provides a compatibility layer between the Abstract Syntax Trees (AST) of various Python versions (including Python 2 and Python 3), offering a homogeneous API compatible with the standard library `ast` module. It abstracts away version-specific differences in the AST structure, making it easier to write tools that work across multiple Python versions. The library is currently at version 0.7.0 and remains actively maintained.
Traffic · last 30 days ↓50% vs prev 7d
total hits 24
actors 6 distinct systems
last hit 1d ago GPTBot
top countries 🇺🇸 United States · 🇨🇦 Canada · VN · 🇩🇪 Germany · 🇬🇧 United Kingdom
API endpoints
full doc /v1/registry/gast
install /v1/registry/gast/install
compatibility /v1/registry/gast/compatibility