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

Uploaded Source

Built Distribution

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

Uploaded Source

File details

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

File metadata

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

File hashes

Hashes for psqlparse-0.1.1.tar.gz
Algorithm Hash digest
SHA256 6b2c89b6dee60972c8f90920248ad96eb18cf339a456e1554571c8546a18e0df
MD5 1123054c9792e07664e47caf8fd39333
BLAKE2b-256 3c9573fb3529f0bed12c4a3a058c0cab7ba627c1438ef14a29ca8cfcec007c8e

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for psqlparse-0.1.1-py2.7-linux-x86_64.egg
Algorithm Hash digest
SHA256 81723a925d4efc4ee3c312dfffb191fa33154e15fc88d8ddd8e1046a6a0b51cc
MD5 7947e9a9a92a298669cd35f58bfce0b6
BLAKE2b-256 9db076561a93f0db127a9892c17627d2dd7885c129207689723d9f280c709dd5

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