Name | e2b JSON |
Version |
1.11.1
JSON |
| download |
home_page | https://e2b.dev/ |
Summary | E2B SDK that give agents cloud environments |
upload_time | 2025-08-06 10:31:42 |
maintainer | None |
docs_url | None |
author | e2b |
requires_python | <4.0,>=3.9 |
license | MIT |
keywords |
|
VCS |
 |
bugtrack_url |
|
requirements |
No requirements were recorded.
|
Travis-CI |
No Travis.
|
coveralls test coverage |
No coveralls.
|
<p align="center">
<img width="100" src="https://raw.githubusercontent.com/e2b-dev/E2B/refs/heads/main/readme-assets/logo-circle.png" alt="e2b logo">
</p>
<h4 align="center">
<a href="https://pypi.org/project/e2b/">
<img alt="Last 1 month downloads for the Python SDK" loading="lazy" width="200" height="20" decoding="async" data-nimg="1"
style="color:transparent;width:auto;height:100%" src="https://img.shields.io/pypi/dm/e2b?label=PyPI%20Downloads">
</a>
</h4>
## What is E2B?
[E2B](https://www.e2b.dev/) is an open-source infrastructure that allows you to run AI-generated code in secure isolated sandboxes in the cloud. To start and control sandboxes, use our [JavaScript SDK](https://www.npmjs.com/package/@e2b/code-interpreter) or [Python SDK](https://pypi.org/project/e2b_code_interpreter).
## Run your first Sandbox
### 1. Install SDK
```
pip install e2b-code-interpreter
```
### 2. Get your E2B API key
1. Sign up to E2B [here](https://e2b.dev).
2. Get your API key [here](https://e2b.dev/dashboard?tab=keys).
3. Set environment variable with your API key
```
E2B_API_KEY=e2b_***
```
### 3. Execute code with code interpreter inside Sandbox
```py
from e2b_code_interpreter import Sandbox
with Sandbox() as sandbox:
sandbox.run_code("x = 1")
execution = sandbox.run_code("x+=1; x")
print(execution.text) # outputs 2
```
### 4. Check docs
Visit [E2B documentation](https://e2b.dev/docs).
### 5. E2B cookbook
Visit our [Cookbook](https://github.com/e2b-dev/e2b-cookbook/tree/main) to get inspired by examples with different LLMs and AI frameworks.
Raw data
{
"_id": null,
"home_page": "https://e2b.dev/",
"name": "e2b",
"maintainer": null,
"docs_url": null,
"requires_python": "<4.0,>=3.9",
"maintainer_email": null,
"keywords": null,
"author": "e2b",
"author_email": "hello@e2b.dev",
"download_url": "https://files.pythonhosted.org/packages/b4/49/2110d31074da3ba233984c6c02fa5def9ab043669cdb921f380b71457329/e2b-1.11.1.tar.gz",
"platform": null,
"description": "<p align=\"center\">\n <img width=\"100\" src=\"https://raw.githubusercontent.com/e2b-dev/E2B/refs/heads/main/readme-assets/logo-circle.png\" alt=\"e2b logo\">\n</p>\n\n<h4 align=\"center\">\n <a href=\"https://pypi.org/project/e2b/\">\n <img alt=\"Last 1 month downloads for the Python SDK\" loading=\"lazy\" width=\"200\" height=\"20\" decoding=\"async\" data-nimg=\"1\"\n style=\"color:transparent;width:auto;height:100%\" src=\"https://img.shields.io/pypi/dm/e2b?label=PyPI%20Downloads\">\n </a> \n</h4>\n\n\n## What is E2B?\n[E2B](https://www.e2b.dev/) is an open-source infrastructure that allows you to run AI-generated code in secure isolated sandboxes in the cloud. To start and control sandboxes, use our [JavaScript SDK](https://www.npmjs.com/package/@e2b/code-interpreter) or [Python SDK](https://pypi.org/project/e2b_code_interpreter).\n\n## Run your first Sandbox\n\n### 1. Install SDK\n\n```\npip install e2b-code-interpreter\n```\n\n### 2. Get your E2B API key\n1. Sign up to E2B [here](https://e2b.dev).\n2. Get your API key [here](https://e2b.dev/dashboard?tab=keys).\n3. Set environment variable with your API key\n```\nE2B_API_KEY=e2b_***\n``` \n\n### 3. Execute code with code interpreter inside Sandbox\n\n```py\nfrom e2b_code_interpreter import Sandbox\n\nwith Sandbox() as sandbox:\n sandbox.run_code(\"x = 1\")\n execution = sandbox.run_code(\"x+=1; x\")\n print(execution.text) # outputs 2\n```\n\n### 4. Check docs\nVisit [E2B documentation](https://e2b.dev/docs).\n\n### 5. E2B cookbook\nVisit our [Cookbook](https://github.com/e2b-dev/e2b-cookbook/tree/main) to get inspired by examples with different LLMs and AI frameworks.\n",
"bugtrack_url": null,
"license": "MIT",
"summary": "E2B SDK that give agents cloud environments",
"version": "1.11.1",
"project_urls": {
"Bug Tracker": "https://github.com/e2b-dev/e2b/issues",
"Homepage": "https://e2b.dev/",
"Repository": "https://github.com/e2b-dev/e2b/tree/main/packages/python-sdk"
},
"split_keywords": [],
"urls": [
{
"comment_text": "",
"digests": {
"blake2b_256": "bea4be83c8b1cd923b558fb76a0fcbc4172b5348c956c706c70e19c038bc37f8",
"md5": "7a3be194bb4bf6e3306f60c67b399be4",
"sha256": "1ecb123873788472731c101939a494ab852cbcce0f913df6f7ecb194ae932130"
},
"downloads": -1,
"filename": "e2b-1.11.1-py3-none-any.whl",
"has_sig": false,
"md5_digest": "7a3be194bb4bf6e3306f60c67b399be4",
"packagetype": "bdist_wheel",
"python_version": "py3",
"requires_python": "<4.0,>=3.9",
"size": 114762,
"upload_time": "2025-08-06T10:31:40",
"upload_time_iso_8601": "2025-08-06T10:31:40.971620Z",
"url": "https://files.pythonhosted.org/packages/be/a4/be83c8b1cd923b558fb76a0fcbc4172b5348c956c706c70e19c038bc37f8/e2b-1.11.1-py3-none-any.whl",
"yanked": false,
"yanked_reason": null
},
{
"comment_text": "",
"digests": {
"blake2b_256": "b4492110d31074da3ba233984c6c02fa5def9ab043669cdb921f380b71457329",
"md5": "3828f9f70d3316fd924664af241a3a43",
"sha256": "7f7b6f238208d0a23353bb0da01f91a924321b57c61b176506862cbc1493ce8c"
},
"downloads": -1,
"filename": "e2b-1.11.1.tar.gz",
"has_sig": false,
"md5_digest": "3828f9f70d3316fd924664af241a3a43",
"packagetype": "sdist",
"python_version": "source",
"requires_python": "<4.0,>=3.9",
"size": 61926,
"upload_time": "2025-08-06T10:31:42",
"upload_time_iso_8601": "2025-08-06T10:31:42.747475Z",
"url": "https://files.pythonhosted.org/packages/b4/49/2110d31074da3ba233984c6c02fa5def9ab043669cdb921f380b71457329/e2b-1.11.1.tar.gz",
"yanked": false,
"yanked_reason": null
}
],
"upload_time": "2025-08-06 10:31:42",
"github": true,
"gitlab": false,
"bitbucket": false,
"codeberg": false,
"github_user": "e2b-dev",
"github_project": "e2b",
"travis_ci": false,
"coveralls": false,
"github_actions": true,
"lcname": "e2b"
}