{"library":"astpretty","type":"library","category":null,"description":"astpretty is a Python library designed to pretty-print the Abstract Syntax Tree (AST) generated by Python's standard library `ast.parse` function. It offers a more readable, indented, and detailed representation of AST nodes compared to the built-in `ast.dump`, making it useful for debugging and understanding code structure. The current version is 3.0.0, released in May 2022, requiring Python 3.8+. It's a stable, focused utility with infrequent but significant updates.","language":"python","status":"active","version":"3.0.0","tags":["AST","pretty-print","developer-tool","debugging"],"last_verified":"Fri May 22","install":[{"cmd":"pip install astpretty","imports":["import astpretty\nastpretty.pprint(node)","import astpretty\nresult = astpretty.pformat(node)"]}],"homepage":null,"github":"https://github.com/asottile/astpretty","docs":null,"changelog":null,"pypi":"https://pypi.org/project/astpretty/","npm":null,"openapi_spec":null,"status_page":null,"smithery":null,"compatibility":{"summary":{"python_range":"3.10–3.9","success_rate":100,"avg_install_s":1.5,"avg_import_s":0.02,"wheel_type":"wheel"},"url":"https://checklist.day/v1/registry/astpretty/compatibility"}}