NewYour coding agent can read the release notes before it upgrades.Set up the MCP server →
PyPI · #550 most downloaded on PyPI
Define boolean algebras, create and parse boolean expressions and create custom boolean DSL.
Last release 2 years ago
no release in 18 months
Release timing varies
gaps range from 3 weeks to 2.9 years
Most releases are documented
notes for 10 of 14 stable releases
Nothing withdrawn
no release was ever pulled
10 years old
23 releases · first in 2016
doc: add API reference by @stephanlachnit in #108
And thanks to @hroncok
Full Changelog: v4.0...v5.0
One column per quarter.
API changes
Drop support for Python versions older than 3.9.
Add support by testing on Python 3.11 to 3.14
Fix absorption issues https://github.com/bastikr/boolean.py/issues/111 and https://github.com/bastikr/boolean.py/issues/112
Fix dual for _TRUE and _FALSE by @pauleve in #100
Full Changelog: v3.8...v4.0
API changes
Drop support for Python 2.
Test on Python 3.10
Make Expression.sort_order an instance attributes and not a class attribute
Misc.
Correct licensing documentation
Improve docstringf and apply minor refactorings
Adopt black code style and isort for imports
Drop Travis and use GitHub actions for CI
Add support for evaluation of boolean expression. Thank you to Lars van Gemerden @gemerden
API changes
Add support for evaluation of boolean expression. Thank you to Lars van Gemerden @gemerden
Bug fixes
Fix parsing of tokens that have a number as the first character. Thank you to Jeff Cohen @ jcohen28
Restore proper Python 2 compatibility. Thank you to Benjy Weinberger @benjyw
Improve documentation
Add pointers to Linux distro packages. Thank you to Max Mehl @mxmehl and Carmen Bianca Bakker @carmenbianca
Fix typo. Thank you to Gabriel Niebler @der-gabe
Add new sort argument to simplify() to optionally not sort when simplifying expressions (e.g. not applying "commutativity"). Thank you to Steven Esser
API changes
Add new sort argument to simplify() to optionally not sort when simplifying expressions (e.g. not applying "commutativity"). Thank you to Steven Esser @majurg for this
Add new argument to tokenizer to optionally accept extra characters in symbol tokens. Thank you to @carpie for this
Fix De Morgan's laws effect on double negation propositions. Thank you to Douglas Cardoso for this
No API changes
Bug fixes
Fix De Morgan's laws effect on double negation propositions. Thank you to Douglas Cardoso for this
Improve error checking when parsing
Documentation updates and add testing for Python 3.6. Thank you to Alexander Lisianoi @alisianoi
No API changes
Bug fixes
Documentation updates and add testing for Python 3.6. Thank you to Alexander Lisianoi @alisianoi
Improve testng and expression equivalence checks
Improve subs() method to an expression
Fix various documentation typos and improve tests . Thank you to Alexander Lisianoi @alisianoi
No API changes
Bug fixes and improvements
Fix various documentation typos and improve tests . Thank you to Alexander Lisianoi @alisianoi
Fix handling for literals vs. symbols in negations Thank you to @YaronK
Improve handling of parse errors
API changes
#40 and #50 Expression.subs() now takes 'default' thanks to @kronuz
#45 simplify=False is now the default for parse and related functions or methods.
#40 Use "&" and "|" as default operators
Bug fixes
#60 Fix bug for "a or b c" which is not a valid expression
#58 Fix math formula display in docs
Improve handling of parse errors
Nothing published for this version
Nothing published for this version
Nothing published for this version
Nothing published for this version
Nothing published for this version
Nothing published for this version
Nothing published for this version
Nothing published for this version
Nothing published for this version
New algebra definition. Refactored class hierarchy. Improved parsing.
API changes
New algebra definition. Refactored class hierarchy. Improved parsing.
New features
possibility to subclass algebra definition
new normal forms shortcuts for DNF and CNF.
Nothing published for this version
Nothing published for this version
Nothing published for this version
Nothing published for this version
* Initial release on Pypi.
Initial release on Pypi.
Your coding agent can read these notes before it upgrades. Set up the MCP server →