You can try this library out in your browser (via Pyodide) at tools.simonwillison.net/sqlite-ast. {'type': 'select', 'distinct': False, 'all': False, 'columns ...
A Python library for matching and querying Python AST nodes, inspired by libcst's matcher API but designed to work with Python's built-in ast module. AST Predicates provides a declarative way to ...