项目
在 GitHub 查看
shroominic/codebox-api
关于
👾📦 CodeBoxAPI 为 LLM 应用和服务提供简洁易用的沙箱基础设施。
系统与基础设施实测星标增长
- 24小时
- 0
- 7天
- 0
- 15天
- 0
- 1个月
- 正在收集历史
各周期内的星标净变化,周期相互重叠,并非每日新增。缺失的测量保持空白。星标代表关注度,不代表软件质量。
README.md
原文CodeBox
CodeBox is the simplest cloud infrastructure for your LLM Apps and Services. It allows you to run python code in an isolated/sandboxed environment.
Installation
You can install CodeBox with pip:
pip install codeboxapi
Usage
export CODEBOX_API_KEY=local # for local development
export CODEBOX_API_KEY=docker # for small projects
export CODEBOX_API_KEY=sk-*************** # for production
from codeboxapi import CodeBox
# create a new codebox
codebox = CodeBox()
# run some code
codebox.exec("a = 'Hello'")
codebox.exec("b = 'World!'")
codebox.exec("x = a + ', ' + b")
result = codebox.exec("print(x)")
print(result)
# Hello, World!
Where to get your api-key?
Checkout the pricing page of CodeBoxAPI. By subscribing to a plan, you will receive an account with an api-key. Bear in mind, we don't have many automations set up right now, so you'll need to write an email for things like refunds, sub cancellations, or upgrades.
Docs
Checkout the documentation for more details!
Contributing
Feel free to contribute to this project. You can open an issue or submit a pull request.
License
Contact
You can contact me at [email protected]
探索相关项目
加载中…