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.

You can install CodeBox with pip:

pip install codeboxapi
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!

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.

Checkout the documentation for more details!

Feel free to contribute to this project. You can open an issue or submit a pull request.

MIT

You can contact me at [email protected]

About

πŸ‘ΎπŸ“¦ CodeBoxAPI is the simplest sandboxing infrastructure for your LLM Apps and Services.

Topics

Resources

License

Stars

Watchers

Forks

Packages

No packages published

Contributors 7