skillfed

boolean.py

Define boolean algebras, create and parse boolean expressions and create custom boolean DSL.

boolean-py Permissive license BSD-2-Clause AGING 85 v5.0 released

Install

boolean-py on PyPI

pip

pip install boolean-py

uv

uv add boolean-py

poetry

poetry add boolean-py

Package 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

Development Status :: 5 - Production/StableIntended Audience :: DevelopersOperating System :: OS IndependentProgramming Language :: PythonProgramming Language :: Python :: 3Topic :: Scientific/Engineering :: MathematicsTopic :: Software Development :: CompilersTopic :: Software Development :: LibrariesTopic :: Utilities

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