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
import codeboxapi as cb
cb.set_api_key("your-api-key")
# or put your api key inside the .env file
# CODEBOX_API_KEY=your-api-key
# create and startup
codebox = CodeBox()
codebox.start()
# check if it's running
print(codebox.status() == "running")
# run some code
result = codebox.run("print('Hello, World!')")
# print the result
print(result)
codebox.stop()
Where to get your api-key?
CodeBox is currently in early development just write me an email and I send you a key for testing :)
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 pleurae-berets.0u@icloud.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.6.tar.gz
.
File metadata
- Download URL: codeboxapi-0.0.6.tar.gz
- Upload date:
- Size: 8.2 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 | 86e60e48f77ad55d4a9980f13e2df14800786c2807a095d6c516d94e59e9d2c6 |
|
MD5 | 44e438dfa1b3f5d3be3d16fd3fcb04c4 |
|
BLAKE2b-256 | 81318fe48da7da1905181c29996f000aa4a73c01683e0b3f8bc9dff7aacd05d3 |
File details
Details for the file codeboxapi-0.0.6-py3-none-any.whl
.
File metadata
- Download URL: codeboxapi-0.0.6-py3-none-any.whl
- Upload date:
- Size: 10.2 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 | 2786c771f0b45c73465b38dbdd45f97428e815bf07799640b18c4636e622cac9 |
|
MD5 | 126d53903edfec556b88292e911acf06 |
|
BLAKE2b-256 | 54d2c4f992a6230a6af8eadfe69600d9fa6732f87bec4581b329e0d41e6e98e0 |