e2b-code-interpreter 2.11.6__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.
@@ -1,6 +1,6 @@
1
1
  Metadata-Version: 2.4
2
2
  Name: e2b-code-interpreter
3
- Version: 2.11.6
3
+ Version: 2.11.7
4
4
  Summary: E2B Code Interpreter - Stateful code execution
5
5
  Author: e2b
6
6
  Author-email: e2b <hello@e2b.dev>
@@ -45,7 +45,7 @@ class OutputMessage:
45
45
 
46
46
  line: str
47
47
  """
48
- The output line.
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
- """List of strings printed to stdout by prints, subprocesses, etc."""
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
- """List of strings printed to stderr by prints, subprocesses, etc."""
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,
@@ -1,6 +1,6 @@
1
1
  [project]
2
2
  name = "e2b-code-interpreter"
3
- version = "2.11.6"
3
+ version = "2.11.7"
4
4
  description = "E2B Code Interpreter - Stateful code execution"
5
5
  license = "MIT"
6
6
  readme = "README.md"
@@ -1,6 +1,6 @@
1
1
  [project]
2
2
  name = "e2b-code-interpreter"
3
- version = "2.11.6"
3
+ version = "2.11.7"
4
4
  description = "E2B Code Interpreter - Stateful code execution"
5
5
  authors = [{ name = "e2b", email = "hello@e2b.dev" }]
6
6
  license = "MIT"