anchorbrowser 0.1.1__py3-none-any.whl → 0.3.0__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.
- anchorbrowser/_client.py +17 -1
- anchorbrowser/_models.py +3 -0
- anchorbrowser/_version.py +1 -1
- anchorbrowser/resources/__init__.py +28 -0
- anchorbrowser/resources/batch_sessions.py +288 -0
- anchorbrowser/resources/profiles.py +1 -115
- anchorbrowser/resources/sessions/__init__.py +14 -0
- anchorbrowser/resources/sessions/agent/__init__.py +33 -0
- anchorbrowser/resources/sessions/agent/agent.py +273 -0
- anchorbrowser/resources/sessions/agent/files.py +280 -0
- anchorbrowser/resources/sessions/mouse.py +1 -233
- anchorbrowser/resources/sessions/sessions.py +39 -1
- anchorbrowser/resources/task.py +465 -0
- anchorbrowser/types/__init__.py +7 -1
- anchorbrowser/types/batch_session_create_params.py +487 -0
- anchorbrowser/types/batch_session_create_response.py +27 -0
- anchorbrowser/types/batch_session_retrieve_response.py +90 -0
- anchorbrowser/types/session_create_params.py +52 -9
- anchorbrowser/types/sessions/__init__.py +0 -4
- anchorbrowser/types/sessions/agent/__init__.py +7 -0
- anchorbrowser/types/sessions/agent/file_list_response.py +32 -0
- anchorbrowser/types/sessions/agent/file_upload_params.py +14 -0
- anchorbrowser/types/sessions/agent/file_upload_response.py +17 -0
- anchorbrowser/types/task/__init__.py +6 -0
- anchorbrowser/types/task/run_execute_params.py +324 -0
- anchorbrowser/types/task/run_execute_response.py +33 -0
- anchorbrowser/types/task_create_params.py +317 -0
- anchorbrowser/types/task_create_response.py +345 -0
- anchorbrowser/types/task_list_params.py +15 -0
- anchorbrowser/types/task_list_response.py +361 -0
- {anchorbrowser-0.1.1.dist-info → anchorbrowser-0.3.0.dist-info}/METADATA +6 -6
- {anchorbrowser-0.1.1.dist-info → anchorbrowser-0.3.0.dist-info}/RECORD +34 -20
- anchorbrowser/types/profile_update_params.py +0 -21
- anchorbrowser/types/sessions/mouse_down_params.py +0 -18
- anchorbrowser/types/sessions/mouse_down_response.py +0 -11
- anchorbrowser/types/sessions/mouse_up_params.py +0 -18
- anchorbrowser/types/sessions/mouse_up_response.py +0 -11
- {anchorbrowser-0.1.1.dist-info → anchorbrowser-0.3.0.dist-info}/WHEEL +0 -0
- {anchorbrowser-0.1.1.dist-info → anchorbrowser-0.3.0.dist-info}/licenses/LICENSE +0 -0
|
@@ -0,0 +1,361 @@
|
|
|
1
|
+
# File generated from our OpenAPI spec by Stainless. See CONTRIBUTING.md for details.
|
|
2
|
+
|
|
3
|
+
from typing import List, Union, Optional
|
|
4
|
+
from datetime import datetime
|
|
5
|
+
from typing_extensions import Literal, TypeAlias
|
|
6
|
+
|
|
7
|
+
from pydantic import Field as FieldInfo
|
|
8
|
+
|
|
9
|
+
from .._models import BaseModel
|
|
10
|
+
|
|
11
|
+
__all__ = [
|
|
12
|
+
"TaskListResponse",
|
|
13
|
+
"Data",
|
|
14
|
+
"DataTask",
|
|
15
|
+
"DataTaskBrowserConfiguration",
|
|
16
|
+
"DataTaskBrowserConfigurationLiveView",
|
|
17
|
+
"DataTaskBrowserConfigurationProxy",
|
|
18
|
+
"DataTaskBrowserConfigurationProxyAnchorProxy",
|
|
19
|
+
"DataTaskBrowserConfigurationProxyCustomProxy",
|
|
20
|
+
"DataTaskBrowserConfigurationRecording",
|
|
21
|
+
"DataTaskBrowserConfigurationTimeout",
|
|
22
|
+
]
|
|
23
|
+
|
|
24
|
+
|
|
25
|
+
class DataTaskBrowserConfigurationLiveView(BaseModel):
|
|
26
|
+
read_only: Optional[bool] = None
|
|
27
|
+
"""Enable or disable read-only mode for live viewing. Defaults to `false`."""
|
|
28
|
+
|
|
29
|
+
|
|
30
|
+
class DataTaskBrowserConfigurationProxyAnchorProxy(BaseModel):
|
|
31
|
+
active: bool
|
|
32
|
+
|
|
33
|
+
city: Optional[str] = None
|
|
34
|
+
"""City name for precise geographic targeting.
|
|
35
|
+
|
|
36
|
+
Supported for anchor_proxy only. Can only be used when region is also provided.
|
|
37
|
+
"""
|
|
38
|
+
|
|
39
|
+
country_code: Optional[
|
|
40
|
+
Literal[
|
|
41
|
+
"af",
|
|
42
|
+
"al",
|
|
43
|
+
"dz",
|
|
44
|
+
"ad",
|
|
45
|
+
"ao",
|
|
46
|
+
"as",
|
|
47
|
+
"ag",
|
|
48
|
+
"ar",
|
|
49
|
+
"am",
|
|
50
|
+
"aw",
|
|
51
|
+
"au",
|
|
52
|
+
"at",
|
|
53
|
+
"az",
|
|
54
|
+
"bs",
|
|
55
|
+
"bh",
|
|
56
|
+
"bb",
|
|
57
|
+
"by",
|
|
58
|
+
"be",
|
|
59
|
+
"bz",
|
|
60
|
+
"bj",
|
|
61
|
+
"bm",
|
|
62
|
+
"bo",
|
|
63
|
+
"ba",
|
|
64
|
+
"br",
|
|
65
|
+
"bg",
|
|
66
|
+
"bf",
|
|
67
|
+
"cm",
|
|
68
|
+
"ca",
|
|
69
|
+
"cv",
|
|
70
|
+
"td",
|
|
71
|
+
"cl",
|
|
72
|
+
"co",
|
|
73
|
+
"cg",
|
|
74
|
+
"cr",
|
|
75
|
+
"ci",
|
|
76
|
+
"hr",
|
|
77
|
+
"cu",
|
|
78
|
+
"cy",
|
|
79
|
+
"cz",
|
|
80
|
+
"dk",
|
|
81
|
+
"dm",
|
|
82
|
+
"do",
|
|
83
|
+
"ec",
|
|
84
|
+
"eg",
|
|
85
|
+
"sv",
|
|
86
|
+
"ee",
|
|
87
|
+
"et",
|
|
88
|
+
"fo",
|
|
89
|
+
"fi",
|
|
90
|
+
"fr",
|
|
91
|
+
"gf",
|
|
92
|
+
"pf",
|
|
93
|
+
"ga",
|
|
94
|
+
"gm",
|
|
95
|
+
"ge",
|
|
96
|
+
"de",
|
|
97
|
+
"gh",
|
|
98
|
+
"gi",
|
|
99
|
+
"gr",
|
|
100
|
+
"gd",
|
|
101
|
+
"gp",
|
|
102
|
+
"gt",
|
|
103
|
+
"gg",
|
|
104
|
+
"gn",
|
|
105
|
+
"gw",
|
|
106
|
+
"gy",
|
|
107
|
+
"ht",
|
|
108
|
+
"hn",
|
|
109
|
+
"hu",
|
|
110
|
+
"is",
|
|
111
|
+
"in",
|
|
112
|
+
"ir",
|
|
113
|
+
"iq",
|
|
114
|
+
"ie",
|
|
115
|
+
"il",
|
|
116
|
+
"it",
|
|
117
|
+
"jm",
|
|
118
|
+
"jp",
|
|
119
|
+
"jo",
|
|
120
|
+
"kz",
|
|
121
|
+
"kw",
|
|
122
|
+
"kg",
|
|
123
|
+
"lv",
|
|
124
|
+
"lb",
|
|
125
|
+
"ly",
|
|
126
|
+
"li",
|
|
127
|
+
"lt",
|
|
128
|
+
"lu",
|
|
129
|
+
"mk",
|
|
130
|
+
"ml",
|
|
131
|
+
"mt",
|
|
132
|
+
"mq",
|
|
133
|
+
"mr",
|
|
134
|
+
"mx",
|
|
135
|
+
"md",
|
|
136
|
+
"mc",
|
|
137
|
+
"me",
|
|
138
|
+
"ma",
|
|
139
|
+
"nl",
|
|
140
|
+
"nz",
|
|
141
|
+
"ni",
|
|
142
|
+
"ng",
|
|
143
|
+
"no",
|
|
144
|
+
"pk",
|
|
145
|
+
"pa",
|
|
146
|
+
"py",
|
|
147
|
+
"pe",
|
|
148
|
+
"ph",
|
|
149
|
+
"pl",
|
|
150
|
+
"pt",
|
|
151
|
+
"pr",
|
|
152
|
+
"qa",
|
|
153
|
+
"ro",
|
|
154
|
+
"lc",
|
|
155
|
+
"sm",
|
|
156
|
+
"sa",
|
|
157
|
+
"sn",
|
|
158
|
+
"rs",
|
|
159
|
+
"sc",
|
|
160
|
+
"sl",
|
|
161
|
+
"sk",
|
|
162
|
+
"si",
|
|
163
|
+
"so",
|
|
164
|
+
"za",
|
|
165
|
+
"kr",
|
|
166
|
+
"es",
|
|
167
|
+
"sr",
|
|
168
|
+
"se",
|
|
169
|
+
"ch",
|
|
170
|
+
"sy",
|
|
171
|
+
"st",
|
|
172
|
+
"tw",
|
|
173
|
+
"tj",
|
|
174
|
+
"tg",
|
|
175
|
+
"tt",
|
|
176
|
+
"tn",
|
|
177
|
+
"tr",
|
|
178
|
+
"tc",
|
|
179
|
+
"ua",
|
|
180
|
+
"ae",
|
|
181
|
+
"us",
|
|
182
|
+
"uy",
|
|
183
|
+
"uz",
|
|
184
|
+
"ve",
|
|
185
|
+
"ye",
|
|
186
|
+
"bd",
|
|
187
|
+
"bw",
|
|
188
|
+
"bn",
|
|
189
|
+
"bi",
|
|
190
|
+
"kh",
|
|
191
|
+
"cn",
|
|
192
|
+
"dj",
|
|
193
|
+
"gq",
|
|
194
|
+
"sz",
|
|
195
|
+
"fj",
|
|
196
|
+
"hk",
|
|
197
|
+
"id",
|
|
198
|
+
"ke",
|
|
199
|
+
"la",
|
|
200
|
+
"ls",
|
|
201
|
+
"lr",
|
|
202
|
+
"mg",
|
|
203
|
+
"mw",
|
|
204
|
+
"my",
|
|
205
|
+
"mv",
|
|
206
|
+
"mn",
|
|
207
|
+
"mz",
|
|
208
|
+
"mm",
|
|
209
|
+
"na",
|
|
210
|
+
"np",
|
|
211
|
+
"nc",
|
|
212
|
+
"ne",
|
|
213
|
+
"om",
|
|
214
|
+
"pg",
|
|
215
|
+
"ru",
|
|
216
|
+
"rw",
|
|
217
|
+
"ws",
|
|
218
|
+
"sg",
|
|
219
|
+
"ss",
|
|
220
|
+
"lk",
|
|
221
|
+
"sd",
|
|
222
|
+
"tz",
|
|
223
|
+
"th",
|
|
224
|
+
"tl",
|
|
225
|
+
"tm",
|
|
226
|
+
"ug",
|
|
227
|
+
"gb",
|
|
228
|
+
"vu",
|
|
229
|
+
"vn",
|
|
230
|
+
"zm",
|
|
231
|
+
"zw",
|
|
232
|
+
"bt",
|
|
233
|
+
"mu",
|
|
234
|
+
]
|
|
235
|
+
] = None
|
|
236
|
+
"""Supported country codes ISO 2 lowercase
|
|
237
|
+
|
|
238
|
+
**On change make sure to update the Proxy type.**
|
|
239
|
+
"""
|
|
240
|
+
|
|
241
|
+
region: Optional[str] = None
|
|
242
|
+
"""
|
|
243
|
+
Region code for more specific geographic targeting. The city parameter can only
|
|
244
|
+
be used when region is also provided.
|
|
245
|
+
"""
|
|
246
|
+
|
|
247
|
+
type: Optional[Literal["anchor_proxy", "anchor_residential", "anchor_mobile", "anchor_gov"]] = None
|
|
248
|
+
"""**On change make sure to update the country_code.**"""
|
|
249
|
+
|
|
250
|
+
|
|
251
|
+
class DataTaskBrowserConfigurationProxyCustomProxy(BaseModel):
|
|
252
|
+
active: bool
|
|
253
|
+
|
|
254
|
+
password: str
|
|
255
|
+
"""Proxy password"""
|
|
256
|
+
|
|
257
|
+
server: str
|
|
258
|
+
"""Proxy server address"""
|
|
259
|
+
|
|
260
|
+
type: Literal["custom"]
|
|
261
|
+
|
|
262
|
+
username: str
|
|
263
|
+
"""Proxy username"""
|
|
264
|
+
|
|
265
|
+
|
|
266
|
+
DataTaskBrowserConfigurationProxy: TypeAlias = Union[
|
|
267
|
+
DataTaskBrowserConfigurationProxyAnchorProxy, DataTaskBrowserConfigurationProxyCustomProxy
|
|
268
|
+
]
|
|
269
|
+
|
|
270
|
+
|
|
271
|
+
class DataTaskBrowserConfigurationRecording(BaseModel):
|
|
272
|
+
active: Optional[bool] = None
|
|
273
|
+
"""Enable or disable video recording of the browser session. Defaults to `true`."""
|
|
274
|
+
|
|
275
|
+
|
|
276
|
+
class DataTaskBrowserConfigurationTimeout(BaseModel):
|
|
277
|
+
idle_timeout: Optional[int] = None
|
|
278
|
+
"""
|
|
279
|
+
The amount of time (in minutes) the browser session waits for new connections
|
|
280
|
+
after all others are closed before stopping. Defaults to `5`.
|
|
281
|
+
"""
|
|
282
|
+
|
|
283
|
+
max_duration: Optional[int] = None
|
|
284
|
+
"""Maximum amount of time (in minutes) for the browser to run before terminating.
|
|
285
|
+
|
|
286
|
+
Defaults to `20`.
|
|
287
|
+
"""
|
|
288
|
+
|
|
289
|
+
|
|
290
|
+
class DataTaskBrowserConfiguration(BaseModel):
|
|
291
|
+
initial_url: Optional[str] = None
|
|
292
|
+
"""The URL to navigate to when the browser session starts.
|
|
293
|
+
|
|
294
|
+
If not provided, the browser will load an empty page.
|
|
295
|
+
"""
|
|
296
|
+
|
|
297
|
+
live_view: Optional[DataTaskBrowserConfigurationLiveView] = None
|
|
298
|
+
"""Configuration for live viewing the browser session."""
|
|
299
|
+
|
|
300
|
+
proxy: Optional[DataTaskBrowserConfigurationProxy] = None
|
|
301
|
+
"""Proxy Documentation available at [Proxy Documentation](/advanced/proxy)"""
|
|
302
|
+
|
|
303
|
+
recording: Optional[DataTaskBrowserConfigurationRecording] = None
|
|
304
|
+
"""Configuration for session recording."""
|
|
305
|
+
|
|
306
|
+
timeout: Optional[DataTaskBrowserConfigurationTimeout] = None
|
|
307
|
+
"""Timeout configurations for the browser session."""
|
|
308
|
+
|
|
309
|
+
|
|
310
|
+
class DataTask(BaseModel):
|
|
311
|
+
id: str
|
|
312
|
+
"""Unique identifier for the task"""
|
|
313
|
+
|
|
314
|
+
code: str
|
|
315
|
+
"""Base64 encoded task code"""
|
|
316
|
+
|
|
317
|
+
created_at: datetime = FieldInfo(alias="createdAt")
|
|
318
|
+
"""Task creation timestamp"""
|
|
319
|
+
|
|
320
|
+
deleted: bool
|
|
321
|
+
"""Whether the task is soft deleted"""
|
|
322
|
+
|
|
323
|
+
language: Literal["typescript"]
|
|
324
|
+
"""Programming language for the task"""
|
|
325
|
+
|
|
326
|
+
latest_version: str = FieldInfo(alias="latestVersion")
|
|
327
|
+
"""Latest version identifier (draft, latest, or version number)"""
|
|
328
|
+
|
|
329
|
+
name: str
|
|
330
|
+
"""Task name (letters, numbers, hyphens, and underscores only)"""
|
|
331
|
+
|
|
332
|
+
team_id: str = FieldInfo(alias="teamId")
|
|
333
|
+
"""Team identifier that owns this task"""
|
|
334
|
+
|
|
335
|
+
updated_at: datetime = FieldInfo(alias="updatedAt")
|
|
336
|
+
"""Task last update timestamp"""
|
|
337
|
+
|
|
338
|
+
browser_configuration: Optional[DataTaskBrowserConfiguration] = FieldInfo(
|
|
339
|
+
alias="browserConfiguration", default=None
|
|
340
|
+
)
|
|
341
|
+
"""Browser configuration for task execution"""
|
|
342
|
+
|
|
343
|
+
description: Optional[str] = None
|
|
344
|
+
"""Optional description of the task"""
|
|
345
|
+
|
|
346
|
+
|
|
347
|
+
class Data(BaseModel):
|
|
348
|
+
limit: int
|
|
349
|
+
"""Number of tasks per page"""
|
|
350
|
+
|
|
351
|
+
page: int
|
|
352
|
+
"""Current page number"""
|
|
353
|
+
|
|
354
|
+
tasks: List[DataTask]
|
|
355
|
+
|
|
356
|
+
total: int
|
|
357
|
+
"""Total number of tasks"""
|
|
358
|
+
|
|
359
|
+
|
|
360
|
+
class TaskListResponse(BaseModel):
|
|
361
|
+
data: Optional[Data] = None
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
Metadata-Version: 2.3
|
|
2
2
|
Name: anchorbrowser
|
|
3
|
-
Version: 0.
|
|
3
|
+
Version: 0.3.0
|
|
4
4
|
Summary: The official Python library for the anchorbrowser API
|
|
5
5
|
Project-URL: Homepage, https://github.com/anchorbrowser/AnchorBrowser-SDK-Python
|
|
6
6
|
Project-URL: Repository, https://github.com/anchorbrowser/AnchorBrowser-SDK-Python
|
|
@@ -13,7 +13,6 @@ Classifier: Operating System :: Microsoft :: Windows
|
|
|
13
13
|
Classifier: Operating System :: OS Independent
|
|
14
14
|
Classifier: Operating System :: POSIX
|
|
15
15
|
Classifier: Operating System :: POSIX :: Linux
|
|
16
|
-
Classifier: Programming Language :: Python :: 3.8
|
|
17
16
|
Classifier: Programming Language :: Python :: 3.9
|
|
18
17
|
Classifier: Programming Language :: Python :: 3.10
|
|
19
18
|
Classifier: Programming Language :: Python :: 3.11
|
|
@@ -21,18 +20,18 @@ Classifier: Programming Language :: Python :: 3.12
|
|
|
21
20
|
Classifier: Programming Language :: Python :: 3.13
|
|
22
21
|
Classifier: Topic :: Software Development :: Libraries :: Python Modules
|
|
23
22
|
Classifier: Typing :: Typed
|
|
24
|
-
Requires-Python: >=3.
|
|
23
|
+
Requires-Python: >=3.9
|
|
25
24
|
Requires-Dist: anyio<5,>=3.5.0
|
|
26
25
|
Requires-Dist: distro<2,>=1.7.0
|
|
27
|
-
Requires-Dist: httpx
|
|
26
|
+
Requires-Dist: httpx>=0.28.1
|
|
28
27
|
Requires-Dist: playwright>=1.55.0
|
|
29
28
|
Requires-Dist: pydantic<3,>=1.9.0
|
|
30
29
|
Requires-Dist: sniffio
|
|
31
|
-
Requires-Dist: typing-extensions
|
|
30
|
+
Requires-Dist: typing-extensions>=4.15.0
|
|
32
31
|
Requires-Dist: websockets>=15.0.1
|
|
33
32
|
Provides-Extra: aiohttp
|
|
34
33
|
Requires-Dist: aiohttp; extra == 'aiohttp'
|
|
35
|
-
Requires-Dist: httpx-aiohttp>=0.1.
|
|
34
|
+
Requires-Dist: httpx-aiohttp>=0.1.9; extra == 'aiohttp'
|
|
36
35
|
Description-Content-Type: text/markdown
|
|
37
36
|
|
|
38
37
|
# Anchorbrowser Python API library
|
|
@@ -174,6 +173,7 @@ from anchorbrowser import Anchorbrowser
|
|
|
174
173
|
client = Anchorbrowser()
|
|
175
174
|
|
|
176
175
|
client.sessions.upload_file(
|
|
176
|
+
session_id="182bd5e5-6e1a-4fe4-a799-aa6d9a6ab26e",
|
|
177
177
|
file=Path("/path/to/file"),
|
|
178
178
|
)
|
|
179
179
|
```
|
|
@@ -1,17 +1,17 @@
|
|
|
1
1
|
anchorbrowser/__init__.py,sha256=Wl16NhVAsaRBCpDtHZjZXDY31QMKfCIRNjzJcfb8D9E,2728
|
|
2
2
|
anchorbrowser/_base_client.py,sha256=fl8ELiO1VjtUQLGCkJiTouZAxtX3b-teiU8Z0ANoR7g,67054
|
|
3
|
-
anchorbrowser/_client.py,sha256=
|
|
3
|
+
anchorbrowser/_client.py,sha256=BXHIqml4Sz3u49HQvUxpvvTARWFwMhQBr3F9P5zVzv4,19586
|
|
4
4
|
anchorbrowser/_compat.py,sha256=DQBVORjFb33zch24jzkhM14msvnzY7mmSmgDLaVFUM8,6562
|
|
5
5
|
anchorbrowser/_constants.py,sha256=S14PFzyN9-I31wiV7SmIlL5Ga0MLHxdvegInGdXH7tM,462
|
|
6
6
|
anchorbrowser/_exceptions.py,sha256=Qz7WOsYUFZ3bEoN28V-C9Wk-EvYerqP83-fMUINlZKQ,3234
|
|
7
7
|
anchorbrowser/_files.py,sha256=l2iwVskD9JQ4iZJU9ZcsucF4VBARg5nEFWpiFfPcT-M,3630
|
|
8
|
-
anchorbrowser/_models.py,sha256=
|
|
8
|
+
anchorbrowser/_models.py,sha256=SdVtHT3mA235sFDLZl6gYyRl7790d7keqSFEhR2p7K0,30593
|
|
9
9
|
anchorbrowser/_qs.py,sha256=craIKyvPktJ94cvf9zn8j8ekG9dWJzhWv0ob34lIOv4,4828
|
|
10
10
|
anchorbrowser/_resource.py,sha256=7lE1EgpVj5kwckk-27umtigTOf9nKTyRl97cgNwRbRQ,1142
|
|
11
11
|
anchorbrowser/_response.py,sha256=xsiyWOC8LWW-NvbFtZ-MJD4f7eI9RnivKwtKImZ-8o4,28860
|
|
12
12
|
anchorbrowser/_streaming.py,sha256=9uTovnqQkz3LRbIWe9fSWwzB_aI1cX14LvEuMhkEcDI,10128
|
|
13
13
|
anchorbrowser/_types.py,sha256=hYSr4gk9908ZiGTqMX3pHhdzfzUUaHVelFS_I6p2Uj0,7243
|
|
14
|
-
anchorbrowser/_version.py,sha256=
|
|
14
|
+
anchorbrowser/_version.py,sha256=AmvLvo2a7WWqbCB4Zco9XHoWL9wMNVir3L5m_V8pkr4,165
|
|
15
15
|
anchorbrowser/py.typed,sha256=47DEQpj8HBSa-_TImW-5JCeuQeRkm5NMpJWZG3hSuFU,0
|
|
16
16
|
anchorbrowser/_utils/__init__.py,sha256=7fch0GT9zpNnErbciSpUNa-SjTxxjY6kxHxKMOM4AGs,2305
|
|
17
17
|
anchorbrowser/_utils/_compat.py,sha256=D8gtAvjJQrDWt9upS0XaG9Rr5l1QhiAx_I_1utT_tt0,1195
|
|
@@ -28,23 +28,31 @@ anchorbrowser/_utils/_utils.py,sha256=0dDqauUbVZEXV0NVl7Bwu904Wwo5eyFCZpQThhFNhy
|
|
|
28
28
|
anchorbrowser/lib/.keep,sha256=wuNrz-5SXo3jJaJOJgz4vFHM41YH_g20F5cRQo0vLes,224
|
|
29
29
|
anchorbrowser/lib/agent.py,sha256=M9Yg00Ogntfy0DZ9UvxLQp27prAYjo-0SrVLaovLM8g,2078
|
|
30
30
|
anchorbrowser/lib/browser.py,sha256=MmkwNbz6k3btKMC6j-gFdbRmlMIyCDF20czRNCelAoA,6041
|
|
31
|
-
anchorbrowser/resources/__init__.py,sha256=
|
|
31
|
+
anchorbrowser/resources/__init__.py,sha256=xw7K4TTIthqdKN3-YxvyoAtiNmx3dtvHkGbKPcaRhCs,3409
|
|
32
32
|
anchorbrowser/resources/agent.py,sha256=2xAcNfeu9otN6qk0RY4pr6fjNloqKriEQEJW50nJAC4,13052
|
|
33
|
+
anchorbrowser/resources/batch_sessions.py,sha256=d7Jy59NHE0u7mw4sx1N9mhG60-93reu_DqsXsU3stZo,11336
|
|
33
34
|
anchorbrowser/resources/browser.py,sha256=BB5hq_ayIDL_ziYHq13oj8US3XkHzkoXiGLBm7h9dH0,5548
|
|
34
35
|
anchorbrowser/resources/events.py,sha256=B6TwziBmOVMjWwoFO7OJR2X_Jt_3jtzNhQg4lgY-7SE,10780
|
|
35
36
|
anchorbrowser/resources/extensions.py,sha256=KWySN-tu8Cxy-LbY3TXLNMPs1s5Hzwwk7Rmr1AYLVeU,15943
|
|
36
|
-
anchorbrowser/resources/profiles.py,sha256=
|
|
37
|
+
anchorbrowser/resources/profiles.py,sha256=g6xLjfmdXfRM5QV-N-omShpSPO_jMvRRmxKjOllq5RQ,16206
|
|
38
|
+
anchorbrowser/resources/task.py,sha256=kqsbxtyTsO7yuOFlAJqq27uYQNqXtU5N793RIkTsEZ8,16974
|
|
37
39
|
anchorbrowser/resources/tools.py,sha256=YWH5pWFHxedVAY6fIYJBkKGKPQmlMP0j3U40QC-Ip4o,23908
|
|
38
|
-
anchorbrowser/resources/sessions/__init__.py,sha256=
|
|
40
|
+
anchorbrowser/resources/sessions/__init__.py,sha256=51tmuaKqEsEMfFTtZOovPAid6vYyKLkv6quuFBnQSiY,3330
|
|
39
41
|
anchorbrowser/resources/sessions/all.py,sha256=5iN5Vv6UW-2p07lEqiRHw3fFQC4m_acfvsn3yZVi_g0,7193
|
|
40
42
|
anchorbrowser/resources/sessions/clipboard.py,sha256=RuoY6Ev5oKsuk0KhPgtRk5GXCjqCk2D16e2hXzRY-4I,9572
|
|
41
43
|
anchorbrowser/resources/sessions/keyboard.py,sha256=qeHOvmTC2cA_AcEyXBCTzp6QyjN-cU6BZBq603Ex49g,11024
|
|
42
|
-
anchorbrowser/resources/sessions/mouse.py,sha256
|
|
43
|
-
anchorbrowser/resources/sessions/sessions.py,sha256=
|
|
44
|
+
anchorbrowser/resources/sessions/mouse.py,sha256=vlyOJgvoJ2z5pDXEmoVQMq1IIifuwnVC3vV3BGEC4lE,14772
|
|
45
|
+
anchorbrowser/resources/sessions/sessions.py,sha256=4dCS-VyPl90yfGcvDzA8MwNdqBZP3m9SFUsCKSfZxbo,55445
|
|
46
|
+
anchorbrowser/resources/sessions/agent/__init__.py,sha256=xhYEyZLlwYxvBVBNX6FfdOYz9B5Ps4bHXNG_LY1KuDU,976
|
|
47
|
+
anchorbrowser/resources/sessions/agent/agent.py,sha256=VnrjYHkp6jDv3mYUUnfC6xxcrjwO1Uwm5bWAY85We8w,10013
|
|
48
|
+
anchorbrowser/resources/sessions/agent/files.py,sha256=E5pFDXEeaqJAN7DfE774WWJMf-MsXv_tw_KAPsEcfrA,11461
|
|
44
49
|
anchorbrowser/resources/sessions/recordings/__init__.py,sha256=MRWTb2Kwpc-wGBrcaa5YnTntQ9Z85Zd0McKS5K_mG00,1067
|
|
45
50
|
anchorbrowser/resources/sessions/recordings/primary.py,sha256=p739aM0tU6CUx2KAgbo2O0oS-5T438Ho7SeUH9eSKXI,6569
|
|
46
51
|
anchorbrowser/resources/sessions/recordings/recordings.py,sha256=LtaT51hX5GWdl21ypu2SGKzEHJHfsjWhJkqAy_fjWGo,13746
|
|
47
|
-
anchorbrowser/types/__init__.py,sha256=
|
|
52
|
+
anchorbrowser/types/__init__.py,sha256=mnuoFsN6OClbSkY0jpie8UQuq_ukz-XMlY6l_flVcHM,3620
|
|
53
|
+
anchorbrowser/types/batch_session_create_params.py,sha256=ZmrNF7tOLvd7P4zFSNlz70HEC8wNJ51_VLGnC7h07nM,11530
|
|
54
|
+
anchorbrowser/types/batch_session_create_response.py,sha256=K3EqFJzenfNDjzoTaWefPjuyULlxTMhdemBjKAd3_Dg,761
|
|
55
|
+
anchorbrowser/types/batch_session_retrieve_response.py,sha256=nCA22nuUPnmq2Ec-0ZzkZehNpMLCtLJa0aBPdaVAGDk,2800
|
|
48
56
|
anchorbrowser/types/event_signal_params.py,sha256=aEq0J4fq3YBGz3LLo2jtQH5GQUmfXj8Nuk-VFnnXRs8,372
|
|
49
57
|
anchorbrowser/types/event_wait_for_params.py,sha256=hyBubY4vBGTtX5AfS6KhkTQHseWKCdhSY4TIzyxPqAo,448
|
|
50
58
|
anchorbrowser/types/event_wait_for_response.py,sha256=QDjO9rVVpn34OGb5q6eQqrve1rSzzhaT8lPl_TCRXOs,319
|
|
@@ -57,9 +65,8 @@ anchorbrowser/types/extension_upload_response.py,sha256=ee8KYWIb-AjURMzrtAMNUTjV
|
|
|
57
65
|
anchorbrowser/types/profile_create_params.py,sha256=JU53ky-FAMbjHPFQzA70H63qrgvyZDmxU6v8CaUcriI,839
|
|
58
66
|
anchorbrowser/types/profile_list_response.py,sha256=8mDdiQ_YHaKeAzVbzw9D9XbFbyLL1MSBaJQN9dE1xeE,1041
|
|
59
67
|
anchorbrowser/types/profile_retrieve_response.py,sha256=OW5f6dcJfWUJUl1uKFQmwul5Uw4J5iyxP-f4vP19ufc,891
|
|
60
|
-
anchorbrowser/types/profile_update_params.py,sha256=BlEFHVXOba05gfLiz8cCTCQzfjSY3FAl8IBHpBsSc3E,612
|
|
61
68
|
anchorbrowser/types/session_copy_response.py,sha256=S6SzIEYrjLATuBWk5xCuT3QhVqE1ztWr-5UomASXL7g,289
|
|
62
|
-
anchorbrowser/types/session_create_params.py,sha256=
|
|
69
|
+
anchorbrowser/types/session_create_params.py,sha256=0jXPzOENYuhz093jwHQ6V_lmGl_DUb45IPnXg-ENI6Q,10350
|
|
63
70
|
anchorbrowser/types/session_create_response.py,sha256=SKTtGQlEfLwfdQ9e8n5kETeYXHdwhnDPaXw6Myx584k,539
|
|
64
71
|
anchorbrowser/types/session_drag_and_drop_params.py,sha256=z3q4hyiRKkW7Vq8bo1Q1ryGS2FEzlfv5cw1p8qvXmcs,795
|
|
65
72
|
anchorbrowser/types/session_drag_and_drop_response.py,sha256=mxxEdrYAdbgR0khm8wPTYcZRXae5Xf1m35WAc1g9irU,270
|
|
@@ -74,12 +81,16 @@ anchorbrowser/types/session_scroll_params.py,sha256=lRVL0Gda1Xs5Xrqu6oj70gOFd8a_
|
|
|
74
81
|
anchorbrowser/types/session_scroll_response.py,sha256=FhBbUooF9AYNg-oX1HyHcNINcMGYt--hP47Hne4yxZE,260
|
|
75
82
|
anchorbrowser/types/session_upload_file_params.py,sha256=dRPj6LQSDNtp3TiU4IoQj16bLRmYmJyG1IQfckcOUfY,379
|
|
76
83
|
anchorbrowser/types/session_upload_file_response.py,sha256=00pC6pJOSJymJEZ6EISQJTMRfDax44RWi545h4-dSN4,368
|
|
84
|
+
anchorbrowser/types/task_create_params.py,sha256=fOQt3UALquLuwh9J1R5rs0tRzEW48_gHe2CkHXQXGL4,6256
|
|
85
|
+
anchorbrowser/types/task_create_response.py,sha256=MAgVHNyYCl8-Ns9lGT3FnV5MSF2oZHOddxkZ834-DDk,7811
|
|
86
|
+
anchorbrowser/types/task_list_params.py,sha256=pu0gLGBp5UxKLpbEpSEz-J-kSRrY6VIvzjc-A0sOUFc,328
|
|
87
|
+
anchorbrowser/types/task_list_response.py,sha256=cxLCLS7yX3CpnpbAGhTb9rshW4DFUtjLxKWPLe8_99A,8126
|
|
77
88
|
anchorbrowser/types/tool_fetch_webpage_params.py,sha256=g_C7tLpyFx4I2r7-iizM7ZiQ71-VfowCj9aufaSHjmg,1181
|
|
78
89
|
anchorbrowser/types/tool_fetch_webpage_response.py,sha256=hdbrNgPz_LeWa3_aVbtck-n-SRvO4moFDbGoSf_2_tU,210
|
|
79
90
|
anchorbrowser/types/tool_perform_web_task_params.py,sha256=HtLFgyeZHMWzdKQuZoc3MKRa79_zusZUZ5w4fqjot48,1437
|
|
80
91
|
anchorbrowser/types/tool_perform_web_task_response.py,sha256=c7GCKQxXNql6UxXDXcRcetxUg0lOHd5lB4DdbKoKwh4,400
|
|
81
92
|
anchorbrowser/types/tool_screenshot_webpage_params.py,sha256=a7p4nCi6mQRJvTZD3wYDa67UGsB4v4CqOhW6x8-9Rrk,1344
|
|
82
|
-
anchorbrowser/types/sessions/__init__.py,sha256=
|
|
93
|
+
anchorbrowser/types/sessions/__init__.py,sha256=kiMjL-pt4Umx2DAnt8UP8lo4eM9X_UBDXO7JdYBzpcs,1493
|
|
83
94
|
anchorbrowser/types/sessions/all_status_response.py,sha256=h4uwmS47nHkHWbRJO2Sb9h_tEaysxvWcpaNyZO-IXxo,701
|
|
84
95
|
anchorbrowser/types/sessions/clipboard_get_response.py,sha256=L6bnLDmRurfMIXJwK_y1CqITsOSLufR-5C_m9k4ccnM,362
|
|
85
96
|
anchorbrowser/types/sessions/clipboard_set_params.py,sha256=LDpW3WOXoD_dcSjTo6pE5K_ilL604sjGGx00AA1XtOQ,322
|
|
@@ -92,19 +103,22 @@ anchorbrowser/types/sessions/mouse_click_params.py,sha256=ANEWJ6rnfEKjSZbd7mmShT
|
|
|
92
103
|
anchorbrowser/types/sessions/mouse_click_response.py,sha256=kr49gpE4B_c_IMCASSzWQYNG2o4FLM1C3vx9HEmUG2o,255
|
|
93
104
|
anchorbrowser/types/sessions/mouse_double_click_params.py,sha256=ivYklkipERNnLLxKEdXlKw8GqRa_qrxTnkFhC6KwV8c,443
|
|
94
105
|
anchorbrowser/types/sessions/mouse_double_click_response.py,sha256=D_d8D4O0fzZ3LyH6qp1Cfkig2aKLuJ5XBc_08YwbyvE,267
|
|
95
|
-
anchorbrowser/types/sessions/mouse_down_params.py,sha256=HnJBYQkvOWwxpdIVp08uf3Yskph9O2QaFHJFbdEFoEw,429
|
|
96
|
-
anchorbrowser/types/sessions/mouse_down_response.py,sha256=2qHnG0vMwFD-fnNesv7jOqNeNDYuUW_0wAyoHU81yTc,253
|
|
97
106
|
anchorbrowser/types/sessions/mouse_move_params.py,sha256=dgv2b5-ZolRX9BccNsJD-1JVAtHEqYI3x_wU19X9lsM,342
|
|
98
107
|
anchorbrowser/types/sessions/mouse_move_response.py,sha256=3HSbsIdgsIZkERrvavWUXYB9AB3HU4vLpvvMqCsBOF0,253
|
|
99
|
-
anchorbrowser/types/sessions/mouse_up_params.py,sha256=VEEFG0vG3ktTM9LHS7mFQuQdoJ8XtN9b1QJZYPc6DFg,425
|
|
100
|
-
anchorbrowser/types/sessions/mouse_up_response.py,sha256=ihak6RqyqQPaksEuwz9oLHa7jSoimZovQ_Rvl0DVV-k,249
|
|
101
108
|
anchorbrowser/types/sessions/recording_list_response.py,sha256=IhlUNZdlK9ABG-7hEX4anljb_K-7XwVhZQhjWdm6GYM,1076
|
|
102
109
|
anchorbrowser/types/sessions/recording_pause_response.py,sha256=Scp7DdE1SjyTDp-VWMAXJ2MZKRyzE2jqgW85nyDwEG4,327
|
|
103
110
|
anchorbrowser/types/sessions/recording_resume_response.py,sha256=JXGXVLDwcbodSOC8j-m2iLTmTqYRHSr56jNKhVJMaoY,329
|
|
111
|
+
anchorbrowser/types/sessions/agent/__init__.py,sha256=1tN-4qDeTSvaw0j1JiqNKyW83YnjkAmPMlHL9FbwjVE,336
|
|
112
|
+
anchorbrowser/types/sessions/agent/file_list_response.py,sha256=JO5AkGj76VodPN-vKO0pwUUCfwtQibToGF7C5riM9i8,768
|
|
113
|
+
anchorbrowser/types/sessions/agent/file_upload_params.py,sha256=WdTbFlwuwARUSDZmx82tbiIiOYlQMRlD1qvXWGylK-g,406
|
|
114
|
+
anchorbrowser/types/sessions/agent/file_upload_response.py,sha256=9DnqplfvEud89UW2ebq1uhg29GQV1Kt4LxZCQlOCafE,356
|
|
104
115
|
anchorbrowser/types/sessions/recordings/__init__.py,sha256=OKfJYcKb4NObdiRObqJV_dOyDQ8feXekDUge2o_4pXQ,122
|
|
105
116
|
anchorbrowser/types/shared/__init__.py,sha256=FQKjY3VDxI8T0feNRazdY5TOqb2KDeEwZaoJjsxuEl4,152
|
|
106
117
|
anchorbrowser/types/shared/success_response.py,sha256=l9OWrucXoSjBdsx5QKdvBPFtxv8d0YdpYY6iL5cWWuc,314
|
|
107
|
-
anchorbrowser
|
|
108
|
-
anchorbrowser
|
|
109
|
-
anchorbrowser
|
|
110
|
-
anchorbrowser-0.
|
|
118
|
+
anchorbrowser/types/task/__init__.py,sha256=CbGxF7UFks1LsFq_wdSi62f4bgThKymv5OOSDmaFBI4,267
|
|
119
|
+
anchorbrowser/types/task/run_execute_params.py,sha256=P-gRINLzKJ12Q03u7Pwu_6QJ8XFvyvAOVvguy03K98k,6680
|
|
120
|
+
anchorbrowser/types/task/run_execute_response.py,sha256=ha86lTlKsLA_yZlaHNHEqBM1F--GiOLuifZpAk9J1bM,794
|
|
121
|
+
anchorbrowser-0.3.0.dist-info/METADATA,sha256=acgevojvhk_8FafUlAZq9-cV9vmb92Bfr9l3tCP2nt4,15113
|
|
122
|
+
anchorbrowser-0.3.0.dist-info/WHEEL,sha256=C2FUgwZgiLbznR-k0b_5k3Ai_1aASOXDss3lzCUsUug,87
|
|
123
|
+
anchorbrowser-0.3.0.dist-info/licenses/LICENSE,sha256=QYTH6OztHxnELDn890vME8F7-euzmsHhWI4XOSYxwOg,11343
|
|
124
|
+
anchorbrowser-0.3.0.dist-info/RECORD,,
|
|
@@ -1,21 +0,0 @@
|
|
|
1
|
-
# File generated from our OpenAPI spec by Stainless. See CONTRIBUTING.md for details.
|
|
2
|
-
|
|
3
|
-
from __future__ import annotations
|
|
4
|
-
|
|
5
|
-
from typing_extensions import Literal, TypedDict
|
|
6
|
-
|
|
7
|
-
__all__ = ["ProfileUpdateParams"]
|
|
8
|
-
|
|
9
|
-
|
|
10
|
-
class ProfileUpdateParams(TypedDict, total=False):
|
|
11
|
-
description: str
|
|
12
|
-
"""The new description for the profile."""
|
|
13
|
-
|
|
14
|
-
session_id: str
|
|
15
|
-
"""The browser session ID is required if the source is set to `session`.
|
|
16
|
-
|
|
17
|
-
The browser session must belong to the user and be active.
|
|
18
|
-
"""
|
|
19
|
-
|
|
20
|
-
source: Literal["session"]
|
|
21
|
-
"""The source of the profile data. Currently, only `session` is supported."""
|
|
@@ -1,18 +0,0 @@
|
|
|
1
|
-
# File generated from our OpenAPI spec by Stainless. See CONTRIBUTING.md for details.
|
|
2
|
-
|
|
3
|
-
from __future__ import annotations
|
|
4
|
-
|
|
5
|
-
from typing_extensions import Literal, Required, TypedDict
|
|
6
|
-
|
|
7
|
-
__all__ = ["MouseDownParams"]
|
|
8
|
-
|
|
9
|
-
|
|
10
|
-
class MouseDownParams(TypedDict, total=False):
|
|
11
|
-
x: Required[int]
|
|
12
|
-
"""X coordinate"""
|
|
13
|
-
|
|
14
|
-
y: Required[int]
|
|
15
|
-
"""Y coordinate"""
|
|
16
|
-
|
|
17
|
-
button: Literal["left", "middle", "right"]
|
|
18
|
-
"""Mouse button to use"""
|
|
@@ -1,11 +0,0 @@
|
|
|
1
|
-
# File generated from our OpenAPI spec by Stainless. See CONTRIBUTING.md for details.
|
|
2
|
-
|
|
3
|
-
from typing import Optional
|
|
4
|
-
|
|
5
|
-
from ..._models import BaseModel
|
|
6
|
-
|
|
7
|
-
__all__ = ["MouseDownResponse"]
|
|
8
|
-
|
|
9
|
-
|
|
10
|
-
class MouseDownResponse(BaseModel):
|
|
11
|
-
status: Optional[str] = None
|
|
@@ -1,18 +0,0 @@
|
|
|
1
|
-
# File generated from our OpenAPI spec by Stainless. See CONTRIBUTING.md for details.
|
|
2
|
-
|
|
3
|
-
from __future__ import annotations
|
|
4
|
-
|
|
5
|
-
from typing_extensions import Literal, Required, TypedDict
|
|
6
|
-
|
|
7
|
-
__all__ = ["MouseUpParams"]
|
|
8
|
-
|
|
9
|
-
|
|
10
|
-
class MouseUpParams(TypedDict, total=False):
|
|
11
|
-
x: Required[int]
|
|
12
|
-
"""X coordinate"""
|
|
13
|
-
|
|
14
|
-
y: Required[int]
|
|
15
|
-
"""Y coordinate"""
|
|
16
|
-
|
|
17
|
-
button: Literal["left", "middle", "right"]
|
|
18
|
-
"""Mouse button to use"""
|
|
@@ -1,11 +0,0 @@
|
|
|
1
|
-
# File generated from our OpenAPI spec by Stainless. See CONTRIBUTING.md for details.
|
|
2
|
-
|
|
3
|
-
from typing import Optional
|
|
4
|
-
|
|
5
|
-
from ..._models import BaseModel
|
|
6
|
-
|
|
7
|
-
__all__ = ["MouseUpResponse"]
|
|
8
|
-
|
|
9
|
-
|
|
10
|
-
class MouseUpResponse(BaseModel):
|
|
11
|
-
status: Optional[str] = None
|
|
File without changes
|
|
File without changes
|