MIT License

项目介绍

shroominic/codebox-api 是一个托管在 GitHub 上的开源项目,主要使用 Python 编写,采用 MIT License 许可证,目前获得 363 个 Star、41 次 Fork。

仓库全名
shroominic/codebox-api
开源许可证
MIT License
Star 数
363
Fork 数
41
未关闭 Issue
2

README 摘要

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: Usage 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…

完整内容见 GitHub 原始 README 或本页 。

常见问题

codebox-api 用什么语言开发?

主要使用 Python 编写,采用 MIT License 许可证,目前有 363 个 Star。

codebox-api 可以免费商用吗?

仓库采用 MIT License 许可证,可免费使用与修改,商业使用请遵守许可证条款(例如保留版权声明与许可声明)。

如何获取 codebox-api 的源码?

可以直接克隆仓库:git clone https://github.com/shroominic/codebox-api.git,默认分支为 main;安装与运行步骤见仓库 README。

codebox-api 最近还在维护吗?

仓库最近一次更新为 2025年1月31日,当前有 2 个未关闭 Issue;Star 数为 363,可作为社区活跃度的参考。

关于

👾📦 CodeBoxAPI is the simplest sandboxing infrastructure for your LLM Apps and Services.

描述取自 GitHub 官方 API,中文内容由 GitRead 中文社区 编辑团队整理。

简要分析

热度分
448
价值分
230
活跃状态
活跃

语言占比

Dockerfile
Python
Shell

Release

README

CodeBox

Version code-check Downloads License

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

MIT

Contact

You can contact me at [email protected]

评论

暂无评论