e2b-code-interpreter 1.0.1__tar.gz → 1.0.3__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.
@@ -1,6 +1,6 @@
1
1
  Metadata-Version: 2.1
2
2
  Name: e2b-code-interpreter
3
- Version: 1.0.1
3
+ Version: 1.0.3
4
4
  Summary: E2B Code Interpreter - Stateful code execution
5
5
  Home-page: https://e2b.dev/
6
6
  License: Apache-2.0
@@ -15,10 +15,10 @@ Classifier: Programming Language :: Python :: 3.10
15
15
  Classifier: Programming Language :: Python :: 3.11
16
16
  Classifier: Programming Language :: Python :: 3.12
17
17
  Requires-Dist: attrs (>=21.3.0)
18
- Requires-Dist: e2b (>=1.0.0,<2.0.0)
19
- Requires-Dist: httpx (>=0.20.0,<0.28.0)
18
+ Requires-Dist: e2b (>=1.0.4,<2.0.0)
19
+ Requires-Dist: httpx (>=0.20.0,<1.0.0)
20
20
  Project-URL: Bug Tracker, https://github.com/e2b-dev/code-interpreter/issues
21
- Project-URL: Repository, https://github.com/e2b-dev/e2b-code-interpreter/tree/python
21
+ Project-URL: Repository, https://github.com/e2b-dev/code-interpreter/tree/main/python
22
22
  Description-Content-Type: text/markdown
23
23
 
24
24
  <p align="center">
@@ -1,5 +1,5 @@
1
1
  import enum
2
- from typing import List, Tuple, Any, Optional, Union
2
+ from typing import Any, List, Tuple, Optional, Union
3
3
 
4
4
 
5
5
  class ChartType(str, enum.Enum):
@@ -165,6 +165,7 @@ class BoxAndWhiskerData:
165
165
  median: float
166
166
  third_quartile: float
167
167
  max: float
168
+ outliers: List[float]
168
169
 
169
170
  def __init__(self, **kwargs):
170
171
  self.label = kwargs["label"]
@@ -173,6 +174,7 @@ class BoxAndWhiskerData:
173
174
  self.median = kwargs["median"]
174
175
  self.third_quartile = kwargs["third_quartile"]
175
176
  self.max = kwargs["max"]
177
+ self.outliers = kwargs.get("outliers") or []
176
178
 
177
179
 
178
180
  class BoxAndWhiskerChart(Chart2D):
@@ -1,28 +1,29 @@
1
1
  [tool.poetry]
2
2
  name = "e2b-code-interpreter"
3
- version = "1.0.1"
3
+ version = "1.0.3"
4
4
  description = "E2B Code Interpreter - Stateful code execution"
5
5
  authors = ["e2b <hello@e2b.dev>"]
6
6
  license = "Apache-2.0"
7
7
  readme = "README.md"
8
8
  homepage = "https://e2b.dev/"
9
- repository = "https://github.com/e2b-dev/e2b-code-interpreter/tree/python"
9
+ repository = "https://github.com/e2b-dev/code-interpreter/tree/main/python"
10
10
  packages = [{ include = "e2b_code_interpreter" }]
11
11
 
12
12
  [tool.poetry.dependencies]
13
13
  python = "^3.8"
14
14
 
15
- httpx = ">=0.20.0,<0.28.0"
15
+ httpx = ">=0.20.0, <1.0.0"
16
16
  attrs = ">=21.3.0"
17
- e2b = "^1.0.0"
17
+ e2b = "^1.0.4"
18
18
 
19
19
  [tool.poetry.group.dev.dependencies]
20
- black = "^24.3.0"
21
20
  pytest = "^7.4.0"
22
21
  python-dotenv = "^1.0.0"
23
22
  pytest-dotenv = "^0.5.2"
24
23
  pytest-asyncio = "^0.23.7"
25
24
  pytest-xdist = "^3.6.1"
25
+ black = "23.12.1"
26
+ pydoc-markdown = "^4.8.2"
26
27
 
27
28
  [build-system]
28
29
  requires = ["poetry-core"]