Remove multiple if/elif/else statements with decision table!
DT.py (decisionTable.py) was created to simplify python code which holds huge amount of logic (if/elif/else). To make decision base on decision table you create simple CSV like table, define input/output arguments, define output base on input argument combination and this is it. For input arguments you can use simple string, regex, or glob like string! To get a decision pass random input arguments in table object and it will return output elements in tuple.
For more informations please visit projects official homepage.
Copyright © 2016 Uroš Jarc