Skip to content

A non-validating SQL parser module for Python

License

Notifications You must be signed in to change notification settings

Demetrio92/sqlparse

Repository files navigation

python-sqlparse - Parse SQL statements

sqlparse is a non-validating SQL parser module for Python.

buildstatuscoverage

Install

From pip, run:

$ pip install --upgrade sqlparse 

Consider using the --useroption.

From the repository, run:

python setup.py install 

to install python-sqlparse on your system.

python-sqlparse is compatible with Python 2.7 and Python 3 (>= 3.3).

Run Tests

To run the test suite run:

tox 

Note, you'll need tox installed, of course.

Links

Project Page
https://github.com/andialbrecht/sqlparse
Documentation
https://sqlparse.readthedocs.io/en/latest/
Discussions
http://groups.google.com/group/sqlparse
Issues/Bugs
https://github.com/andialbrecht/sqlparse/issues
Online Demo
http://sqlformat.org

python-sqlparse is licensed under the BSD license.

Parts of the code are based on pygments written by Georg Brandl and others. pygments-Homepage: http://pygments.org/

About

A non-validating SQL parser module for Python

Resources

License

Stars

Watchers

Forks

Packages

No packages published

Languages

  • Python97.7%
  • PLpgSQL2.0%
  • Makefile0.3%