boolean.py
Implements boolean algebra in one module.
Implements boolean algebra in one module.
To install this package, run one of the following:
"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.
Summary
Implements boolean algebra in one module.
Last Updated
Sep 15, 2025 at 14:40
License
BSD-2-Clause
Total Downloads
1.4K
Supported Platforms
Unsupported Platforms
GitHub Repository
https://github.com/bastikr/boolean.pyDocumentation
https://booleanpy.readthedocs.io