{"library":"pglast","type":"library","category":null,"description":"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.","language":"python","status":"active","version":"7.13","tags":["postgresql","sql","ast","parser","prettifier","database"],"install":[{"cmd":"pip install pglast","imports":["from pglast import parse_sql","from pglast import prettify","from pglast import ast"]}],"homepage":null,"github":"https://github.com/lelit/pglast","docs":null,"changelog":"https://github.com/lelit/pglast/blob/v7/CHANGES.rst","pypi":"https://pypi.org/project/pglast/","npm":null,"openapi_spec":null,"status_page":null,"smithery":null,"compatibility":{"summary":{"python_range":"3.10–3.9","success_rate":100,"avg_install_s":2,"avg_import_s":0.14,"wheel_type":"wheel"},"url":"https://checklist.day/v1/registry/pglast/compatibility"},"provenance":{"verified_status":"passing","verified_at":"Sun Jun 28","last_verified":"Sun Jun 28","next_check":"Tue Jul 28","install_tag":null}}