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
File details
Details for the file boolean.py-2.0.dev3.zip
.
File metadata
- Download URL: boolean.py-2.0.dev3.zip
- Upload date:
- Size: 34.5 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | 850fa25867cce3aacc9ae2f5084debd980ed8431dd3c8f890d4f95db6442a78b |
|
MD5 | 18551328a972bd850ab8393d8c0d25b5 |
|
BLAKE2b-256 | 3e5938b3bd61b2e4d6e0b43a81af40a5597d0c1e8f4f6c085810e33e85e89a12 |
Provenance
File details
Details for the file boolean.py-2.0.dev3.tar.bz2
.
File metadata
- Download URL: boolean.py-2.0.dev3.tar.bz2
- Upload date:
- Size: 25.8 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | 3964398e56954d97b124d6a121481ccf8559e31a5fec82ef1c06312e504804b0 |
|
MD5 | 941a7ef11df896f370129c308d07803f |
|
BLAKE2b-256 | 6b25517cc523b7aed438022f3ef78d8023ce2c45cfb80f9ed32c582b52bc6a09 |
Provenance
File details
Details for the file boolean.py-2.0.dev3-py2.py3-none-any.whl
.
File metadata
- Download URL: boolean.py-2.0.dev3-py2.py3-none-any.whl
- Upload date:
- Size: 21.3 kB
- Tags: Python 2, Python 3
- Uploaded using Trusted Publishing? No
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | db74140e71bed5025767346a2e4848e02a7653d611a606a93eb8e00020305d9d |
|
MD5 | ef3aa179f66d606def229f98719040c2 |
|
BLAKE2b-256 | 96d71a5727fb65dcd06cb7b8ae494751ccf64d1f49ab850a793eeece876dfe24 |