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.

Filename, size & hash SHA256 hash help File type Python version Upload date
lacquer-0.1.2.tar.gz (54.0 kB) Copy SHA256 hash SHA256 Source None Aug 17, 2017

Supported by

Elastic Elastic Search Pingdom Pingdom Monitoring Google Google BigQuery Sentry Sentry Error logging AWS AWS Cloud computing DataDog DataDog Monitoring Fastly Fastly CDN SignalFx SignalFx Supporter DigiCert DigiCert EV certificate StatusPage StatusPage Status page