I'm happy to announce sqlparse 0.1.2.
sqlparse is a non-validating SQL parser module.
Download:
http://python-sqlparse.googlecode.com/files/sqlparse-0.1.2.tar.gz
This is a bug fix release.
Changes since 0.1.1
* Fixed incorrect detection of keyword fragments embed in names
(issue7,
reported and initial patch by andyboyko).
* Stricter detection of identfier aliases (issue8, reported by
estama).
* WHERE grouping consumed closing parenthesis (issue9, reported by
estama).
* Fixed an issue with trailing whitespaces (reported by Kris).
* Better detection of escaped single quotes (issue13, reported by
Martin Brochhaus, patch by bluemaro with test case by Dan Carley).
* Ignore identifier in double-quotes when changing cases (issue 21).
* Lots of minor fixes targeting encoding, indentation, statement
parsing and more (issues 12, 14, 15, 16, 18, 19).
* Code cleanup with a pinch of refactoring.
What is sqlparse
================
sqlparse is a non-validating SQL parser module for Python.
The module provides functions for splitting, formatting and parsing
SQL statements.
Please file bug reports and feature request on the issue tracker.
Project Page:
http://python-sqlparse.googlecode.com
Documentation:
http://packages.python.org/sqlparse/
Discussions:
http://groups.google.com/group/sqlparse
Issues/Bugs:
http://code.google.com/p/python-sqlparse/issues/list
Online Demo:
http://sqlformat.appspot.com
Thanks for all feedback!
-Andi