ANN: sqlparse 0.1.7

Andi Albrecht albrecht.andi at gmail.com
Sat Apr 6 11:06:28 CEST 2013


Hi,

I'm pleased to announce sqlparse 0.1.7, a bug fix release.

sqlparse is a non-validating SQL parser module.

Download: https://pypi.python.org/packages/source/s/sqlparse/sqlparse-0.1.7.tar.gz

Bug Fixes
 * Fix Python 3 compatibility of sqlformat script (by Piet Delport).
 * Fix parsing of SQL statements that contain binary data (by Alexey
   Malyshev).
 * Fix a bug where keywords were identified as aliased identifiers in
   invalid SQL statements.
 * Fix parsing of identifier lists where identifiers are keywords too
   (issue10).

Enhancements
 * Top-level API functions now accept encoding keyword to parse
   statements in certain encodings more reliable (issue20).
 * Improve parsing speed when SQL contains CLOBs or BLOBs (issue86).
 * Improve formatting of ORDER BY clauses (issue89).
 * Formatter now tries to detect runaway indentations caused by
   parsing errors or invalid SQL statements. When re-indenting such
   statements the formatter flips back to column 0 before going crazy.

Other
 * Documentation updates.


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:  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.org


Regards,

Andi


More information about the Python-announce-list mailing list