Define boolean algebras, create or parse boolean expressions and create custom boolean DSL.
Project 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 custom tokenizers to handle custom expressions.
For extensive documentation look either into the docs directory or view it online, at https://booleanpy.readthedocs.org/en/latest/
https://github.com/bastikr/boolean.py
Copyright (c) 2009-2016 Sebastian Kraemer, basti.kr@gmail.com and others
Released under revised BSD license.
Project details
Release history Release notifications | RSS feed
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distributions
Built Distribution
Hashes for boolean.py-2.0.dev3-py2.py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | db74140e71bed5025767346a2e4848e02a7653d611a606a93eb8e00020305d9d |
|
MD5 | ef3aa179f66d606def229f98719040c2 |
|
BLAKE2b-256 | 96d71a5727fb65dcd06cb7b8ae494751ccf64d1f49ab850a793eeece876dfe24 |