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 details)

Uploaded Source

Built Distribution

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

Uploaded Source

File details

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

File metadata

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

File hashes

Hashes for psqlparse-0.1.3.tar.gz
Algorithm Hash digest
SHA256 25f90676797fa7b1ab572c2b8d2b2af72dc08dadd85e96e2b9dd6e5cb7840a0d
MD5 e2fd73d8668224f07bb0c90eb13e810d
BLAKE2b-256 a5a80a67a2f37d5d9cc6274d25d2de5e8ab8c895a88f7359ef00b9e2ec6c0683

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for psqlparse-0.1.3-py2.7-linux-x86_64.egg
Algorithm Hash digest
SHA256 3a0552b9db8781b4794f79e645844ce37f4cfaeeb6bf3dc4d8183e7f71368cb3
MD5 6d54c1309c273127b045e2feee2051a3
BLAKE2b-256 cd59083ab184bcdc4996c2c10b9fa64a53a93050d338ce1f9d0193cf7c4b2679

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