A bunch of scripts to automate tasks I find myself doing more than once.
- tree : A python script that takes a python file path as an input, parses the code and prints out the AST. You can add the
--json flag to get the output in a json format.
I usually use this with tee when I want the AST in a json file -> python tree.py tree_example.py --json | tee ast.json