Skip to main content

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-2017 Sebastian Kraemer, basti.kr@gmail.com and others

Released under revised BSD license aka. BSD Simplified or BSD-2-Clause.

Project details


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Files for boolean.py, version 3.7
Filename, size File type Python version Upload date Hashes
Filename, size boolean.py-3.7-py2.py3-none-any.whl (22.2 kB) File type Wheel Python version py2.py3 Upload date Hashes View hashes
Filename, size boolean.py-3.7.tar.gz (30.0 kB) File type Source Python version None Upload date Hashes View hashes

Supported by

Elastic Elastic Search Pingdom Pingdom Monitoring Google Google BigQuery Sentry Sentry Error logging AWS AWS Cloud computing DataDog DataDog Monitoring Fastly Fastly CDN DigiCert DigiCert EV certificate StatusPage StatusPage Status page