Skip to main content

Parse SQL queries using the PostgreSQL query parser

Project description

This Python module uses the actual PostgreSQL server source to parse SQL queries and return the internal PostgreSQL parsetree.

Installation

`shell pip install psqlparse `

Usage

`python import psqlparse psqlparse.parse('SELECT * from mytable') `

Contributors

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

psqlparse-0.1.3.tar.gz (47.6 kB view hashes)

Uploaded Source

Built Distribution

psqlparse-0.1.3-py2.7-linux-x86_64.egg (2.8 MB view hashes)

Uploaded Source

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