bu-ist/sql-filter — pull request #1 by nkavanagh (2014-03-26 17:21:12+00:00)
Title: Moved filtering into a module

I moved the filtering code into a module and modified the example script to use the module.

Blacklist loading is the responsibility of the calling party, e.g. the example script loads the blacklist.

I also changed it so that when it returns a filtered statement, it uses sqlparse.filter to reformat it.