I am searching for a Python lib to parse Python 3 code to some abstract representation. I don't need to modify code. I am fine with analyzation only. AST representation should be ok. What packages are potential candidates? What do you think about it (pros/cons)?
- abstraction of Python source code as AST (abstract syntax tree) or FST (full syntax tree)
- utilities to ease working with representation (pretty-printing, searching in representation, etc.)