File: index.rst

package info (click to toggle)
pglast 7.11-1
  • links: PTS, VCS
  • area: main
  • in suites: forky, sid
  • size: 5,368 kB
  • sloc: python: 13,349; sql: 2,405; makefile: 159
file content (48 lines) | stat: -rw-r--r-- 1,262 bytes parent folder | download | duplicates (2)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
.. -*- coding: utf-8 -*-
.. :Project:   pglast — Documentation
.. :Created:   gio 10 ago 2017 09:56:59 CEST
.. :Author:    Lele Gaifax <lele@metapensiero.it>
.. :License:   GNU General Public License version 3 or later
.. :Copyright: © 2017, 2018, 2019, 2021, 2022, 2023, 2024 Lele Gaifax
..

========
 pglast
========

PostgreSQL Languages AST and statements prettifier
==================================================

:author: Lele Gaifax
:contact: lele@metapensiero.it
:license: `GNU General Public License version 3 or later`__
:version: `7`__

__ https://www.gnu.org/licenses/gpl.html
__ https://pglast.readthedocs.io/en/v7/introduction.html

This is 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 set of interconnected *nodes*, usually called an `abstract syntax tree`__.

__ https://www.postgresql.org/
__ https://github.com/pganalyze/libpg_query
__ https://en.wikipedia.org/wiki/Abstract_syntax_tree

.. toctree::
   :maxdepth: 2
   :caption: Contents:

   introduction
   installation
   development
   usage
   api


Indices and tables
==================

* :ref:`genindex`
* :ref:`modindex`
* :ref:`search`