e2b-code-interpreter 2.11.5__tar.gz → 2.11.7__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.11.5 → e2b_code_interpreter-2.11.7}/PKG-INFO +1 -1
- {e2b_code_interpreter-2.11.5 → e2b_code_interpreter-2.11.7}/e2b_code_interpreter/models.py +15 -3
- {e2b_code_interpreter-2.11.5 → e2b_code_interpreter-2.11.7}/pyproject.toml +1 -1
- {e2b_code_interpreter-2.11.5 → e2b_code_interpreter-2.11.7}/pyproject.toml.orig +1 -1
- {e2b_code_interpreter-2.11.5 → e2b_code_interpreter-2.11.7}/README.md +0 -0
- {e2b_code_interpreter-2.11.5 → e2b_code_interpreter-2.11.7}/e2b_code_interpreter/__init__.py +0 -0
- {e2b_code_interpreter-2.11.5 → e2b_code_interpreter-2.11.7}/e2b_code_interpreter/charts.py +0 -0
- {e2b_code_interpreter-2.11.5 → e2b_code_interpreter-2.11.7}/e2b_code_interpreter/client.py +0 -0
- {e2b_code_interpreter-2.11.5 → e2b_code_interpreter-2.11.7}/e2b_code_interpreter/code_interpreter_async.py +0 -0
- {e2b_code_interpreter-2.11.5 → e2b_code_interpreter-2.11.7}/e2b_code_interpreter/code_interpreter_sync.py +0 -0
- {e2b_code_interpreter-2.11.5 → e2b_code_interpreter-2.11.7}/e2b_code_interpreter/constants.py +0 -0
- {e2b_code_interpreter-2.11.5 → e2b_code_interpreter-2.11.7}/e2b_code_interpreter/exceptions.py +0 -0
|
@@ -45,7 +45,7 @@ class OutputMessage:
|
|
|
45
45
|
|
|
46
46
|
line: str
|
|
47
47
|
"""
|
|
48
|
-
|
|
48
|
+
Raw output chunk, not necessarily one line. Newlines are preserved.
|
|
49
49
|
"""
|
|
50
50
|
timestamp: int
|
|
51
51
|
"""
|
|
@@ -114,17 +114,29 @@ class Result:
|
|
|
114
114
|
return getattr(self, item)
|
|
115
115
|
|
|
116
116
|
text: Optional[str] = None
|
|
117
|
+
"""Text representation of the result."""
|
|
117
118
|
html: Optional[str] = None
|
|
119
|
+
"""HTML representation of the data."""
|
|
118
120
|
markdown: Optional[str] = None
|
|
121
|
+
"""Markdown representation of the data."""
|
|
119
122
|
svg: Optional[str] = None
|
|
123
|
+
"""SVG representation of the data."""
|
|
120
124
|
png: Optional[str] = None
|
|
125
|
+
"""Base64-encoded PNG representation of the data."""
|
|
121
126
|
jpeg: Optional[str] = None
|
|
127
|
+
"""Base64-encoded JPEG representation of the data."""
|
|
122
128
|
pdf: Optional[str] = None
|
|
129
|
+
"""Base64-encoded PDF representation of the data."""
|
|
123
130
|
latex: Optional[str] = None
|
|
131
|
+
"""LaTeX representation of the data."""
|
|
124
132
|
json: Optional[dict] = None
|
|
133
|
+
"""JSON representation of the data."""
|
|
125
134
|
javascript: Optional[str] = None
|
|
135
|
+
"""JavaScript representation of the data."""
|
|
126
136
|
data: Optional[dict] = None
|
|
137
|
+
"""DataFrame data as a dictionary."""
|
|
127
138
|
chart: Optional[Chart] = None
|
|
139
|
+
"""Chart data as a ``Chart`` object."""
|
|
128
140
|
is_main_result: bool = False
|
|
129
141
|
"""Whether this data is the result of the cell. Data can be produced by display calls of which can be multiple in a cell."""
|
|
130
142
|
extra: Optional[dict] = None
|
|
@@ -301,9 +313,9 @@ class Logs:
|
|
|
301
313
|
"""
|
|
302
314
|
|
|
303
315
|
stdout: List[str] = field(default_factory=list)
|
|
304
|
-
"""
|
|
316
|
+
"""Raw stdout chunks, not lines. Newlines are preserved; use ``''.join(stdout)`` to rebuild the output."""
|
|
305
317
|
stderr: List[str] = field(default_factory=list)
|
|
306
|
-
"""
|
|
318
|
+
"""Raw stderr chunks, not lines. Newlines are preserved; use ``''.join(stderr)`` to rebuild the output."""
|
|
307
319
|
|
|
308
320
|
def __init__(
|
|
309
321
|
self,
|
|
File without changes
|
{e2b_code_interpreter-2.11.5 → e2b_code_interpreter-2.11.7}/e2b_code_interpreter/__init__.py
RENAMED
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
{e2b_code_interpreter-2.11.5 → e2b_code_interpreter-2.11.7}/e2b_code_interpreter/constants.py
RENAMED
|
File without changes
|
{e2b_code_interpreter-2.11.5 → e2b_code_interpreter-2.11.7}/e2b_code_interpreter/exceptions.py
RENAMED
|
File without changes
|