e2b-code-interpreter 2.0.0__tar.gz → 2.1.0__tar.gz
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- {e2b_code_interpreter-2.0.0 → e2b_code_interpreter-2.1.0}/PKG-INFO +2 -2
- {e2b_code_interpreter-2.0.0 → e2b_code_interpreter-2.1.0}/e2b_code_interpreter/code_interpreter_async.py +0 -1
- {e2b_code_interpreter-2.0.0 → e2b_code_interpreter-2.1.0}/e2b_code_interpreter/exceptions.py +2 -2
- {e2b_code_interpreter-2.0.0 → e2b_code_interpreter-2.1.0}/pyproject.toml +8 -3
- {e2b_code_interpreter-2.0.0 → e2b_code_interpreter-2.1.0}/LICENSE +0 -0
- {e2b_code_interpreter-2.0.0 → e2b_code_interpreter-2.1.0}/README.md +0 -0
- {e2b_code_interpreter-2.0.0 → e2b_code_interpreter-2.1.0}/e2b_code_interpreter/__init__.py +0 -0
- {e2b_code_interpreter-2.0.0 → e2b_code_interpreter-2.1.0}/e2b_code_interpreter/charts.py +0 -0
- {e2b_code_interpreter-2.0.0 → e2b_code_interpreter-2.1.0}/e2b_code_interpreter/code_interpreter_sync.py +0 -0
- {e2b_code_interpreter-2.0.0 → e2b_code_interpreter-2.1.0}/e2b_code_interpreter/constants.py +0 -0
- {e2b_code_interpreter-2.0.0 → e2b_code_interpreter-2.1.0}/e2b_code_interpreter/models.py +0 -0
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
Metadata-Version: 2.1
|
|
2
2
|
Name: e2b-code-interpreter
|
|
3
|
-
Version: 2.
|
|
3
|
+
Version: 2.1.0
|
|
4
4
|
Summary: E2B Code Interpreter - Stateful code execution
|
|
5
5
|
Home-page: https://e2b.dev/
|
|
6
6
|
License: MIT
|
|
@@ -14,7 +14,7 @@ Classifier: Programming Language :: Python :: 3.10
|
|
|
14
14
|
Classifier: Programming Language :: Python :: 3.11
|
|
15
15
|
Classifier: Programming Language :: Python :: 3.12
|
|
16
16
|
Requires-Dist: attrs (>=21.3.0)
|
|
17
|
-
Requires-Dist: e2b (>=2.
|
|
17
|
+
Requires-Dist: e2b (>=2.2.1,<3.0.0)
|
|
18
18
|
Requires-Dist: httpx (>=0.20.0,<1.0.0)
|
|
19
19
|
Project-URL: Bug Tracker, https://github.com/e2b-dev/code-interpreter/issues
|
|
20
20
|
Project-URL: Repository, https://github.com/e2b-dev/code-interpreter/tree/main/python
|
|
@@ -204,7 +204,6 @@ class AsyncSandbox(BaseAsyncSandbox):
|
|
|
204
204
|
headers={"X-Access-Token": self._envd_access_token},
|
|
205
205
|
timeout=(request_timeout, timeout, request_timeout, request_timeout),
|
|
206
206
|
) as response:
|
|
207
|
-
|
|
208
207
|
err = await aextract_exception(response)
|
|
209
208
|
if err:
|
|
210
209
|
raise err
|
{e2b_code_interpreter-2.0.0 → e2b_code_interpreter-2.1.0}/e2b_code_interpreter/exceptions.py
RENAMED
|
@@ -3,11 +3,11 @@ from e2b import TimeoutException
|
|
|
3
3
|
|
|
4
4
|
def format_request_timeout_error() -> Exception:
|
|
5
5
|
return TimeoutException(
|
|
6
|
-
|
|
6
|
+
"Request timed out — the 'request_timeout' option can be used to increase this timeout",
|
|
7
7
|
)
|
|
8
8
|
|
|
9
9
|
|
|
10
10
|
def format_execution_timeout_error() -> Exception:
|
|
11
11
|
return TimeoutException(
|
|
12
|
-
|
|
12
|
+
"Execution timed out — the 'timeout' option can be used to increase this timeout",
|
|
13
13
|
)
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
[tool.poetry]
|
|
2
2
|
name = "e2b-code-interpreter"
|
|
3
|
-
version = "2.
|
|
3
|
+
version = "2.1.0"
|
|
4
4
|
description = "E2B Code Interpreter - Stateful code execution"
|
|
5
5
|
authors = ["e2b <hello@e2b.dev>"]
|
|
6
6
|
license = "MIT"
|
|
@@ -14,7 +14,7 @@ python = "^3.9"
|
|
|
14
14
|
|
|
15
15
|
httpx = ">=0.20.0, <1.0.0"
|
|
16
16
|
attrs = ">=21.3.0"
|
|
17
|
-
e2b = "^2.
|
|
17
|
+
e2b = "^2.2.1"
|
|
18
18
|
|
|
19
19
|
[tool.poetry.group.dev.dependencies]
|
|
20
20
|
pytest = "^7.4.0"
|
|
@@ -22,8 +22,10 @@ python-dotenv = "^1.0.0"
|
|
|
22
22
|
pytest-dotenv = "^0.5.2"
|
|
23
23
|
pytest-asyncio = "^0.23.7"
|
|
24
24
|
pytest-xdist = "^3.6.1"
|
|
25
|
-
black = "23.12.1"
|
|
26
25
|
pydoc-markdown = "^4.8.2"
|
|
26
|
+
matplotlib = "^3.8.0"
|
|
27
|
+
ruff = "^0.11.12"
|
|
28
|
+
|
|
27
29
|
|
|
28
30
|
[build-system]
|
|
29
31
|
requires = ["poetry-core"]
|
|
@@ -31,3 +33,6 @@ build-backend = "poetry.core.masonry.api"
|
|
|
31
33
|
|
|
32
34
|
[tool.poetry.urls]
|
|
33
35
|
"Bug Tracker" = "https://github.com/e2b-dev/code-interpreter/issues"
|
|
36
|
+
|
|
37
|
+
[tool.ruff.lint]
|
|
38
|
+
ignore = ["F401", "F403"]
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|