Moz SQL Parser is a Python library to parse SQL queries and extract the parse tree as a JSON-like structure. Currently at version 4.40.21126, it is actively maintained and does not have a fixed release cadence.
pip install moz-sql-parserVerified import paths — ran on the pinned version, not inferred.
Parse a simple SQL query and print the AST.
Print or debug the output to understand the AST shape.
Use 'from moz_sql_parser import parse' instead of 'parse_sql'.
No dependency data recorded yet.