python-boolean.py
Module to define boolean algebras and create/parse boolean expressions


"boolean.py" is a 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.

BSD-2-Clause

cloud_download Downloads

Please select a product to see the available package versions:
Loading...
Loading package downloads...