Python的通用REST/rpcapi(相当于OpenCPU)

2024-09-27 20:17:23 发布

您现在位置:Python中文网/ 问答频道 /正文

我和一位同事目前正在使用OpenCPU通过restapi向其他应用程序公开我们在R中编写的分析。最近需要以类似的方式利用一些python库。在OpenCPU描述中:

OpenCPU is a system for embedded scientific computing and reproducible research. The OpenCPU server provides a reliable and interoperable HTTP API for data analysis based on R. You can either use the public servers or host your own.

基本上,我们在服务器上更新R库,它会自动在REST端点公开更新的和新的函数。它负责将数据从JSON编组到S3,然后再编组回JSON。不需要使用OpenCPU手动配置路由。在

我的问题是,假设我们在一个安全的环境中运行,那么python是否存在一个等价的呢?我试过寻找,但到目前为止运气不好。在

谢谢!在


Tags: andrestapijson应用程序利用foris方式

热门问题