Skip to main content

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

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-3.8.tar.gz (32.2 kB view details)

Uploaded Source

Built Distribution

If you're not sure about the file name format, learn more about wheel file names.

boolean.py-3.8-py2.py3-none-any.whl (23.8 kB view details)

Uploaded Python 2Python 3

File details

Details for the file boolean.py-3.8.tar.gz.

File metadata

  • Download URL: boolean.py-3.8.tar.gz
  • Upload date:
  • Size: 32.2 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/3.1.1 pkginfo/1.5.0.1 requests/2.23.0 setuptools/40.6.2 requests-toolbelt/0.9.1 tqdm/4.46.1 CPython/3.6.8

File hashes

Hashes for boolean.py-3.8.tar.gz
Algorithm Hash digest
SHA256 cc24e20f985d60cd4a3a5a1c0956dd12611159d32a75081dabd0c9ab981acaa4
MD5 83ccc145ba74a585637124c8bc648333
BLAKE2b-256 a1ebb37ef5647243ade8308f7bb46b1a45e6204790c163cbd8cf6df990d5c1c1

See more details on using hashes here.

File details

Details for the file boolean.py-3.8-py2.py3-none-any.whl.

File metadata

  • Download URL: boolean.py-3.8-py2.py3-none-any.whl
  • Upload date:
  • Size: 23.8 kB
  • Tags: Python 2, Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/3.1.1 pkginfo/1.5.0.1 requests/2.23.0 setuptools/40.6.2 requests-toolbelt/0.9.1 tqdm/4.46.1 CPython/3.6.8

File hashes

Hashes for boolean.py-3.8-py2.py3-none-any.whl
Algorithm Hash digest
SHA256 d75da0fd0354425fa64f6bbc6cec6ae1485d0eec3447b73187ff8cbf9b572e26
MD5 fa308ca6a746135feb248097cc35c107
BLAKE2b-256 eb5bf82983127b1a1a4db83ee290e00a94a2b08c566fa6c58466e82ed7b0a76f

See more details on using hashes here.

Supported by

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