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.2.tar.gz (54.0 kB view hashes)

Uploaded source

Supported by

AWS AWS Cloud computing Datadog Datadog Monitoring Facebook / Instagram Facebook / Instagram PSF Sponsor Fastly Fastly CDN Google Google Object Storage and Download Analytics Huawei Huawei PSF Sponsor Microsoft Microsoft PSF Sponsor NVIDIA NVIDIA PSF Sponsor Pingdom Pingdom Monitoring Salesforce Salesforce PSF Sponsor Sentry Sentry Error logging StatusPage StatusPage Status page