Skip to main content

Define boolean algebras, create or 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 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-2016 Sebastian Kraemer, basti.kr@gmail.com and others

Released under revised BSD license.

Project details


Download files

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

Source Distributions

boolean.py-1.2.zip (32.6 kB view details)

Uploaded Source

boolean.py-1.2.tar.bz2 (24.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-1.2-py2.py3-none-any.whl (19.7 kB view details)

Uploaded Python 2Python 3

File details

Details for the file boolean.py-1.2.zip.

File metadata

  • Download URL: boolean.py-1.2.zip
  • Upload date:
  • Size: 32.6 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No

File hashes

Hashes for boolean.py-1.2.zip
Algorithm Hash digest
SHA256 aa7a41f19e4a42c329d09f5aa86ff91ffa6c661282245258aa583d17d98c8e8f
MD5 cc471456ee0e49523b7d9523d6b1f885
BLAKE2b-256 0e0ae5e4b4e62fecc361543183d93c2cc2776f4106fb5394a57675e5a2c050c5

See more details on using hashes here.

File details

Details for the file boolean.py-1.2.tar.bz2.

File metadata

  • Download URL: boolean.py-1.2.tar.bz2
  • Upload date:
  • Size: 24.2 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No

File hashes

Hashes for boolean.py-1.2.tar.bz2
Algorithm Hash digest
SHA256 0f68c6ed465ec3e759a2e649cfe8a9219eda71f7f7e3e9f26b67aa18ee63ce3d
MD5 b8152df627e3a9916a4b0789f0345c64
BLAKE2b-256 759acaab1fd21c3fa051516388d7fd8542014edd2edd17f1dec76aaeff0ee46d

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for boolean.py-1.2-py2.py3-none-any.whl
Algorithm Hash digest
SHA256 f1c7ddad6bbaa84bfc82c5459eb7f8d9f7259be9a5bde80ab77a8ddddf54bcc6
MD5 01cc47b889dc4a863fbe1cb2a1eac599
BLAKE2b-256 efad33e7607ee7193ae92013f7f7212eed5616c25a85a25ef2b0bd2fe457a546

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