Pythonparser is a python tool that produces a GumTree compatible Python AST. It uses the awesome parsomodule under the hood.
Pythonparser requires to use Python 3. To install it, just clone the repository and install the dependencies using
pip3 install -r requirements.txt
Pythonpaser can be used as a standalone tool like this:
pythonparser /path/to/script.py