It is my pleasure to announce the first version of the *searchstringparser* package (0.2.3) on pypi. It currently contains a PLY (Python Lex-Yacc) based implementation of a general lexer and PostgreSQL specific parser. The parser translates general search queries that users might expect to be able to enter in a search form into strings that implement the correct logic for the PostgreSQL full text search functions tsquery and to_tsquery.
The package is BSD licensed and you can get a full overview of the package at https://searchstringparser.readthedocs.org/
It is hosted on github and is fully integrated with Travis, AppVeyor, and Coveralls using py.test and tox. Feedback, bug reports, parser suggestions, and forks of the project are welcome!
Best, Moritz Beber
<p><a href="https://github.com/AGHerwig/searchstringparser ">searchstringparser 0.2.3</a> - Parse a more general search syntax to conform with a particular SQL dialect. (29-Sep-15)</p>