Tree-sitter Grammar for SQL

JSON →
library 0.3.11 ·python
verified May 23, 2026

The `tree-sitter-sql` Python package (version 0.3.11) provides a SQL grammar for `tree-sitter`, an incremental parsing library. It aims to offer a permissive and general SQL syntax parsing experience, with an initial focus on the PostgreSQL dialect. The package facilitates the use of the SQL grammar with `py-tree-sitter`, the official Python bindings for Tree-sitter. This library is actively maintained, with updates typically coinciding with grammar enhancements and core `tree-sitter` library developments.

total hits 12
actors 3 distinct systems
last hit 5d ago AhrefsBot
GPTBot
6
Script
2

top countries 🇺🇸 United States · 🇨🇦 Canada · 🇩🇪 Germany