codeboxapi


Namecodeboxapi JSON
Version 0.0.19 PyPI version JSON
download
home_pagehttps://codeboxapi.com/
SummaryCodeBox gives you an easy scalable and isolated python interpreter for your LLM Agents.
upload_time2023-08-22 11:42:42
maintainer
docs_urlNone
authorShroominic
requires_python>=3.9,<4.0
licenseMIT
keywords codebox api python-interpreter cloud-infra llm apps codeinterpreterapi
VCS
bugtrack_url
requirements No requirements were recorded.
Travis-CI No Travis.
coveralls test coverage No coveralls.
            # 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:

```bash
pip install codeboxapi
```

## Usage

```python
# 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](https://pay.codeboxapi.com/b/00g3e6dZX2fTg0gaEE) 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](mailto:contact@codeboxapi.com) 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](https://choosealicense.com/licenses/mit/)

## Contact

You can contact me at [contact@codeboxapi.com](mailto:contact@codeboxapi.com)


            

Raw data

            {
    "_id": null,
    "home_page": "https://codeboxapi.com/",
    "name": "codeboxapi",
    "maintainer": "",
    "docs_url": null,
    "requires_python": ">=3.9,<4.0",
    "maintainer_email": "",
    "keywords": "codebox,api,python-interpreter,cloud-infra,llm,apps,codeinterpreterapi",
    "author": "Shroominic",
    "author_email": "contact@shroominic.com",
    "download_url": "https://files.pythonhosted.org/packages/c9/2b/9781ffa6ad2f9b8a89858bed48796ba92776f0ec653eab00608ec026e1fe/codeboxapi-0.0.19.tar.gz",
    "platform": null,
    "description": "# CodeBox\n\nCodeBox is the simplest cloud infrastructure for your LLM Apps and Services.\nIt allows you to run python code in an isolated/sandboxed environment.\nAdditionally, it provides simple fileIO (and vector database support coming soon).\n\n## Installation\n\nYou can install CodeBox with pip:\n\n```bash\npip install codeboxapi\n```\n\n## Usage\n\n```python\n# Make sure to set the api-key as environment variable:\n# CODEBOX_API_KEY=sk-*******************************\n\nfrom codeboxapi import CodeBox\n\n\n# startup and automatically shutdown a new codebox\nwith CodeBox() as codebox:\n    # check if it's running\n    print(codebox.status())\n\n    # run some code\n    codebox.run(\"a = 'Hello'\")\n    codebox.run(\"b = 'World!'\")\n    codebox.run(\"result = a + ', ' + b\")\n    result = codebox.run(\"print(result)\")\n\n    print(result)\n    # Hello, World!\n\n```\n\n## Where to get your api-key?\n\nCodeBox is currently in early development so I created a stripe [payment link as login](https://pay.codeboxapi.com/b/00g3e6dZX2fTg0gaEE) system.\nAs BetaTester you get 70% with the code `BETA`.\nBear in mind, we don't have many automations set up right now,\nso you'll need to write an [email](mailto:contact@codeboxapi.com) for things like refunds,\nsub cancellations, or upgrades.\n\n## Contributing\n\nFeel free to contribute to this project.\nYou can open an issue or submit a pull request.\n\n## License\n\n[MIT](https://choosealicense.com/licenses/mit/)\n\n## Contact\n\nYou can contact me at [contact@codeboxapi.com](mailto:contact@codeboxapi.com)\n\n",
    "bugtrack_url": null,
    "license": "MIT",
    "summary": "CodeBox gives you an easy scalable and isolated python interpreter for your LLM Agents.",
    "version": "0.0.19",
    "project_urls": {
        "Documentation": "https://codeboxapi.com/docs",
        "Homepage": "https://codeboxapi.com/",
        "Repository": "https://github.com/shroominic/codebox-api"
    },
    "split_keywords": [
        "codebox",
        "api",
        "python-interpreter",
        "cloud-infra",
        "llm",
        "apps",
        "codeinterpreterapi"
    ],
    "urls": [
        {
            "comment_text": "",
            "digests": {
                "blake2b_256": "16b8ac28fc9a3c3a38e52974f56af6a0188ee1acb61822a1b8f6a0811709847c",
                "md5": "240d68161d226a29dee5f1443ba07437",
                "sha256": "4c2c6afe25172f027c91cd12cba98d3620a247b8d27c0ae64f21d219ebf4104e"
            },
            "downloads": -1,
            "filename": "codeboxapi-0.0.19-py3-none-any.whl",
            "has_sig": false,
            "md5_digest": "240d68161d226a29dee5f1443ba07437",
            "packagetype": "bdist_wheel",
            "python_version": "py3",
            "requires_python": ">=3.9,<4.0",
            "size": 13106,
            "upload_time": "2023-08-22T11:42:41",
            "upload_time_iso_8601": "2023-08-22T11:42:41.548110Z",
            "url": "https://files.pythonhosted.org/packages/16/b8/ac28fc9a3c3a38e52974f56af6a0188ee1acb61822a1b8f6a0811709847c/codeboxapi-0.0.19-py3-none-any.whl",
            "yanked": false,
            "yanked_reason": null
        },
        {
            "comment_text": "",
            "digests": {
                "blake2b_256": "c92b9781ffa6ad2f9b8a89858bed48796ba92776f0ec653eab00608ec026e1fe",
                "md5": "5bf093e919aa0bd259ec54610edd1217",
                "sha256": "ff9b19585c65d8e8e6456f0e6ca3bcb4ef0f6432a683a290b776a046db715027"
            },
            "downloads": -1,
            "filename": "codeboxapi-0.0.19.tar.gz",
            "has_sig": false,
            "md5_digest": "5bf093e919aa0bd259ec54610edd1217",
            "packagetype": "sdist",
            "python_version": "source",
            "requires_python": ">=3.9,<4.0",
            "size": 10582,
            "upload_time": "2023-08-22T11:42:42",
            "upload_time_iso_8601": "2023-08-22T11:42:42.731166Z",
            "url": "https://files.pythonhosted.org/packages/c9/2b/9781ffa6ad2f9b8a89858bed48796ba92776f0ec653eab00608ec026e1fe/codeboxapi-0.0.19.tar.gz",
            "yanked": false,
            "yanked_reason": null
        }
    ],
    "upload_time": "2023-08-22 11:42:42",
    "github": true,
    "gitlab": false,
    "bitbucket": false,
    "codeberg": false,
    "github_user": "shroominic",
    "github_project": "codebox-api",
    "travis_ci": false,
    "coveralls": false,
    "github_actions": true,
    "lcname": "codeboxapi"
}
        
Elapsed time: 0.10872s