Package extra_boolean

Boolean data type has two possible truth values to represent logic.

Expand source code
"""Boolean data type has two possible truth values to represent logic."""

# PARSE
from .parse import parse

# NOT, EQ, NEQ, IMPLY, NIMPLY (FIXED)
from .not_ import not_
from .eq import eq
from .neq import neq
from .imply import imply
from .nimply import nimply

# # AND, OR, XOR, NAND, NOR, XNOR (VARIABLE)
from .and_ import and_
from .or_ import or_
from .xor import xor
from .nand import nand
from .nor import nor
from .xnor import xnor

# # COUNT, SELECT (VARIABLE)
from .count import count
from .select import select

# EQV, IMP (SHORTCUTS)
from .eqv import eqv
from .imp import imp

Sub-modules

extra_boolean.and_
extra_boolean.count
extra_boolean.eq
extra_boolean.eqv
extra_boolean.imp
extra_boolean.imply
extra_boolean.nand
extra_boolean.neq
extra_boolean.nimply
extra_boolean.nor
extra_boolean.not_
extra_boolean.or_
extra_boolean.parse
extra_boolean.select
extra_boolean.xnor
extra_boolean.xor