gpt4 book ai didi

python - 用于 Python 的通用 REST/RPC API(等效于 OpenCPU)

转载 作者:太空宇宙 更新时间:2023-11-03 12:07:29 30 4
gpt4 key购买 nike

我和一位同事目前正在使用 OpenCPU通过 REST API 将我们用 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 的等价物?我尝试过搜索,但到目前为止运气不佳。

谢谢!

最佳答案

你看过IPython了吗? ?我不确定是否支持库更新。

关于python - 用于 Python 的通用 REST/RPC API(等效于 OpenCPU),我们在Stack Overflow上找到一个类似的问题: https://stackoverflow.com/questions/25045848/

30 4 0
Copyright 2021 - 2024 cfsdn All Rights Reserved 蜀ICP备2022000587号
广告合作:1813099741@qq.com 6ren.com