Rules Based Engine in Python [closed]

  dmn, expert-system, python, rule-engine

I’m in need of developing a Python program where user would be able to define rules that handle the flow of the program.

i.e.: User should be able to define a new rule and use existing code blocks (functions) to change the flow of the code and get a task done. Idea is to have minimum backend code changes for minor additions/changes that arise with user’s business needs.

What are good Python libraries which would match my need? I checked libraries like 'experta', 'durable_rules' etc. However, I’m unable to verify if those allow rule changes without changing backend code. It would be great if rules can be obtained from a standard logic like 'Decision Model and Notation'.

Source: Python Questions