Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Python runtime支持 #14

Open
ssrshz opened this issue Jan 20, 2024 · 3 comments
Open

Python runtime支持 #14

ssrshz opened this issue Jan 20, 2024 · 3 comments
Labels
help wanted Extra attention is needed

Comments

@ssrshz
Copy link

ssrshz commented Jan 20, 2024

没看到python runtime相关示例,目前还不支持吗

场景:
解决方案部,很多会写python,决策相关逻辑通过python实现,这样更利于推广

@ssrshz ssrshz changed the title Python代码无法执行 Python runtime支持 Jan 20, 2024
@whki
Copy link
Contributor

whki commented Jan 22, 2024

目前 python runtime 还在TODO列表,预计在3月底会支持。

@whki
Copy link
Contributor

whki commented Feb 19, 2024

也可以使用ssh组件 ,通过shell命令方式执行Python脚本。

@whki
Copy link
Contributor

whki commented Feb 21, 2024

因为Python需要安装CPython等依赖,暂时不考虑把Python内置到RuleGo中。可以通过自定义组件自行实现。
也可以使用ssh组件 ,通过shell命令方式执行Python脚本。

另外最新加入了Lua运行时支持,在扩展组件库 可以使用Lua脚本对数据进行过滤、转换、增强等操作。也可以使用Lua脚本进行加解密、、网络、I/O、数据库等高级操作。
文档:
luaFilter
jsTransform

@whki whki added the wontfix This will not be worked on label Feb 21, 2024
@whki whki added help wanted Extra attention is needed and removed wontfix This will not be worked on labels May 29, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
help wanted Extra attention is needed
Projects
Status: Todo
Development

No branches or pull requests

2 participants