CodeBox gives you an easy scalable and isolated python interpreter for your LLM Agents.
Project description
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. Additionally, it provides simple fileIO (and vector database support coming soon).
Installation
You can install CodeBox with pip:
pip install codeboxapi
Usage
export CODEBOX_API_KEY=sk-***************
from codeboxapi import CodeBox
# startup and automatically shutdown a new codebox
with CodeBox() as codebox:
# check if it's running
print(codebox.status())
# run some code
codebox.run("a = 'Hello'")
codebox.run("b = 'World!'")
codebox.run("result = a + ', ' + b")
result = codebox.run("print(result)")
print(result)
# Hello, World!
Where to get your api-key?
CodeBox is currently in early development so I created a stripe payment link as login system. 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 contact@codeboxapi.com
Project details
Release history Release notifications | RSS feed
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
Built Distribution
File details
Details for the file codeboxapi-0.1.19.tar.gz
.
File metadata
- Download URL: codeboxapi-0.1.19.tar.gz
- Upload date:
- Size: 100.7 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/4.0.2 CPython/3.9.18
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | 4135b25d6ac1a343c8cf502e5b0dea55f033fad4b8ccf03a420daa0bb4d816d0 |
|
MD5 | 30a348bbefc6339b531c0ac1dcc494af |
|
BLAKE2b-256 | 88761493c3b3970586ebfa3f88c02881b9ccf08bfe0f86d1aecf82620f68551d |
File details
Details for the file codeboxapi-0.1.19-py3-none-any.whl
.
File metadata
- Download URL: codeboxapi-0.1.19-py3-none-any.whl
- Upload date:
- Size: 13.5 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/4.0.2 CPython/3.9.18
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | 13b6596160c1531c338055c82caff57cf334b948db3aebee8fa4a5a71cbf0c33 |
|
MD5 | 31b2b0a7cd7fd14a07883355a79fa7d6 |
|
BLAKE2b-256 | f2d3f48bfd92dfbcf011883cb63dbf4c27f587bd71841ec12ccbf248e01dfa91 |