Python package for parsing a string with conditional expressions joined with boolean logic. Uses the pyparsing package to construct grammatical clauses representing conditional expression, e.g. "x > 1 and y < 2". String conditional expressions can then be parsed into object representation to be handled downstream. Can convert string boolean expressions into SQLAlchemy filter conditions.
Documentation: https://boolean-parser.readthedocs.io/en/latest/
Parsers:
- Parser: core parser for handling parsing complex boolean conditional expressions
- SQLParser: parser that enables converting a string conditional into a SQLAlchemy filter clause