PostgreSQL Languages AST and statements prettifier
JSON →A Python 3 module that exposes the parse tree of a PostgreSQL statement (extracted by the almost standard PG parser repackaged as a standalone static library by libpg_query) as a set of interconnected nodes, usually called an abstract syntax tree. It provides functionalities for parsing SQL, generating ASTs, and prettifying SQL statements. The library is actively maintained with frequent releases, currently at version 7.13, and targets PostgreSQL 17.
Traffic · last 30 days ↑175% vs prev 7d
total hits 17
actors 6 distinct systems
last hit 21h ago Bingbot
top countries 🇺🇸 United States · 🇩🇪 Germany · 🇳🇱 Netherlands · 🇨🇦 Canada · 🇫🇷 France
Resources
packagepypi.org/project/pglast/ ↗
API endpoints
full doc /v1/registry/pglast
install /v1/registry/pglast/install
compatibility /v1/registry/pglast/compatibility