Define boolean algebras, create and 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 your custom algreba and mini DSL and 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.0-py2.py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | a4f986ee81b8087780c04acd98a6784c6e708eb49106f01ab823d5652accf041 |
|
MD5 | 2dc994e25e9c43f8f5453ade398b5612 |
|
BLAKE2b-256 | 331fd993f910c1f0370ec56d63836a7bb0850c8ebfbfa9623660dccf65ec815b |