Define boolean algebras, create and parse boolean expressions and create custom boolean DSL.
Project Links
Meta
Author: Sebastian Kraemer
Classifiers
Development Status
- 5 - Production/Stable
Intended Audience
- Developers
Operating System
- OS Independent
Programming Language
- Python
- Python :: 3
Topic
- Scientific/Engineering :: Mathematics
- Software Development :: Compilers
- Software Development :: Libraries
- Utilities
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
Apr 03, 2025
5.0
May 05, 2022
4.0
Jun 10, 2020
3.8
Oct 14, 2019
3.7
Aug 06, 2018
3.6
Nov 01, 2017
3.5
May 12, 2017
3.4
Feb 09, 2017
3.3
Jan 11, 2017
3.2
Dec 19, 2016
3.1
Dec 19, 2016
3.0
Aug 11, 2016
3.0.dev6
Jun 17, 2016
3.0.dev5
May 25, 2016
3.0.dev4
May 25, 2016
3.0.dev3
May 13, 2016
3.0.dev2
May 13, 2016
3.0.dev1
May 11, 2016
2.0.0
Apr 29, 2016
2.0.dev3
Apr 28, 2016
2.0.dev2
Apr 27, 2016
2.0.dev1
Apr 06, 2016
1.2