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-2020 Sebastian Kraemer, basti.kr@gmail.com and others SPDX-License-Identifier: 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.

Source Distribution

boolean_py-5.0.tar.gz (37.0 kB view details)

Uploaded Source

Built Distribution

boolean_py-5.0-py3-none-any.whl (26.6 kB view details)

Uploaded Python 3

File details

Details for the file boolean_py-5.0.tar.gz.

File metadata

  • Download URL: boolean_py-5.0.tar.gz
  • Upload date:
  • Size: 37.0 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/6.1.0 CPython/3.10.16

File hashes

Hashes for boolean_py-5.0.tar.gz
Algorithm Hash digest
SHA256 60cbc4bad079753721d32649545505362c754e121570ada4658b852a3a318d95
MD5 1a7ec75805094c91980b9f11240853c0
BLAKE2b-256 c4cf85379f13b76f3a69bca86b60237978af17d6aa0bc5998978c3b8cf05abb2

See more details on using hashes here.

File details

Details for the file boolean_py-5.0-py3-none-any.whl.

File metadata

  • Download URL: boolean_py-5.0-py3-none-any.whl
  • Upload date:
  • Size: 26.6 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/6.1.0 CPython/3.10.16

File hashes

Hashes for boolean_py-5.0-py3-none-any.whl
Algorithm Hash digest
SHA256 ef28a70bd43115208441b53a045d1549e2f0ec6e3d08a9d142cbc41c1938e8d9
MD5 df9060a88bfb6ba3b9314783b16a0faa
BLAKE2b-256 e5ca78d423b324b8d77900030fa59c4aa9054261ef0925631cd2501dd015b7b7

See more details on using hashes here.

Supported by

AWS Cloud computing and Security Sponsor Datadog Monitoring Fastly CDN Google Download Analytics Pingdom Monitoring Sentry Error logging StatusPage Status page