Truth

Generate truth tables in Python
pip install truth-table-generator

>>> import ttg >>> print(ttg.Truths(['a', 'b', 'c', 'd'], ['(a and b) or not (c xor d)']))