ASTOR: Read/rewrite/write Python ASTs
JSON →astor is a Python library designed for easy manipulation of Python source code via its Abstract Syntax Tree (AST). It provides functionality to round-trip an AST back to Python source, pretty-print ASTs for debugging, and offers both recursive and non-recursive tree traversal mechanisms. It focuses on generating readable code from modified ASTs. The current version is 0.8.1, released in late 2019, and its release cadence is very slow, indicating a maintenance-only status.
Traffic · last 30 days ↑100% vs prev 7d
total hits 27
actors 8 distinct systems
last hit 1d ago AhrefsBot
top countries 🇺🇸 United States · 🇩🇪 Germany · 🇸🇬 Singapore · 🇨🇦 Canada · 🇫🇷 France
API endpoints
full doc /v1/registry/astor
install /v1/registry/astor/install
compatibility /v1/registry/astor/compatibility