rapt

Relational algebra parsing tools.


Keywords
"relational, algebra", ra, sql, parsing, pyparsing
License
MIT
Install
pip install rapt==0.0.2

Documentation

RAPT

RAPT uses a syntactic and semantic understanding of RA to transform input statements into a variety of outputs, including LATEX formatted queries, parse tree diagrams, and executable SQL statements.

To use RAPT, create an instance of rapt.rapt.Rapt, and use the desired methods. Optionally, you can pass in keyword arguments that define the relational algebra grammar and syntax. config/default.json contains an example.