I am writing an internal utility to migrate some reports, and one thing I'd like to do is format the SQL whilst I'm at it. I've tried using the sqlparse Python module, but unfortunately it doesn't cope well with some things, particularly parentheses around columns (which have been generated automatically). So I was wondering whether it was possible in any way to call the SQL formatting engine of SQLDeveloper from outside the tool by a script?