AST Unparser for Python
JSON → 1.6.3 verified Wed May 20 auth: no python install: verified
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.
Traffic · last 30 days ↑33% vs prev 7d
When AI assistants answer questions about this library, they read this page. · indexed since Sun Apr 05
total hits 15
actors 8 distinct systems
last hit 3d ago Bingbot
top countries 🇺🇸 United States · 🇸🇬 Singapore · 🇫🇷 France · 🇮🇳 India · 🇨🇦 Canada
API endpoints
full doc/v1/registry/astunparse
compatibility/v1/registry/astunparse/compatibility
quickstart/v1/registry/astunparse/quickstart