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

Uploaded Source

Built Distribution

psqlparse-0.1.2-py2.7-linux-x86_64.egg (2.8 MB view details)

Uploaded Source

File details

Details for the file psqlparse-0.1.2.tar.gz.

File metadata

  • Download URL: psqlparse-0.1.2.tar.gz
  • Upload date:
  • Size: 47.6 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No

File hashes

Hashes for psqlparse-0.1.2.tar.gz
Algorithm Hash digest
SHA256 61e8824259b6ad6882a716b51c171456179186f29bdbcc1f1f563fdeb74faf6e
MD5 7ca945c93575c33ed146707b279d1207
BLAKE2b-256 af98004008fc19fc33c5783852b7debf09f43420330ae37828c7f3a518bd1f8f

See more details on using hashes here.

File details

Details for the file psqlparse-0.1.2-py2.7-linux-x86_64.egg.

File metadata

File hashes

Hashes for psqlparse-0.1.2-py2.7-linux-x86_64.egg
Algorithm Hash digest
SHA256 f155b90cc9b42593392799a87afd30df8da9afe70d10da89db5d4c44388382b6
MD5 454a7137dc6bc1d61d14c4aca963ec16
BLAKE2b-256 87bf656c440d8d813128944c09e6cbb42ce62a84af6b5b7c20861de37696f2df

See more details on using hashes here.

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