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-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-2.0.0.zip (33.1 kB view details)

Uploaded Source

boolean.py-2.0.0.tar.bz2 (24.6 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-2.0.0-py2.py3-none-any.whl (21.2 kB view details)

Uploaded Python 2Python 3

File details

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

File metadata

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

File hashes

Hashes for boolean.py-2.0.0.zip
Algorithm Hash digest
SHA256 25be2e0ee4d5f82e413a521e4907af2366302e5d1fab37b228672afa6d628bcd
MD5 285e5f73edc216c3db3fed166aa2a0ff
BLAKE2b-256 d5197daf4a982d6326bf74435fa9980ca8e7c9b4a3db988783efd3c676917b83

See more details on using hashes here.

File details

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

File metadata

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

File hashes

Hashes for boolean.py-2.0.0.tar.bz2
Algorithm Hash digest
SHA256 9982730c2b65de5a4e1751d0a4a819fd1e50530079c41ef3319e88ba31211292
MD5 dbebdf710585af1b77e8fed69b743f55
BLAKE2b-256 3974dfcb53efddab0bfacd9751776c90553625de8c42c4459bb08ef780b544d8

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for boolean.py-2.0.0-py2.py3-none-any.whl
Algorithm Hash digest
SHA256 a4f986ee81b8087780c04acd98a6784c6e708eb49106f01ab823d5652accf041
MD5 2dc994e25e9c43f8f5453ade398b5612
BLAKE2b-256 331fd993f910c1f0370ec56d63836a7bb0850c8ebfbfa9623660dccf65ec815b

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