This package browser is in early development. Mind the rough edges.

python-boolean.py 5.0

Boolean algebra in one Python module

This is a small Python library that implements 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 only in terms of AND, OR, and NOT---other compositions like XOR and NAND are emulated on top of them. Expressions are constructed from parsed strings or directly in Python.

Installation

Install python-boolean.py 5.0 as follows:

guix install python-boolean.py@5.0

Or install the latest version:

guix install python-boolean.py

You can also install packages in augmented, pure or containerized environments for development or simply to try them out without polluting your user profile. See the guix shell documentation for more information.