Python based sql autocompletion webservice