boolean.py
Define boolean algebras, create and parse boolean expressions and create custom boolean DSL.
Install
boolean-py on PyPI
pip
pip install boolean-pyuv
uv add boolean-pypoetry
poetry add boolean-pyPackage facts
| License | BSD-2-Clause (permissive) |
| Python support | not specified |
| Install friction | low — pure-Python wheel |
| Runtime dependencies | none |
| Maintenance | aging — 497 days since the last release |
| Last repo commit | |
| First released | |
| Popularity | one of the top 1,000 most-downloaded packages on PyPI (30-day window, as of 2026-08-13) |
| Known vulnerabilities | none known (OSV.dev, checked 2026-08-13) |
Evidence: boolean_py-5.0-py3-none-any.whl
Keywords: boolean expression, boolean algebra, logic, expression parser
About boolean.py
from the package's own PyPI description — quoted content, verbatim
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
Read as markdown · JSON record · Source repository · Homepage
Similar packages
permissive · top 1,000 on PyPI
jsonpath-pythonpermissive · top 1,000 on PyPI
opt-einsumpermissive · top 1,000 on PyPI
stack-datapermissive · top 1,000 on PyPI
cssselectpermissive · top 1,000 on PyPI
cron-descriptorpermissive · top 1,000 on PyPI
nvidia-cusolverunclear · top 1,000 on PyPI
nvidia-cublasunclear · top 1,000 on PyPI
nvidia-cublas-cu12unclear · top 1,000 on PyPI
nvidia-cusolver-cu12unclear · top 1,000 on PyPI