codeboxapi 0.2.6
pip install codeboxapi
Released:
CodeBox gives you an easy scalable and isolated python interpreter for your LLM Agents.
Navigation
Unverified details
These details have not been verified by PyPIProject links
Meta
- License: MIT
- Author: Shroominic
- Tags agent infrastructure, agent sandbox, agents, code sandbox, code-interpreter, codebox, codebox-api, codeboxapi, codeinterpreterapi, language model
- Requires: Python >=3.9
-
Provides-Extra:
all
,data-science
,docs
,local
,pytest
,serve
,vision
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.
Installation
You can install CodeBox with pip:
pip install codeboxapi
Usage
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!
Where to get your api-key?
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.
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 team@codeboxapi.com
Project details
Unverified details
These details have not been verified by PyPIProject links
Meta
- License: MIT
- Author: Shroominic
- Tags agent infrastructure, agent sandbox, agents, code sandbox, code-interpreter, codebox, codebox-api, codeboxapi, codeinterpreterapi, language model
- Requires: Python >=3.9
-
Provides-Extra:
all
,data-science
,docs
,local
,pytest
,serve
,vision
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.2.6.tar.gz
.
File metadata
- Download URL: codeboxapi-0.2.6.tar.gz
- Upload date:
- Size: 27.8 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/6.1.0 CPython/3.9.21
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | 400fa997f4762cc18db4d22b7e626469d68808b2904a722846dc419d7e653b64 |
|
MD5 | dfd4a3f717b0280d2d4e936084b756f4 |
|
BLAKE2b-256 | 5cdfc5ce4d44bdad5c33375e4dd1c1e5ac84f0df582be4ed987938132ab3a1b6 |
File details
Details for the file codeboxapi-0.2.6-py3-none-any.whl
.
File metadata
- Download URL: codeboxapi-0.2.6-py3-none-any.whl
- Upload date:
- Size: 17.0 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/6.1.0 CPython/3.9.21
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | 6f698d16a6ad76eed2a47999af3873e20f7273fb7d451b06fdce1ef8de2f5456 |
|
MD5 | c531023d38c5bd22baaea38a1afd7b9a |
|
BLAKE2b-256 | 2d6ec3319405b0a5395cfd336fb730cb4cf516095d3c2aa2dffc81eca500fe11 |