GitHub - MikeAmy/sql_lexer: A non-validating SQL parser module for Python

python-sql_lexer - Parse SQL statements

sql_lexer is an SQL lexer module for Python.

Install

Run:

python setup.py install

to install python-sql_lexer on your system.

Run Tests

To run the test suite run:

py.test

Note, you'll need py.test installed.

Links

Project Page
https://github.com/MikeAmy/sql_lexer

sql_lexer is licensed under the BSD license.

Parts of the code are based on sqlparser written by Andi Albrecht and others.

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