Define boolean algebras, and create and parse boolean expressions
"boolean.py" is a small library implementing a boolean algebra. It defines two base elements, TRUE and FALSE, and a Symbol class that can take on one of these two values. Calculations are done in terms of AND, OR and NOT - other compositions like XOR and NAND are not implemented but can be emulated with AND or and NOT. Expressions are constructed from parsed strings or in Python. Python 3 version.
Release | Stable | Testing |
---|---|---|
Fedora Rawhide | 5.0-1.fc43 | - |
Fedora 42 | 4.0-13.fc42 | - |
Fedora 41 | 4.0-8.fc41 | - |
Fedora 40 | 4.0-6.fc40 | - |
Fedora EPEL 9 | 4.0-8.el9 | - |
Fedora EPEL 10.1 | 4.0-12.el10_0 | - |
Fedora EPEL 10.0 | 4.0-12.el10_0 | - |
You can contact the maintainers of this package via email at
python-boolean.py dash maintainers at fedoraproject dot org
.