AST Unparser for Python

JSON →
library 1.6.3 ·python
verified Jun 30, 2026 install

astunparse is a Python library that provides an Abstract Syntax Tree (AST) unparser, allowing conversion of ASTs back into Python source code. It is a standalone, factored-out version of the `unparse` utility originally found within the Python source distribution itself. In addition to unparsing, it offers a `dump` function for pretty-printing AST structures. The current version is 1.6.3, released in December 2019, and it has a low-frequency release cadence, primarily updating for compatibility with newer Python AST changes.

total hits 17
actors 3 distinct systems
last hit 1d ago AhrefsBot
GPTBot
4
Script
1
Humans
9

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