astor

Package — UtilityPython 3.7+Intermediate

Read, rewrite, and write Python ASTs as source code

Quick Info

Documentation
Official Docs
Python Version
3.7+
Dependencies
None (pure Python)
Install
pip install astor

Learn by Difficulty

Quick Example

python
# Install: pip install astor
import astor

# Basic astor usage
print(f"Using astor")
# See documentation for detailed examples

astor is a third-party package. Read, rewrite, and write Python ASTs as source code. Install with: pip install astor

Try in Playground

Tags

packageutilityhelper