syntaqlite: high-fidelity devtools that SQLite deserves

14 points by lalitm


simonw

I was excited to see it's on PyPI already - https://pypi.org/project/syntaqlite/ - but it turns out that's a wrapper for the binary CLI tool, not a Python library I can import and call.

I built a related project (albeit not nearly as complete, since it rolls its own parser rather than reusing the SQLite Lemon stuff) a few weeks ago - https://github.com/simonw/sqlite-ast - but I'd be interested in considering the syntaqlite approach instead.

I'm particularly interested in parsing SELECT statements to introspect them and figure things out like which tables they are accessing.