Java 或 Python 中基于开源的规则引擎
声明:本页面是StackOverFlow热门问题的中英对照翻译,遵循CC BY-SA 4.0协议,如果您需要使用它,必须同样遵循CC BY-SA许可,注明原文地址和作者信息,同时你必须将它归于原作者(不是我):StackOverFlow
原文地址: http://stackoverflow.com/questions/34010260/
Warning: these are provided under cc-by-sa 4.0 license. You are free to use/share it, But you must attribute it to the original authors (not me):
StackOverFlow
Open Source based Rules Engines in Java or Python
提问by PacificNW_Lover
Am seeking a Rules Engine, written in Java or Python, which supports the following features:
我正在寻找用 Java 或 Python 编写的规则引擎,它支持以下功能:
- Decision Tables
- Easy creation of simple business rules (preferably by a non-technical person)
- SOAP / REST support
- 决策表
- 轻松创建简单的业务规则(最好由非技术人员创建)
- SOAP/REST 支持
Have already ruled out Drools (very clunky and not user friendly for non-technical users).
已经排除了 Drools(非常笨重,对非技术用户不友好)。
So far the candidates are:
到目前为止,候选人是:
- Nebri OS(Python / Django)
- Easy Rules(Java)
- n-cube(Groovy based)
- Nebri 操作系统(Python / Django)
- 简单规则(Java)
- n-cube(基于 Groovy)
Read that Easy Rules does not support forward and backward chaining, as well as breadth first and depth first search strategies.
阅读 Easy Rules 不支持向前和向后链接,以及广度优先和深度优先搜索策略。
It just executes all rules once and only once.
它只执行一次所有规则。
Can anyone suggest an open source based Rules Engine that's either written in Java or Python?
任何人都可以建议使用 Java 或 Python 编写的基于开源的规则引擎吗?
Thanks for taking the time to read this.
感谢您抽时间阅读。
回答by infotoni91
Take a look at durable_rules. It's a very state-of-the-art rulebased system for various languages, including python. I don't know if it's meeting your requirements but it's really worth a look ;)
看一下Durable_rules。这是一个非常先进的基于规则的系统,适用于各种语言,包括 python。我不知道它是否满足您的要求,但确实值得一看;)
回答by melchtheitroad55
回答by Gregor
I really like the simplicity of business-rules, you can always add an API layer like REST on top of that.
我真的很喜欢business-rules的简单性,你总是可以在它之上添加一个像 REST 这样的 API 层。