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
[Aldo Culquicondor](https://github.com/alculquicondor/)
Project details
Release history Release notifications | RSS feed
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)
Built Distribution
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
Algorithm | Hash digest | |
---|---|---|
SHA256 | 61e8824259b6ad6882a716b51c171456179186f29bdbcc1f1f563fdeb74faf6e |
|
MD5 | 7ca945c93575c33ed146707b279d1207 |
|
BLAKE2b-256 | af98004008fc19fc33c5783852b7debf09f43420330ae37828c7f3a518bd1f8f |
File details
Details for the file psqlparse-0.1.2-py2.7-linux-x86_64.egg
.
File metadata
- Download URL: psqlparse-0.1.2-py2.7-linux-x86_64.egg
- Upload date:
- Size: 2.8 MB
- Tags: Source
- Uploaded using Trusted Publishing? No
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | f155b90cc9b42593392799a87afd30df8da9afe70d10da89db5d4c44388382b6 |
|
MD5 | 454a7137dc6bc1d61d14c4aca963ec16 |
|
BLAKE2b-256 | 87bf656c440d8d813128944c09e6cbb42ce62a84af6b5b7c20861de37696f2df |