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-2020 Sebastian Kraemer, basti.kr@gmail.com and others SPDX-License-Identifier: BSD-2-Clause
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 Distribution
Built Distribution
File details
Details for the file boolean.py-4.0.tar.gz
.
File metadata
- Download URL: boolean.py-4.0.tar.gz
- Upload date:
- Size: 34.5 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/3.8.0 pkginfo/1.8.2 readme-renderer/34.0 requests/2.27.1 requests-toolbelt/0.9.1 urllib3/1.26.9 tqdm/4.64.0 importlib-metadata/4.8.3 keyring/23.4.1 rfc3986/1.5.0 colorama/0.4.4 CPython/3.6.10
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | 17b9a181630e43dde1851d42bef546d616d5d9b4480357514597e78b203d06e4 |
|
MD5 | 5a8b0eae254b0c37a1bdde38c6bd5b5d |
|
BLAKE2b-256 | a2d9b6e56a303d221fc0bdff2c775e4eef7fedd58194aa5a96fa89fb71634cc9 |
File details
Details for the file boolean.py-4.0-py3-none-any.whl
.
File metadata
- Download URL: boolean.py-4.0-py3-none-any.whl
- Upload date:
- Size: 25.9 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/3.8.0 pkginfo/1.8.2 readme-renderer/34.0 requests/2.27.1 requests-toolbelt/0.9.1 urllib3/1.26.9 tqdm/4.64.0 importlib-metadata/4.8.3 keyring/23.4.1 rfc3986/1.5.0 colorama/0.4.4 CPython/3.6.10
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | 2876f2051d7d6394a531d82dc6eb407faa0b01a0a0b3083817ccd7323b8d96bd |
|
MD5 | 73208a6fc38d6904a1d7e793e8da1292 |
|
BLAKE2b-256 | 3f026389ef0529af6da0b913374dedb9bbde8eabfe45767ceec38cc37801b0bd |