Skip to main content

A SQL Parser based on the parser in the presto project

Project description

lacquer is a python port of Presto’s SQL Parser.

Currently, it doesn’t support all the same features as Presto’s parser, but it can parse most SELECT queries and produce the python-equivalent syntax tree, as well as write the tree back out to SQL.

It was written for the LSST project to enable support for the Astronomical Data Query Language.

It has two dependencies, PLY and future.

It is tested with 2.7 and 3.5.

Project details


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

lacquer-0.1.tar.gz (56.4 kB view hashes)

Uploaded Source

Built Distribution

lacquer-0.1-py2-none-any.whl (66.4 kB view hashes)

Uploaded Python 2

Supported by

AWS AWS Cloud computing and Security Sponsor Datadog Datadog Monitoring Fastly Fastly CDN Google Google Download Analytics Microsoft Microsoft PSF Sponsor Pingdom Pingdom Monitoring Sentry Sentry Error logging StatusPage StatusPage Status page