Skip to main content

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

from codeboxapi import CodeBox, set_api_key


set_api_key("sk-************************")
# 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(str(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 so I created a stripe payment link as login system: https://pay.codeboxapi.com/b/00g3e6dZX2fTg0gaEE 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

MIT

Contact

You can contact me at pleurae-berets.0u@icloud.com

Project details


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

codeboxapi-0.0.12.tar.gz (9.0 kB view details)

Uploaded Source

Built Distribution

codeboxapi-0.0.12-py3-none-any.whl (11.1 kB view details)

Uploaded Python 3

File details

Details for the file codeboxapi-0.0.12.tar.gz.

File metadata

  • Download URL: codeboxapi-0.0.12.tar.gz
  • Upload date:
  • Size: 9.0 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: poetry/1.5.1 CPython/3.11.4 Darwin/22.3.0

File hashes

Hashes for codeboxapi-0.0.12.tar.gz
Algorithm Hash digest
SHA256 2db4894863c5c016b20b1cf9e6025a7276930aa1a6b90e17696d4f3a683a12bd
MD5 5b5f548e9e5bffe98ab26b4cd3062e9f
BLAKE2b-256 a5e5aa265108cb323d227bea87712a658ba4aaa74f18a8f58a6b70320e8a3929

See more details on using hashes here.

File details

Details for the file codeboxapi-0.0.12-py3-none-any.whl.

File metadata

  • Download URL: codeboxapi-0.0.12-py3-none-any.whl
  • Upload date:
  • Size: 11.1 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

Hashes for codeboxapi-0.0.12-py3-none-any.whl
Algorithm Hash digest
SHA256 98969d9bd6fc2b0c8b99f6e56565748125cde28e9310cdaf273cd51c7131ad63
MD5 21c4b37db80e59167f6fb59cdac05c0a
BLAKE2b-256 841e5197a56add882211fb7910106683030fbf9f4c1ef9d338c18022ada8d5b4

See more details on using hashes here.

Supported by

AWS AWS Cloud computing and Security Sponsor Datadog Datadog Monitoring Fastly Fastly CDN Google Google Download Analytics Microsoft Microsoft PSF Sponsor Pingdom Pingdom Monitoring Sentry Sentry Error logging StatusPage StatusPage Status page