python-boolean.py 3.6 Boolean algebra in one Python module
This is a small Python library that implements boolean algebra. It defines two base elements,
FALSE, and a
Symbol class that can take on one of these two values. Calculations are done only in terms of
NOT---other compositions like
NAND are emulated on top of them. Expressions are constructed from parsed strings or directly in Python.