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.3.4
0.3.3
0.3.2
0.3.1
0.3.0
0.2.9
0.2.8
0.2.7
0.2.6
0.2.5
0.2.4
0.2.3
0.2.2
0.2.1
0.2.0
0.17.2a9
0.17.2a8
0.17.2a7
0.17.2a62
0.17.2a61
0.17.2a60
0.17.2a6
0.17.2a59
0.17.2a58
0.17.2a57
0.17.2a56
0.17.2a55
0.17.2a54
0.17.2a53
0.17.2a52
0.17.2a51
0.17.2a50
0.17.2a5
0.17.2a49
0.17.2a48
0.17.2a47
0.17.2a46
0.17.2a45
0.17.2a44
0.17.2a43
0.17.2a42
0.17.2a41
0.17.2a40
0.17.2a4
0.17.2a39
0.17.2a38
0.17.2a37
0.17.2a36
0.17.2a35
0.17.2a34
0.17.2a33
0.17.2a32
0.17.2a31
0.17.2a30
0.17.2a3
0.17.2a29
0.17.2a28
0.17.2a27
0.17.2a26
0.17.2a25
0.17.2a24
0.17.2a23
0.17.2a22
0.17.2a21
0.17.2a20
0.17.2a2
0.17.2a19
0.17.2a18
0.17.2a17
0.17.2a16
0.17.2a15
0.17.2a14
0.17.2a13
0.17.2a12
0.17.2a11
0.17.2a10
0.17.2a1
0.17.2a0
0.17.1
0.17.0
0.16.0
0.15.0
0.14.9
0.14.8
0.14.7
0.14.6
0.14.5
0.14.4
0.14.3
0.14.2
0.14.14
0.14.13
0.14.12
0.14.11
0.14.10a9
0.14.10a8
0.14.10a7
0.14.10a6
0.14.10a5
0.14.10a4
0.14.10a3
0.14.10a2
0.14.10a12
0.14.10a11
0.14.10a10
0.14.10a1
0.14.10a0
0.14.10
0.14.1
0.14.0rc1
0.14.0rc0
0.14.0
0.13.9
0.13.8
0.13.7
0.13.6
0.13.5
0.13.4
0.13.3
0.13.2
0.13.18
0.13.17
0.13.16
0.13.15
0.13.14
0.13.13
0.13.12
0.13.11
0.13.10
0.13.1
0.13.0
0.12.0
0.11.0rc1
0.11.0rc0
0.11.0
0.10.9
0.10.8
0.10.7
0.10.6
0.10.5
0.10.4
0.10.3
0.10.2
0.10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9.0
0.8.1rc0
0.8.0
0.7.4
0.7.3
0.7.2
0.7.1
0.7.0
0.6.0
0.5.2
0.5.1
0.5.0
0.4.1
0.4.0
0.3.4
0.3.3
0.3.2
0.3.1
0.3.0
0.2.9
0.2.8
0.2.7
0.2.6
0.2.5
0.2.4
0.2.3
0.2.2
0.2.1
0.2.0
0.17.2a9
0.17.2a8
0.17.2a7
0.17.2a62
0.17.2a61
0.17.2a60
0.17.2a6
0.17.2a59
0.17.2a58
0.17.2a57
0.17.2a56
0.17.2a55
0.17.2a54
0.17.2a53
0.17.2a52
0.17.2a51
0.17.2a50
0.17.2a5
0.17.2a49
0.17.2a48
0.17.2a47
0.17.2a46
0.17.2a45
0.17.2a44
0.17.2a43
0.17.2a42
0.17.2a41
0.17.2a40
0.17.2a4
0.17.2a39
0.17.2a38
0.17.2a37
0.17.2a36
0.17.2a35
0.17.2a34
0.17.2a33
0.17.2a32
0.17.2a31
0.17.2a30
0.17.2a3
0.17.2a29
0.17.2a28
0.17.2a27
0.17.2a26
0.17.2a25
0.17.2a24
0.17.2a23
0.17.2a22
0.17.2a21
0.17.2a20
0.17.2a2
0.17.2a19
0.17.2a18
0.17.2a17
0.17.2a16
0.17.2a15
0.17.2a14
0.17.2a13
0.17.2a12
0.17.2a11
0.17.2a10
0.17.2a1
0.17.2a0
0.17.1
0.17.0
0.16.0
0.15.0
0.14.9
0.14.8
0.14.7
0.14.6
0.14.5
0.14.4
0.14.3
0.14.2
0.14.14
0.14.13
0.14.12
0.14.11
0.14.10a9
0.14.10a8
0.14.10a7
0.14.10a6
0.14.10a5
0.14.10a4
0.14.10a3
0.14.10a2
0.14.10a12
0.14.10a11
0.14.10a10
0.14.10a1
0.14.10a0
0.14.10
0.14.1
0.14.0rc1
0.14.0rc0
0.14.0
0.13.9
0.13.8
0.13.7
0.13.6
0.13.5
0.13.4
0.13.3
0.13.2
0.13.18
0.13.17
0.13.16
0.13.15
0.13.14
0.13.13
0.13.12
0.13.11
0.13.10
0.13.1
0.13.0
0.12.0
0.11.0rc1
0.11.0rc0
0.11.0
0.10.9
0.10.8
0.10.7
0.10.6
0.10.5
0.10.4
0.10.3
0.10.2
0.10.1
0.10.0rc0
0.10.0
0.1.9
0.1.8
0.1.7
0.1.6
0.1.5
0.1.4
0.1.3
0.1.2
0.1.12
0.1.10
0.1.1
0.1.0
0.0.1
توضیحات
E2B SDK that give agents cloud environments
| ویژگی | مقدار |
|---|---|
| سیستم عامل | - |
| نام فایل | e2b-2.9.1 |
| نام | e2b |
| نسخه کتابخانه | 2.9.1 |
| نگهدارنده | [] |
| ایمیل نگهدارنده | [] |
| نویسنده | e2b |
| ایمیل نویسنده | hello@e2b.dev |
| آدرس صفحه اصلی | https://e2b.dev/ |
| آدرس اینترنتی | https://pypi.org/project/e2b/ |
| مجوز | MIT |
<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" decoding="async" style="color:transparent;width:170px;height:18px" src="https://static.pepy.tech/personalized-badge/e2b?period=monthly&units=INTERNATIONAL_SYSTEM&left_color=BLACK&right_color=GREEN&left_text=PyPi%20Monthly%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) or [Python SDK](https://pypi.org/project/e2b).
## Run your first Sandbox
### 1. Install SDK
```
pip install e2b
```
### 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. Start a sandbox and run commands
```py
from e2b import Sandbox
with Sandbox.create() as sandbox:
result = sandbox.commands.run('echo "Hello from E2B!"')
print(result.stdout) # Hello from E2B!
```
### 4. Code execution with Code Interpreter
If you need [`run_code()`](https://e2b.dev/docs/code-interpreting), install the [Code Interpreter SDK](https://github.com/e2b-dev/code-interpreter):
```
pip install e2b-code-interpreter
```
```py
from e2b_code_interpreter import Sandbox
with Sandbox.create() as sandbox:
execution = sandbox.run_code("x = 1; x += 1; x")
print(execution.text) # outputs 2
```
### 5. Check docs
Visit [E2B documentation](https://e2b.dev/docs).
### 6. 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.
نیازمندی
| مقدار | نام |
|---|---|
| - | python-dateutil>=2.8.2 |
| - | wcmatch<11.0,>=10.1 |
| - | protobuf>=4.21.0 |
| - | httpcore<2.0.0,>=1.0.5 |
| - | httpx<1.0.0,>=0.27.0 |
| - | attrs>=23.2.0 |
| - | packaging>=24.1 |
| - | typing-extensions>=4.1.0 |
| - | dockerfile-parse<3.0.0,>=2.0.1 |
| - | rich>=14.0.0 |
زبان مورد نیاز
| مقدار | نام |
|---|---|
| <4.0,>=3.10 | Python |
نحوه نصب
نصب پکیج whl e2b-2.9.1:
pip install e2b-2.9.1.whl
نصب پکیج tar.gz e2b-2.9.1:
pip install e2b-2.9.1.tar.gz