e2b-code-interpreter 2.10.0__tar.gz → 2.10.1__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.10.0 → e2b_code_interpreter-2.10.1}/PKG-INFO +2 -2
- {e2b_code_interpreter-2.10.0 → e2b_code_interpreter-2.10.1}/e2b_code_interpreter/code_interpreter_async.py +2 -2
- {e2b_code_interpreter-2.10.0 → e2b_code_interpreter-2.10.1}/e2b_code_interpreter/code_interpreter_sync.py +4 -2
- {e2b_code_interpreter-2.10.0 → e2b_code_interpreter-2.10.1}/pyproject.toml +2 -2
- {e2b_code_interpreter-2.10.0 → e2b_code_interpreter-2.10.1}/README.md +0 -0
- {e2b_code_interpreter-2.10.0 → e2b_code_interpreter-2.10.1}/e2b_code_interpreter/__init__.py +0 -0
- {e2b_code_interpreter-2.10.0 → e2b_code_interpreter-2.10.1}/e2b_code_interpreter/charts.py +0 -0
- {e2b_code_interpreter-2.10.0 → e2b_code_interpreter-2.10.1}/e2b_code_interpreter/client.py +0 -0
- {e2b_code_interpreter-2.10.0 → e2b_code_interpreter-2.10.1}/e2b_code_interpreter/constants.py +0 -0
- {e2b_code_interpreter-2.10.0 → e2b_code_interpreter-2.10.1}/e2b_code_interpreter/exceptions.py +0 -0
- {e2b_code_interpreter-2.10.0 → e2b_code_interpreter-2.10.1}/e2b_code_interpreter/models.py +0 -0
|
@@ -1,13 +1,13 @@
|
|
|
1
1
|
Metadata-Version: 2.4
|
|
2
2
|
Name: e2b-code-interpreter
|
|
3
|
-
Version: 2.10.
|
|
3
|
+
Version: 2.10.1
|
|
4
4
|
Summary: E2B Code Interpreter - Stateful code execution
|
|
5
5
|
Author: e2b
|
|
6
6
|
Author-email: e2b <hello@e2b.dev>
|
|
7
7
|
License-Expression: MIT
|
|
8
8
|
Requires-Dist: httpx>=0.20.0,<1.0.0
|
|
9
9
|
Requires-Dist: attrs>=21.3.0
|
|
10
|
-
Requires-Dist: e2b>=2.
|
|
10
|
+
Requires-Dist: e2b>=2.52.0,<3.0.0
|
|
11
11
|
Requires-Python: >=3.10
|
|
12
12
|
Project-URL: Homepage, https://e2b.dev/?utm_source=pypi&utm_medium=referral&utm_campaign=package_homepage&utm_content=e2b-code-interpreter
|
|
13
13
|
Project-URL: Repository, https://github.com/e2b-dev/e2b/tree/main/packages/code-interpreter-python
|
|
@@ -85,7 +85,7 @@ class AsyncSandbox(BaseAsyncSandbox):
|
|
|
85
85
|
# TODO: Remove later
|
|
86
86
|
# Use a dedicated HTTP/1.1 transport for Jupyter requests.
|
|
87
87
|
#
|
|
88
|
-
# The base SDK's shared transport now defaults to
|
|
88
|
+
# The base SDK's shared transport now defaults to HTTP/2. With
|
|
89
89
|
# HTTP/2, multiple requests are multiplexed over a single TCP
|
|
90
90
|
# connection, so when a client cancels a request (e.g. the caller
|
|
91
91
|
# disconnects from the streaming `/execute` endpoint) the server
|
|
@@ -98,7 +98,7 @@ class AsyncSandbox(BaseAsyncSandbox):
|
|
|
98
98
|
# cancelled reliably. The helper also caches the transport
|
|
99
99
|
# per-event-loop for async.
|
|
100
100
|
return AsyncClient(
|
|
101
|
-
transport=get_transport(self.connection_config,
|
|
101
|
+
transport=get_transport(self.connection_config, http_version="1.1"),
|
|
102
102
|
)
|
|
103
103
|
|
|
104
104
|
async def _handle_connection_error(self, err: Exception) -> None:
|
|
@@ -82,7 +82,7 @@ class Sandbox(BaseSandbox):
|
|
|
82
82
|
# TODO: Remove later
|
|
83
83
|
# Use a dedicated HTTP/1.1 transport for Jupyter requests.
|
|
84
84
|
#
|
|
85
|
-
# The base SDK's shared transport now defaults to
|
|
85
|
+
# The base SDK's shared transport now defaults to HTTP/2. With
|
|
86
86
|
# HTTP/2, multiple requests are multiplexed over a single TCP
|
|
87
87
|
# connection, so when a client cancels a request (e.g. the caller
|
|
88
88
|
# disconnects from the streaming `/execute` endpoint) the server
|
|
@@ -93,7 +93,9 @@ class Sandbox(BaseSandbox):
|
|
|
93
93
|
# connection and request, so client disconnects propagate to the
|
|
94
94
|
# server as a TCP close and long-running executions can be
|
|
95
95
|
# cancelled reliably.
|
|
96
|
-
return Client(
|
|
96
|
+
return Client(
|
|
97
|
+
transport=get_transport(self.connection_config, http_version="1.1")
|
|
98
|
+
)
|
|
97
99
|
|
|
98
100
|
def _handle_connection_error(self, err: Exception) -> None:
|
|
99
101
|
"""
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
[project]
|
|
2
2
|
name = "e2b-code-interpreter"
|
|
3
|
-
version = "2.10.
|
|
3
|
+
version = "2.10.1"
|
|
4
4
|
description = "E2B Code Interpreter - Stateful code execution"
|
|
5
5
|
authors = [{ name = "e2b", email = "hello@e2b.dev" }]
|
|
6
6
|
license = "MIT"
|
|
@@ -9,7 +9,7 @@ requires-python = ">=3.10"
|
|
|
9
9
|
dependencies = [
|
|
10
10
|
"httpx>=0.20.0,<1.0.0",
|
|
11
11
|
"attrs>=21.3.0",
|
|
12
|
-
"e2b>=2.
|
|
12
|
+
"e2b>=2.52.0,<3.0.0",
|
|
13
13
|
]
|
|
14
14
|
|
|
15
15
|
[project.urls]
|
|
File without changes
|
{e2b_code_interpreter-2.10.0 → e2b_code_interpreter-2.10.1}/e2b_code_interpreter/__init__.py
RENAMED
|
File without changes
|
|
File without changes
|
|
File without changes
|
{e2b_code_interpreter-2.10.0 → e2b_code_interpreter-2.10.1}/e2b_code_interpreter/constants.py
RENAMED
|
File without changes
|
{e2b_code_interpreter-2.10.0 → e2b_code_interpreter-2.10.1}/e2b_code_interpreter/exceptions.py
RENAMED
|
File without changes
|
|
File without changes
|