scalebox-sdk 0.1.13__py3-none-any.whl → 0.1.14__py3-none-any.whl
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.
- scalebox/__init__.py +1 -1
- scalebox/api/__init__.py +3 -3
- scalebox/api/client/__init__.py +1 -1
- scalebox/code_interpreter/code_interpreter_async.py +3 -3
- scalebox/code_interpreter/code_interpreter_sync.py +2 -2
- scalebox/csx_desktop/main.py +4 -4
- scalebox/test/code_interpreter_test.py +34 -34
- scalebox/test/code_interpreter_test_sync.py +34 -34
- scalebox/test/testcomputeuse.py +243 -245
- scalebox/version.py +2 -2
- {scalebox_sdk-0.1.13.dist-info → scalebox_sdk-0.1.14.dist-info}/METADATA +2 -2
- {scalebox_sdk-0.1.13.dist-info → scalebox_sdk-0.1.14.dist-info}/RECORD +16 -19
- scalebox/test/test_code_interpreter_e2basync_comprehensive.py +0 -2655
- scalebox/test/test_code_interpreter_e2bsync_comprehensive.py +0 -3416
- scalebox/test/test_e2b_first.py +0 -11
- {scalebox_sdk-0.1.13.dist-info → scalebox_sdk-0.1.14.dist-info}/WHEEL +0 -0
- {scalebox_sdk-0.1.13.dist-info → scalebox_sdk-0.1.14.dist-info}/entry_points.txt +0 -0
- {scalebox_sdk-0.1.13.dist-info → scalebox_sdk-0.1.14.dist-info}/licenses/LICENSE +0 -0
- {scalebox_sdk-0.1.13.dist-info → scalebox_sdk-0.1.14.dist-info}/top_level.txt +0 -0
scalebox/test/testcomputeuse.py
CHANGED
|
@@ -1,245 +1,243 @@
|
|
|
1
|
-
import time
|
|
2
|
-
|
|
3
|
-
from scalebox.csx_desktop.main import Sandbox
|
|
4
|
-
|
|
5
|
-
|
|
6
|
-
def desktop_automation_demo():
|
|
7
|
-
"""桌面自动化功能演示"""
|
|
8
|
-
|
|
9
|
-
# 1. 创建桌面沙箱实例
|
|
10
|
-
print("正在启动桌面沙箱...")
|
|
11
|
-
desktop = Sandbox
|
|
12
|
-
print(f"沙箱已启动,ID: {desktop.sandbox_id}")
|
|
13
|
-
|
|
14
|
-
# 2. 启动VNC流以便远程查看桌面
|
|
15
|
-
print("启动VNC远程桌面...")
|
|
16
|
-
time.sleep(5)
|
|
17
|
-
desktop.stream.start()
|
|
18
|
-
vnc_url = desktop.stream.get_url(auto_connect=True)
|
|
19
|
-
print(f"VNC访问URL: {vnc_url}")
|
|
20
|
-
# print(f"VNC认证密钥: {desktop.stream.get_auth_key()}")
|
|
21
|
-
|
|
22
|
-
# 等待系统完全启动
|
|
23
|
-
time.sleep(3)
|
|
24
|
-
|
|
25
|
-
# 3. 基本鼠标操作示例
|
|
26
|
-
|
|
27
|
-
|
|
28
|
-
|
|
29
|
-
|
|
30
|
-
|
|
31
|
-
|
|
32
|
-
|
|
33
|
-
|
|
34
|
-
|
|
35
|
-
|
|
36
|
-
|
|
37
|
-
|
|
38
|
-
|
|
39
|
-
|
|
40
|
-
|
|
41
|
-
|
|
42
|
-
|
|
43
|
-
|
|
44
|
-
|
|
45
|
-
|
|
46
|
-
|
|
47
|
-
|
|
48
|
-
|
|
49
|
-
|
|
50
|
-
|
|
51
|
-
|
|
52
|
-
|
|
53
|
-
|
|
54
|
-
#
|
|
55
|
-
|
|
56
|
-
|
|
57
|
-
|
|
58
|
-
|
|
59
|
-
|
|
60
|
-
|
|
61
|
-
|
|
62
|
-
|
|
63
|
-
|
|
64
|
-
|
|
65
|
-
|
|
66
|
-
|
|
67
|
-
|
|
68
|
-
|
|
69
|
-
|
|
70
|
-
|
|
71
|
-
|
|
72
|
-
|
|
73
|
-
|
|
74
|
-
|
|
75
|
-
|
|
76
|
-
|
|
77
|
-
|
|
78
|
-
|
|
79
|
-
|
|
80
|
-
|
|
81
|
-
|
|
82
|
-
|
|
83
|
-
|
|
84
|
-
|
|
85
|
-
|
|
86
|
-
|
|
87
|
-
|
|
88
|
-
|
|
89
|
-
|
|
90
|
-
|
|
91
|
-
|
|
92
|
-
|
|
93
|
-
|
|
94
|
-
|
|
95
|
-
|
|
96
|
-
|
|
97
|
-
|
|
98
|
-
|
|
99
|
-
|
|
100
|
-
|
|
101
|
-
desktop.press("
|
|
102
|
-
|
|
103
|
-
|
|
104
|
-
|
|
105
|
-
|
|
106
|
-
|
|
107
|
-
|
|
108
|
-
|
|
109
|
-
|
|
110
|
-
|
|
111
|
-
|
|
112
|
-
|
|
113
|
-
|
|
114
|
-
|
|
115
|
-
|
|
116
|
-
|
|
117
|
-
)
|
|
118
|
-
|
|
119
|
-
|
|
120
|
-
|
|
121
|
-
|
|
122
|
-
#
|
|
123
|
-
|
|
124
|
-
#
|
|
125
|
-
|
|
126
|
-
|
|
127
|
-
|
|
128
|
-
|
|
129
|
-
|
|
130
|
-
|
|
131
|
-
|
|
132
|
-
|
|
133
|
-
#
|
|
134
|
-
#
|
|
135
|
-
#
|
|
136
|
-
|
|
137
|
-
#
|
|
138
|
-
|
|
139
|
-
|
|
140
|
-
|
|
141
|
-
|
|
142
|
-
|
|
143
|
-
|
|
144
|
-
|
|
145
|
-
|
|
146
|
-
|
|
147
|
-
|
|
148
|
-
|
|
149
|
-
|
|
150
|
-
|
|
151
|
-
|
|
152
|
-
|
|
153
|
-
print("
|
|
154
|
-
|
|
155
|
-
|
|
156
|
-
|
|
157
|
-
|
|
158
|
-
""
|
|
159
|
-
|
|
160
|
-
|
|
161
|
-
desktop.
|
|
162
|
-
|
|
163
|
-
|
|
164
|
-
|
|
165
|
-
|
|
166
|
-
#
|
|
167
|
-
|
|
168
|
-
|
|
169
|
-
|
|
170
|
-
|
|
171
|
-
|
|
172
|
-
|
|
173
|
-
|
|
174
|
-
|
|
175
|
-
|
|
176
|
-
|
|
177
|
-
|
|
178
|
-
|
|
179
|
-
|
|
180
|
-
|
|
181
|
-
|
|
182
|
-
|
|
183
|
-
|
|
184
|
-
|
|
185
|
-
#
|
|
186
|
-
#
|
|
187
|
-
#
|
|
188
|
-
#
|
|
189
|
-
#
|
|
190
|
-
#
|
|
191
|
-
# desktop.
|
|
192
|
-
#
|
|
193
|
-
# desktop.press("
|
|
194
|
-
#
|
|
195
|
-
# desktop.
|
|
196
|
-
#
|
|
197
|
-
#
|
|
198
|
-
#
|
|
199
|
-
#
|
|
200
|
-
#
|
|
201
|
-
#
|
|
202
|
-
#
|
|
203
|
-
#
|
|
204
|
-
#
|
|
205
|
-
#
|
|
206
|
-
#
|
|
207
|
-
#
|
|
208
|
-
#
|
|
209
|
-
# desktop.
|
|
210
|
-
# desktop.
|
|
211
|
-
#
|
|
212
|
-
#
|
|
213
|
-
#
|
|
214
|
-
# #
|
|
215
|
-
#
|
|
216
|
-
#
|
|
217
|
-
#
|
|
218
|
-
#
|
|
219
|
-
#
|
|
220
|
-
#
|
|
221
|
-
#
|
|
222
|
-
#
|
|
223
|
-
#
|
|
224
|
-
# #
|
|
225
|
-
#
|
|
226
|
-
# desktop.write("
|
|
227
|
-
# desktop.press("enter")
|
|
228
|
-
#
|
|
229
|
-
#
|
|
230
|
-
#
|
|
231
|
-
# #
|
|
232
|
-
# desktop.
|
|
233
|
-
# desktop.press("
|
|
234
|
-
|
|
235
|
-
|
|
236
|
-
|
|
237
|
-
|
|
238
|
-
|
|
239
|
-
|
|
240
|
-
|
|
241
|
-
|
|
242
|
-
|
|
243
|
-
|
|
244
|
-
|
|
245
|
-
traceback.print_exc()
|
|
1
|
+
import time
|
|
2
|
+
|
|
3
|
+
from scalebox.csx_desktop.main import Sandbox
|
|
4
|
+
|
|
5
|
+
|
|
6
|
+
def desktop_automation_demo():
|
|
7
|
+
"""桌面自动化功能演示"""
|
|
8
|
+
|
|
9
|
+
# 1. 创建桌面沙箱实例
|
|
10
|
+
print("正在启动桌面沙箱...")
|
|
11
|
+
desktop = Sandbox(timeout=3600, template="browser-use")
|
|
12
|
+
# print(f"沙箱已启动,ID: {desktop.sandbox_id}")
|
|
13
|
+
|
|
14
|
+
# 2. 启动VNC流以便远程查看桌面
|
|
15
|
+
print("启动VNC远程桌面...")
|
|
16
|
+
time.sleep(5)
|
|
17
|
+
desktop.stream.start()
|
|
18
|
+
vnc_url = desktop.stream.get_url(auto_connect=True)
|
|
19
|
+
print(f"VNC访问URL: {vnc_url}")
|
|
20
|
+
# print(f"VNC认证密钥: {desktop.stream.get_auth_key()}")
|
|
21
|
+
|
|
22
|
+
# 等待系统完全启动
|
|
23
|
+
time.sleep(3)
|
|
24
|
+
|
|
25
|
+
# 3. 基本鼠标操作示例
|
|
26
|
+
print("执行鼠标操作...")
|
|
27
|
+
|
|
28
|
+
# 获取屏幕尺寸
|
|
29
|
+
screen_width, screen_height = desktop.get_screen_size()
|
|
30
|
+
print(f"屏幕尺寸: {screen_width}x{screen_height}")
|
|
31
|
+
|
|
32
|
+
# 移动鼠标到屏幕中心
|
|
33
|
+
center_x, center_y = screen_width // 2, screen_height // 2
|
|
34
|
+
desktop.move_mouse(center_x, center_y)
|
|
35
|
+
|
|
36
|
+
# 获取当前光标位置
|
|
37
|
+
cursor_x, cursor_y = desktop.get_cursor_position()
|
|
38
|
+
print(f"光标位置: ({cursor_x}, {cursor_y})")
|
|
39
|
+
|
|
40
|
+
# 左键点击
|
|
41
|
+
desktop.left_click(center_x, center_y)
|
|
42
|
+
|
|
43
|
+
# 右键点击
|
|
44
|
+
desktop.right_click(center_x + 100, center_y)
|
|
45
|
+
|
|
46
|
+
# 双击
|
|
47
|
+
desktop.double_click(center_x, center_y + 100)
|
|
48
|
+
|
|
49
|
+
# 鼠标拖动示例
|
|
50
|
+
desktop.drag((center_x, center_y), (center_x + 200, center_y))
|
|
51
|
+
|
|
52
|
+
# 鼠标滚动
|
|
53
|
+
desktop.scroll("down", 2) # 向下滚动2次
|
|
54
|
+
desktop.scroll("up", 1) # 向上滚动1次
|
|
55
|
+
|
|
56
|
+
# 4. 键盘输入示例
|
|
57
|
+
print("执行键盘操作...")
|
|
58
|
+
|
|
59
|
+
# 打开终端
|
|
60
|
+
desktop.launch("xfce4-terminal") # 或 xfce4-terminal
|
|
61
|
+
time.sleep(2)
|
|
62
|
+
|
|
63
|
+
# 获取当前窗口ID
|
|
64
|
+
current_window = desktop.get_current_window_id()
|
|
65
|
+
print(f"当前窗口ID: {current_window}")
|
|
66
|
+
|
|
67
|
+
# 输入命令
|
|
68
|
+
desktop.write("echo 'Hello from SBX Sandbox!'")
|
|
69
|
+
desktop.press("enter")
|
|
70
|
+
|
|
71
|
+
# 特殊按键
|
|
72
|
+
desktop.press("ctrl+shift+t") # 新建标签页
|
|
73
|
+
time.sleep(1)
|
|
74
|
+
|
|
75
|
+
desktop.write("ls -la")
|
|
76
|
+
desktop.press("enter")
|
|
77
|
+
|
|
78
|
+
# 5. 窗口管理示例
|
|
79
|
+
print("执行窗口管理操作...")
|
|
80
|
+
|
|
81
|
+
# 获取所有可见窗口
|
|
82
|
+
terminal_windows = desktop.get_application_windows("xfce4-terminal")
|
|
83
|
+
print(f"终端窗口: {terminal_windows}")
|
|
84
|
+
|
|
85
|
+
if terminal_windows:
|
|
86
|
+
# 获取窗口标题
|
|
87
|
+
window_title = desktop.get_window_title(terminal_windows[0])
|
|
88
|
+
print(f"窗口标题: {window_title}")
|
|
89
|
+
|
|
90
|
+
# 6. 启动应用程序示例
|
|
91
|
+
print("启动其他应用程序...")
|
|
92
|
+
|
|
93
|
+
# 使用gtk-launch启动应用程序
|
|
94
|
+
try:
|
|
95
|
+
desktop.launch("firefox-esr") # 启动Firefox浏览器
|
|
96
|
+
time.sleep(3)
|
|
97
|
+
|
|
98
|
+
# 在Firefox中输入URL
|
|
99
|
+
desktop.press("ctrl+l") # 聚焦地址栏
|
|
100
|
+
desktop.write("https://www.google.com")
|
|
101
|
+
desktop.press("enter")
|
|
102
|
+
|
|
103
|
+
except Exception as e:
|
|
104
|
+
print(f"启动Firefox失败: {e}")
|
|
105
|
+
|
|
106
|
+
# 7. 文件操作示例 - 创建并打开文件
|
|
107
|
+
print("执行文件操作...")
|
|
108
|
+
|
|
109
|
+
# 创建测试文件
|
|
110
|
+
test_content = """Hello World!
|
|
111
|
+
This is a test file created from Scalebox Sandbox SDK.
|
|
112
|
+
Current time: {time}
|
|
113
|
+
""".format(
|
|
114
|
+
time=time.ctime()
|
|
115
|
+
)
|
|
116
|
+
|
|
117
|
+
desktop.files.write("/tmp/test_file.txt", test_content)
|
|
118
|
+
print("已创建测试文件")
|
|
119
|
+
|
|
120
|
+
# 使用默认程序打开文件
|
|
121
|
+
# desktop.open("/tmp/test_file.txt")
|
|
122
|
+
# time.sleep(2)
|
|
123
|
+
|
|
124
|
+
# 8. 截图功能示例
|
|
125
|
+
print("执行截图操作...")
|
|
126
|
+
|
|
127
|
+
# 截取屏幕并保存为bytes
|
|
128
|
+
screenshot_bytes = desktop.screenshot(format="bytes")
|
|
129
|
+
print(f"截图大小: {len(screenshot_bytes)} 字节")
|
|
130
|
+
|
|
131
|
+
# 也可以获取截图流
|
|
132
|
+
# screenshot_stream = desktop.screenshot(format="stream")
|
|
133
|
+
# for chunk in screenshot_stream:
|
|
134
|
+
# # 处理截图数据
|
|
135
|
+
# pass
|
|
136
|
+
|
|
137
|
+
# 9. 复杂自动化脚本示例
|
|
138
|
+
print("执行复杂自动化任务...")
|
|
139
|
+
|
|
140
|
+
# 返回终端窗口
|
|
141
|
+
terminal_windows = desktop.get_application_windows("xfce4-terminal")
|
|
142
|
+
if terminal_windows:
|
|
143
|
+
# 激活终端窗口
|
|
144
|
+
desktop.commands.run(
|
|
145
|
+
f"DISPLAY={desktop._display} xdotool windowactivate {terminal_windows[0]}"
|
|
146
|
+
)
|
|
147
|
+
|
|
148
|
+
# 创建Python脚本并执行
|
|
149
|
+
python_script = """#!/usr/bin/env python3
|
|
150
|
+
import time
|
|
151
|
+
print("starting...")
|
|
152
|
+
for i in range(5):
|
|
153
|
+
print(f"count: {i}")
|
|
154
|
+
time.sleep(0.5)
|
|
155
|
+
print("success!")
|
|
156
|
+
"""
|
|
157
|
+
|
|
158
|
+
script_path = "/tmp/automation_script.py"
|
|
159
|
+
desktop.files.write(script_path, python_script)
|
|
160
|
+
|
|
161
|
+
desktop.write(f"python3 /uploads{script_path}")
|
|
162
|
+
desktop.press("enter")
|
|
163
|
+
|
|
164
|
+
# 10. 等待和定时操作
|
|
165
|
+
print("等待操作完成...")
|
|
166
|
+
desktop.wait(2000) # 等待2秒
|
|
167
|
+
|
|
168
|
+
# 展示所有功能已完成
|
|
169
|
+
desktop.write("echo 'All successfully!'")
|
|
170
|
+
desktop.press("enter")
|
|
171
|
+
|
|
172
|
+
print("演示完成! 沙箱将在10分钟后自动关闭或按Ctrl+C提前结束")
|
|
173
|
+
|
|
174
|
+
# 保持沙箱运行以便观察
|
|
175
|
+
try:
|
|
176
|
+
time.sleep(600) # 保持10分钟
|
|
177
|
+
except KeyboardInterrupt:
|
|
178
|
+
print("提前结束沙箱会话")
|
|
179
|
+
|
|
180
|
+
# 11. 清理工作会在with语句退出时自动执行
|
|
181
|
+
|
|
182
|
+
|
|
183
|
+
# def specific_use_cases():
|
|
184
|
+
# """特定用例示例"""
|
|
185
|
+
#
|
|
186
|
+
# # 用例1: 网页自动化测试
|
|
187
|
+
# def web_automation():
|
|
188
|
+
# with Sandbox() as desktop:
|
|
189
|
+
# desktop.open("firefox")
|
|
190
|
+
# time.sleep(3)
|
|
191
|
+
# desktop.press("ctrl+l")
|
|
192
|
+
# desktop.write("https://www.google.com")
|
|
193
|
+
# desktop.press("enter")
|
|
194
|
+
# time.sleep(2)
|
|
195
|
+
# desktop.write("Scalebox Sandbox Automation")
|
|
196
|
+
# desktop.press("enter")
|
|
197
|
+
# # 更多网页自动化操作...
|
|
198
|
+
#
|
|
199
|
+
# # 用例2: GUI应用测试
|
|
200
|
+
# def gui_app_testing():
|
|
201
|
+
# with Sandbox() as desktop:
|
|
202
|
+
# # 启动待测试的GUI应用
|
|
203
|
+
# desktop.launch("some-gui-application")
|
|
204
|
+
# time.sleep(2)
|
|
205
|
+
#
|
|
206
|
+
# # 执行一系列测试操作
|
|
207
|
+
# desktop.move_mouse(100, 100)
|
|
208
|
+
# desktop.left_click()
|
|
209
|
+
# desktop.write("测试输入")
|
|
210
|
+
# desktop.press("enter")
|
|
211
|
+
#
|
|
212
|
+
# # 验证结果
|
|
213
|
+
# screenshot = desktop.screenshot(format="bytes")
|
|
214
|
+
# # 这里可以添加截图分析逻辑
|
|
215
|
+
#
|
|
216
|
+
# # 用例3: 教育演示
|
|
217
|
+
# def educational_demo():
|
|
218
|
+
# with Sandbox() as desktop:
|
|
219
|
+
# # 打开编程环境
|
|
220
|
+
# desktop.open("vscode") # 或其他IDE
|
|
221
|
+
#
|
|
222
|
+
# # 逐步演示代码编写和执行过程
|
|
223
|
+
# time.sleep(2)
|
|
224
|
+
# desktop.write("# Python编程演示")
|
|
225
|
+
# desktop.press("enter")
|
|
226
|
+
# desktop.write("print('Hello, Students!')")
|
|
227
|
+
# desktop.press("enter")
|
|
228
|
+
#
|
|
229
|
+
# # 保存并运行
|
|
230
|
+
# desktop.press("ctrl+s")
|
|
231
|
+
# desktop.press("ctrl+alt+t") # 打开终端
|
|
232
|
+
# desktop.write("python3 demo.py")
|
|
233
|
+
# desktop.press("enter")
|
|
234
|
+
|
|
235
|
+
|
|
236
|
+
if __name__ == "__main__":
|
|
237
|
+
try:
|
|
238
|
+
desktop_automation_demo()
|
|
239
|
+
except Exception as e:
|
|
240
|
+
print(f"演示过程中发生错误: {e}")
|
|
241
|
+
import traceback
|
|
242
|
+
|
|
243
|
+
traceback.print_exc()
|
scalebox/version.py
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
Metadata-Version: 2.4
|
|
2
2
|
Name: scalebox-sdk
|
|
3
|
-
Version: 0.1.
|
|
3
|
+
Version: 0.1.14
|
|
4
4
|
Summary: ScaleBox Python SDK - A multi-language code execution sandbox with Python, R, Node.js, Deno/TypeScript, Java, and Bash support
|
|
5
5
|
Author-email: ScaleBox Team <dev@scalebox.dev>
|
|
6
6
|
Maintainer-email: ScaleBox Team <dev@scalebox.dev>
|
|
@@ -105,7 +105,7 @@ cp -r scalebox venv/lib/python3.12/site-packages/
|
|
|
105
105
|
## 配置
|
|
106
106
|
支持从环境变量或 `.env` 文件读取凭据:
|
|
107
107
|
|
|
108
|
-
- `SBX_API_KEY`
|
|
108
|
+
- `SBX_API_KEY`
|
|
109
109
|
|
|
110
110
|
示例:
|
|
111
111
|
```env
|
|
@@ -1,12 +1,12 @@
|
|
|
1
|
-
scalebox/__init__.py,sha256=
|
|
1
|
+
scalebox/__init__.py,sha256=T8maPxMttoWt6YjoyyRcNDgXbHdKkaBnzc7D9Wq_-WM,1812
|
|
2
2
|
scalebox/cli.py,sha256=HWIyGuhbP1WZm839CwTysauL78xMBOoatFychxzloxQ,3904
|
|
3
3
|
scalebox/connection_config.py,sha256=J49-3tYaaoRDpa1l2dbnW3T8XmLrqEZBPXlraFvPp7I,2563
|
|
4
4
|
scalebox/exceptions.py,sha256=10R9VXfvgO4XJJnxyzyrzkxliyeEBX0ZC36izXa8R5k,2053
|
|
5
5
|
scalebox/requirements.txt,sha256=LEYsk2VzoxKR-V44Y6qJuJ3vKdTYS79f1Gv1Ajleifo,567
|
|
6
|
-
scalebox/version.py,sha256=
|
|
7
|
-
scalebox/api/__init__.py,sha256=
|
|
6
|
+
scalebox/version.py,sha256=m1BKx1iToiCH8M-PikRYtzbwMMX3yEYCig65wk3Ccyo,323
|
|
7
|
+
scalebox/api/__init__.py,sha256=_9nWyeNg4Y_Z30YpBNoDP6S92YdlO_5xBkrp-we0SIg,4167
|
|
8
8
|
scalebox/api/metadata.py,sha256=lg5ekfnFZYZoCoJxIPo961HEGVg_rLLRJBbw4ZApM_Y,512
|
|
9
|
-
scalebox/api/client/__init__.py,sha256=
|
|
9
|
+
scalebox/api/client/__init__.py,sha256=IVRaxvQcdPu1Xxc3t--g3ir3Wl5f3Y0zKMwy1nkKN80,155
|
|
10
10
|
scalebox/api/client/client.py,sha256=E94FDmiAORzuukaUQopFX0TXoj-LDtPeRDLfvtwdu0Q,12623
|
|
11
11
|
scalebox/api/client/errors.py,sha256=gO8GBmKqmSNgAg-E5oT-oOyxztvp7V_6XG7OUTT15q0,546
|
|
12
12
|
scalebox/api/client/py.typed,sha256=8ZJUsxZiuOy1oJeVhsTWQhTG_6pTVHVXk5hJL79ebTk,25
|
|
@@ -71,15 +71,15 @@ scalebox/client/client.py,sha256=lPh2y8788bkYH_re9CxfMTO5reOtKyfzFhJ4vMtShPc,341
|
|
|
71
71
|
scalebox/client/requirements.txt,sha256=wKvAVEljSzYT7t1PFWlsWHR9I47sAYjx97xU51NvAPw,94
|
|
72
72
|
scalebox/code_interpreter/__init__.py,sha256=DKvHYgCOofNzPCgxK9HRyVpb8l1F1Uc2_DUL9BkcsSs,238
|
|
73
73
|
scalebox/code_interpreter/charts.py,sha256=tYo53XlaWyjsMRb5tG32PaeGapaG0GQW3826wuXARfo,5511
|
|
74
|
-
scalebox/code_interpreter/code_interpreter_async.py,sha256=
|
|
75
|
-
scalebox/code_interpreter/code_interpreter_sync.py,sha256=
|
|
74
|
+
scalebox/code_interpreter/code_interpreter_async.py,sha256=5qpVBSVXiumnOlEmrMKGJ8wx38FhaFkWV7B6gUUBBxY,12979
|
|
75
|
+
scalebox/code_interpreter/code_interpreter_sync.py,sha256=ofLLpgLmVUiPojib6Aul3QQCEPjQexRRb0uEKTpvbKE,11470
|
|
76
76
|
scalebox/code_interpreter/constants.py,sha256=MmEu7Uw2rjIZAayX9gQSC-iFmUaaijNSZ0ADnL1L_EM,81
|
|
77
77
|
scalebox/code_interpreter/exceptions.py,sha256=9YfZk6EMa_RtfZ8K-BHvbRr2lcFRl6I5FY5WrA5gNqI,410
|
|
78
78
|
scalebox/code_interpreter/models.py,sha256=so4_kPkouB9ET0MN2LkeTaPWXAXJNQIaz0IEYQMGtbs,14019
|
|
79
79
|
scalebox/csx_connect/__init__.py,sha256=LpNSDgIjJbOyeddLRyTVLsY0UqRWYAvlAn0itEDhuao,81
|
|
80
80
|
scalebox/csx_connect/client.py,sha256=fmlND6h2iiTaeWcccf6aukvQ_6SCblr1RylArGN3k78,13151
|
|
81
81
|
scalebox/csx_desktop/__init__.py,sha256=47DEQpj8HBSa-_TImW-5JCeuQeRkm5NMpJWZG3hSuFU,0
|
|
82
|
-
scalebox/csx_desktop/main.py,sha256=
|
|
82
|
+
scalebox/csx_desktop/main.py,sha256=dDjiQf0sGYO8HMIyOkDPEipd7F_7Sofijqug1G--l7U,21819
|
|
83
83
|
scalebox/generated/__init__.py,sha256=47DEQpj8HBSa-_TImW-5JCeuQeRkm5NMpJWZG3hSuFU,0
|
|
84
84
|
scalebox/generated/api.py,sha256=SjK64GhgaWFMkktn4ekb5p8zBZXvA88GZ4legCT27Jo,1558
|
|
85
85
|
scalebox/generated/api_pb2.py,sha256=n6SmPlDl4Fx6vQl3kiw6oXUb9eTLK07_WNHjoPOhtLI,25941
|
|
@@ -123,19 +123,16 @@ scalebox/test/__init__.py,sha256=47DEQpj8HBSa-_TImW-5JCeuQeRkm5NMpJWZG3hSuFU,0
|
|
|
123
123
|
scalebox/test/aclient.py,sha256=hCZAs2X1AwRHevexdbH0Z2MdahSczjvRglnyb1WFrV4,2335
|
|
124
124
|
scalebox/test/code_interpreter_centext.py,sha256=f2GC3l8jsNF9n1Sl4boxJMGqWNl1d1Ff29f_5hahH00,468
|
|
125
125
|
scalebox/test/code_interpreter_centext_sync.py,sha256=cGebrc7c1VQDsv6X0Ez7Xs2plvv_j7EjqQhklLmQ01o,433
|
|
126
|
-
scalebox/test/code_interpreter_test.py,sha256=
|
|
127
|
-
scalebox/test/code_interpreter_test_sync.py,sha256=
|
|
126
|
+
scalebox/test/code_interpreter_test.py,sha256=vK1YHbpr8Q1DoBW8KfiVeHI2dVaPrs0Ifhae3I5N6N8,704
|
|
127
|
+
scalebox/test/code_interpreter_test_sync.py,sha256=nlABsEL5hinK1c2Shu8WvexGh3N_XznqLkeNvOfcWlE,647
|
|
128
128
|
scalebox/test/run_all_validation_tests.py,sha256=iWldYseiCW-34Mowkj1AbV_ciFG5mg-DYj_Znl9Agm8,12729
|
|
129
129
|
scalebox/test/run_code_interpreter_tests.sh,sha256=L5sBr5jsFhZxtqfq98yhOA8FK8-bOvYUSVeft8hb1LI,1973
|
|
130
130
|
scalebox/test/run_tests.sh,sha256=1gWoC_RhemlmtqKfBCw2_fRI20saDJ8iCTRtPUiuUE8,6091
|
|
131
131
|
scalebox/test/test_basic.py,sha256=EfK7XzgY63CxLw8x8C1Tnu0yD4vazJxYLHvBV4Zz08U,2375
|
|
132
132
|
scalebox/test/test_code_interpreter_async_comprehensive.py,sha256=r63dsWsLIEtQKzyswQDOT1s3yVbXKsNgsgWoSDgTQ2c,84464
|
|
133
|
-
scalebox/test/test_code_interpreter_e2basync_comprehensive.py,sha256=7HyhEB5FjE_f52mLM3pcpOJnh3kPIYH0-72NWM1RtPw,84506
|
|
134
|
-
scalebox/test/test_code_interpreter_e2bsync_comprehensive.py,sha256=kJWw5wSgR7P8X_hC0APxDTTBnY26a23uZjTGutPMF2c,105658
|
|
135
133
|
scalebox/test/test_code_interpreter_execcode.py,sha256=ODHS4IJGUZ84MvlmFDHupar6AFJikd_MvjFpv8qVgDY,103484
|
|
136
134
|
scalebox/test/test_code_interpreter_sync_comprehensive.py,sha256=PfsqhvjZNusH9EpZdY1Zo_RlcMiRbwwHBSQsRRcOC2g,105572
|
|
137
135
|
scalebox/test/test_csx_desktop_examples.py,sha256=hBF-YHnPctN2jeLLl-TAIj8w1T8lG1RB3PVw1ljZ2Aw,4414
|
|
138
|
-
scalebox/test/test_e2b_first.py,sha256=fi7HKlqSuoJyYy-gEpPJTzSWsvXuPJXqk-c93t_l5VU,316
|
|
139
136
|
scalebox/test/test_sandbox_async_comprehensive.py,sha256=jQ0Zo_OaDSkeVA08mPocyy3brWp9sv22FlarAlPo2UA,27097
|
|
140
137
|
scalebox/test/test_sandbox_stress_and_edge_cases.py,sha256=-lzub_06u_SmMVqu1OWIcP5VANm5FIz-a2bRTNqgUOk,27602
|
|
141
138
|
scalebox/test/test_sandbox_sync_comprehensive.py,sha256=lRsP0Cp_h5Vgmv7rbL90n8aMQIzkBEIQh_NMoiE8Rrg,27747
|
|
@@ -144,16 +141,16 @@ scalebox/test/testacreate.py,sha256=9_Hvllm2uWJtWxV2AWjC11sYxN_jtvx8j-TN3E6myGc,
|
|
|
144
141
|
scalebox/test/testagetinfo.py,sha256=jbr-CNR6ubYrhLhoXOmugKttzSYaDSsXnDD-_ZJCWyU,555
|
|
145
142
|
scalebox/test/testcodeinterpreter_async.py,sha256=Cmrgv2iRhgJgzr8yvQz3PL4qM_TY_TVvgtRlNrG-G7Y,14258
|
|
146
143
|
scalebox/test/testcodeinterpreter_sync.py,sha256=g9ni-hOz11IYVGwqslRA8CZE6bkWaVBVd2aZxauWFHw,5713
|
|
147
|
-
scalebox/test/testcomputeuse.py,sha256=
|
|
144
|
+
scalebox/test/testcomputeuse.py,sha256=I3z2-D-INfPJKNo4yLMn-Qxui-kbbDZbEFKE1ZVbPAU,7075
|
|
148
145
|
scalebox/test/testnovnc.py,sha256=p5UM1ueKbyjlyYBcaToFGljG4ppIqC7JGPqltIGY6Po,310
|
|
149
146
|
scalebox/test/testsandbox_async.py,sha256=DzT4yXWCEgBtfvthGq4E_1TTBd-2BfQ_2DSHttos1ms,6140
|
|
150
147
|
scalebox/test/testsandbox_sync.py,sha256=v1dFAJWKbyLnjIiafTR9TafxJF1gaUk-W2mmQU4YYLg,2886
|
|
151
148
|
scalebox/utils/__init__.py,sha256=47DEQpj8HBSa-_TImW-5JCeuQeRkm5NMpJWZG3hSuFU,0
|
|
152
149
|
scalebox/utils/httpcoreclient.py,sha256=kjTndd-YECPe3n_G1HfGgitzRwntC21tqtIqZ62V6Lg,9868
|
|
153
150
|
scalebox/utils/httpxclient.py,sha256=oLpCP2RChvnspS6Unl6ngmpY72yPokTfSqMm9m-7k38,13442
|
|
154
|
-
scalebox_sdk-0.1.
|
|
155
|
-
scalebox_sdk-0.1.
|
|
156
|
-
scalebox_sdk-0.1.
|
|
157
|
-
scalebox_sdk-0.1.
|
|
158
|
-
scalebox_sdk-0.1.
|
|
159
|
-
scalebox_sdk-0.1.
|
|
151
|
+
scalebox_sdk-0.1.14.dist-info/licenses/LICENSE,sha256=9zP32kHlBovkfji1R6ptx3H7WjJJvnf4UuwTpfogmsY,1069
|
|
152
|
+
scalebox_sdk-0.1.14.dist-info/METADATA,sha256=dH-vRHJljDCPF9nQnrMbrO3vkWuqN3StcEPYMafX70c,12198
|
|
153
|
+
scalebox_sdk-0.1.14.dist-info/WHEEL,sha256=_zCd3N1l69ArxyTb8rzEoP9TpbYXkqRFSNOD5OuxnTs,91
|
|
154
|
+
scalebox_sdk-0.1.14.dist-info/entry_points.txt,sha256=g7C1Trcg8EyvAGMnHpJ3alqtZzQuMypYUQVFK13kOFM,47
|
|
155
|
+
scalebox_sdk-0.1.14.dist-info/top_level.txt,sha256=CDjlibkbOG-MT-s1TRxs4Xe_iN1m11ii48spB6DOMj4,9
|
|
156
|
+
scalebox_sdk-0.1.14.dist-info/RECORD,,
|