{"id":13585067,"url":"https://github.com/shroominic/codebox-api","last_synced_at":"2025-05-15T08:07:56.440Z","repository":{"id":179875266,"uuid":"664262546","full_name":"shroominic/codebox-api","owner":"shroominic","description":"👾📦 CodeBoxAPI is the simplest sandboxing infrastructure for your LLM Apps and Services.","archived":false,"fork":false,"pushed_at":"2025-01-30T16:03:11.000Z","size":1060,"stargazers_count":343,"open_issues_count":3,"forks_count":47,"subscribers_count":4,"default_branch":"main","last_synced_at":"2025-04-14T14:59:38.075Z","etag":null,"topics":["code-execution","code-interpreter","infrastructure","llm","prompt-engineering","sandbox","sandbox-environment"],"latest_commit_sha":null,"homepage":"https://codeboxapi.com","language":"Python","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"mit","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/shroominic.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":"LICENSE","code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null,"governance":null,"roadmap":"roadmap.todo","authors":null,"dei":null,"publiccode":null,"codemeta":null,"zenodo":null}},"created_at":"2023-07-09T12:31:19.000Z","updated_at":"2025-04-11T18:33:09.000Z","dependencies_parsed_at":"2023-12-30T01:23:57.432Z","dependency_job_id":"a4097562-d1db-4313-bd33-f6f7081938fd","html_url":"https://github.com/shroominic/codebox-api","commit_stats":{"total_commits":325,"total_committers":9,"mean_commits":"36.111111111111114","dds":0.07692307692307687,"last_synced_commit":"473462e2974f8a98fc424089f85ef5cb95e3cad9"},"previous_names":["shroominic/codebox-api"],"tags_count":15,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/shroominic%2Fcodebox-api","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/shroominic%2Fcodebox-api/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/shroominic%2Fcodebox-api/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/shroominic%2Fcodebox-api/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/shroominic","download_url":"https://codeload.github.com/shroominic/codebox-api/tar.gz/refs/heads/main","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":254292080,"owners_count":22046428,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2022-07-04T15:15:14.044Z","host_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories","repository_names_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repository_names","owners_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners"}},"keywords":["code-execution","code-interpreter","infrastructure","llm","prompt-engineering","sandbox","sandbox-environment"],"created_at":"2024-08-01T15:04:43.450Z","updated_at":"2025-05-15T08:07:56.334Z","avatar_url":"https://github.com/shroominic.png","language":"Python","funding_links":[],"categories":["Python"],"sub_categories":[],"readme":"# CodeBox\n\n[![Version](https://badge.fury.io/py/codeboxapi.svg)](https://badge.fury.io/py/codeboxapi)\n[![code-check](https://github.com/shroominic/codebox-api/actions/workflows/code-check.yml/badge.svg)](https://github.com/shroominic/codebox-api/actions/workflows/code-check.yml)\n![Downloads](https://img.shields.io/pypi/dm/codeboxapi)\n![License](https://img.shields.io/pypi/l/codeboxapi)\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.\n\n## Installation\n\nYou can install CodeBox with pip:\n\n```bash\npip install codeboxapi\n```\n\n## Usage\n\n```bash\nexport CODEBOX_API_KEY=local # for local development\nexport CODEBOX_API_KEY=docker # for small projects\nexport CODEBOX_API_KEY=sk-*************** # for production\n```\n\n```python\nfrom codeboxapi import CodeBox\n\n# create a new codebox\ncodebox = CodeBox()\n\n# run some code\ncodebox.exec(\"a = 'Hello'\")\ncodebox.exec(\"b = 'World!'\")\ncodebox.exec(\"x = a + ', ' + b\")\nresult = codebox.exec(\"print(x)\")\n\nprint(result)\n# Hello, World!\n```\n\n## Where to get your api-key?\n\nCheckout the [pricing page](https://codeboxapi.com/pricing) of CodeBoxAPI. By subscribing to a plan,\nyou will receive an account with an api-key.\nBear in mind, we don't have many automations set up right now,\nso you'll need to write an [email](mailto:team@codeboxapi.com) for things like refunds,\nsub cancellations, or upgrades.\n\n## Docs\n\nCheckout the [documentation](https://shroominic.github.io/codebox-api/) for more details!\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 [team@codeboxapi.com](mailto:team@codeboxapi.com)\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fshroominic%2Fcodebox-api","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fshroominic%2Fcodebox-api","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fshroominic%2Fcodebox-api/lists"}