A non-validating SQL parser module for Python (LADI project)
Go to file
Andi Albrecht 6764f6d3d0 Preparing 0.1.9 2013-09-28 08:42:05 +02:00
bin Limit explicit UTF-8 encoding to Python < 3. 2013-02-22 17:42:54 +02:00
docs Add option to truncate long string literals. 2013-07-09 10:10:33 +02:00
examples Code cleanup. 2013-06-17 21:30:13 +02:00
extras Python 3 is now fully supported without any patches. 2012-12-31 22:54:59 +01:00
sqlparse Preparing 0.1.9 2013-09-28 08:42:05 +02:00
tests Fix tagging of identifiers by not taking single quoted strings into account (fixes #111). 2013-09-28 08:40:31 +02:00
.gitignore Use tox for (local) testing. 2012-12-31 21:38:36 +01:00
.travis.yml Add insecure flag when testing on Python 2.5. 2013-05-10 06:07:32 +02:00
AUTHORS Update authors and changelist. 2013-09-15 09:10:55 +02:00
CHANGES Preparing 0.1.9 2013-09-28 08:42:05 +02:00
COPYING Updated some top-level docs. 2009-04-06 21:51:36 +02:00
MANIFEST.in Remove agogo excludes from MANIFEST.in 2013-03-27 05:41:38 +01:00
Makefile Clean up Makefile a bit. 2013-02-25 20:58:56 +01:00
README.rst Cleanup docs. 2013-01-01 10:22:29 +01:00
TODO Remove a TODO, it's done. 2011-09-04 10:26:33 +02:00
pytest.ini PEP8'ified to code a bit. 2012-11-12 14:39:50 +01:00
setup.py Add minimal changes to support Python 2.4. 2013-02-28 08:22:45 +01:00
tox.ini Add Python 3.3 to tox configuration. 2013-04-20 08:08:31 +02:00

README.rst

python-sqlparse - Parse SQL statements
======================================

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

|buildstatus|_


Install
-------

Run::

  python setup.py install

to install python-sqlparse on your system.

python-sqlparse is compatible with Python 2 (>= 2.5) and Python 3 (>= 3.2).


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
  http://readthedocs.org/docs/sqlparse/en/latest/

Discussions
  http://groups.google.com/group/sqlparse

Issues/Bugs
  https://github.com/andialbrecht/sqlparse/issues

Online Demo
  http://sqlformat.appspot.com


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/

.. |buildstatus| image:: https://secure.travis-ci.org/andialbrecht/sqlparse.png?branch=master
.. _buildstatus: http://travis-ci.org/#!/andialbrecht/sqlparse