BSD Ports

devel/py-boolean.py 5.0 OpenBSD

define Boolean algebras, create and parse Boolean expression

System
OpenBSD
Repository
OpenBSD ports
Maintainer
The OpenBSD ports mailing-list <[email protected]>
Categories
devel, lang/python

Description

This library helps you deal with boolean expressions and algebra with variables and the boolean functions AND, OR, NOT.

You can parse expressions from strings and simplify and compare expressions. You can also easily create your custom algebra and mini DSL and create custom tokenizers to handle custom expressions.

In the other systems

SystemPortVersion
OpenBSDdevel/py-boolean.py5.0
FreeBSDdevel/py-boolean.py5.0
NetBSDdevel/py-boolean.py5.0
DragonFlydevel/py-boolean.py4.0_1
MidnightBSDdevel/py-boolean.py4.0_1

Install

Binary package:

pkg_add py3-boolean.py

From the ports tree:

cd /usr/ports/devel/py-boolean.py && make install

Dependencies

Build dependencies 5
Run dependencies 1