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

Uploaded Source

Built Distribution

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

Uploaded Source

File details

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

File metadata

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

File hashes

Hashes for psqlparse-0.1.4.tar.gz
Algorithm Hash digest
SHA256 10d4be323cdcd87e572c53c4fe5ec128ddb5077e94d7cc91fa7e7c1881fb40e1
MD5 51a13aa088579df63addd51b5e13c5b6
BLAKE2b-256 562c6457acce30fda9fc5029e6cbd6c5303732249eeacb13db18131bf559085f

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for psqlparse-0.1.4-py2.7-linux-x86_64.egg
Algorithm Hash digest
SHA256 32fc2d9b4b1e0c9635a801da1f1714cdd698c5b3b51ebb0b3415327365501afb
MD5 9cbdbc075a8abbafebcb3b5b601298b5
BLAKE2b-256 235ef4bf6214345a249909ee230ed826a52802a1439032d9feaa4e4745083b18

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