sqlparse is a free, open source and Python based SQL parser tool. sqlparse provides support for parsing, formatting and splitting SQL statements.
NOTE: sqlparse is licensed and provided under the terms of the New BSD License.
Requirements:
· Python
What`s New in This Release: [ read full changelog ]
Bug Fixes:
· 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.