CodeBox is the simplest cloud infrastructure for your LLM Apps and Services.
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
# Make sure to set the api-key as environment variable:
# 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.
As BetaTester you get 70% with the code BETA
.
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.
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.0.15.tar.gz
.
File metadata
- Download URL: codeboxapi-0.0.15.tar.gz
- Upload date:
- Size: 10.4 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: poetry/1.5.1 CPython/3.11.4 Darwin/22.3.0
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | c2c5ff6c1fce5d4873c4a11a063e93041efee79528c9c082b42030b89512708d |
|
MD5 | c7bab12853fcec11e9837c5503f49d9c |
|
BLAKE2b-256 | 55fc135d6f54f364948bdf72629032ca5f372bdc66964ce1ff7a74743ceae0a3 |
File details
Details for the file codeboxapi-0.0.15-py3-none-any.whl
.
File metadata
- Download URL: codeboxapi-0.0.15-py3-none-any.whl
- Upload date:
- Size: 12.7 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via: poetry/1.5.1 CPython/3.11.4 Darwin/22.3.0
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | 9281bcd2dc9b8f6cf8e6e254f803a2c35d8a533ef12ea0858fe1111e3929f2cc |
|
MD5 | 54b149d80ea4aca8f4219faad0a652ad |
|
BLAKE2b-256 | 954d55a4306cf8611492afb85e21826e7898cc482f848c3e0f17b29dd410222c |