Skip to content

Releases: havok2063/boolean_parser

boolean_parser 0.1.4

01 Dec 14:59
Compare
Choose a tag to compare

This release adds SQLAlchemy support for boolean, date, and datetime columns.

What's Changed

  • Add explicit typecasting for Booleans, Dates and DateTimes by @linozen in #9

Full Changelog: 0.1.3...0.1.4

boolean_parser 0.1.3

04 Apr 10:19
Compare
Choose a tag to compare

What's Changed

  • Fix bindname errors and allow comparing against NULL values by @linozen in #6
  • Simplifies test and updates docs by @havok2063 in #8

New Contributors

Full Changelog: 0.1.2...0.1.3

boolean_parser 0.1.2

25 Jun 21:45
Compare
Choose a tag to compare

This release adds support for sqlalchemy 1.4.

What's Changed

Full Changelog: 0.1.1...0.1.2

boolean_parser 0.1.1

13 Nov 22:07
Compare
Choose a tag to compare
  • Adds support (#1) for aliased SQLAlchemy models

What's Changed

  • Support aliased model classes in sqla parser by @charkins in #1

New Contributors

Full Changelog: 0.1.0...0.1.1

boolean_parser 0.1.0

21 May 16:57
Compare
Choose a tag to compare

Initial release of boolean_parser. Allows parsing of string boolean expressions, e.g. 'x < 1 and y >=2' and optionally converting them into SQLAlchemy filter conditions.

  • Initial commit of repo
  • Created basic boolean syntax parser, Parser, using pyparsing for words and logic expressions
  • Added sqlalchemy mixin to filter a parsed string into a sqlalchemy filter
  • Added SQLAParser for parsing sqlalchemy filter strings
  • Added general parse function
  • Added expanded test suite for general and sqlalchemy parsing
  • Changed global params dictionary to a list; compared to original sqlalchemy_boolean_search code
  • Initial documentation