Movatterモバイル変換


[0]ホーム

URL:


Skip to content

Navigation Menu

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Sign up

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

License

NotificationsYou must be signed in to change notification settings

shroominic/codebox-api

Repository files navigation

Versioncode-checkDownloadsLicense

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 developmentexport CODEBOX_API_KEY=docker# for small projectsexport CODEBOX_API_KEY=sk-***************# for production
fromcodeboxapiimportCodeBox# create a new codeboxcodebox=CodeBox()# run some codecodebox.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 thepricing 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 anemail for things like refunds,sub cancellations, or upgrades.

Docs

Checkout thedocumentation 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 atteam@codeboxapi.com


[8]ページ先頭

©2009-2025 Movatter.jp