Preparing for system design interviews?  Try bugzed.com →

ASTOR: Read/rewrite/write Python ASTs

JSON →
library 0.8.1 ·python maintenance
verified Jun 28, 2026

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.

total hits 25
actors 7 distinct systems
last hit 13d ago AhrefsBot
ByteDance
7
GPTBot
4
Script
1
Sogou
1
Search engines
2
Humans
6

top countries 🇸🇬 Singapore · 🇺🇸 United States · 🇨🇦 Canada · VN · 🇫🇷 France