nimble_python 0.8.0__tar.gz → 0.9.0__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.
- nimble_python-0.9.0/.release-please-manifest.json +3 -0
- {nimble_python-0.8.0 → nimble_python-0.9.0}/CHANGELOG.md +20 -0
- {nimble_python-0.8.0 → nimble_python-0.9.0}/CONTRIBUTING.md +0 -7
- {nimble_python-0.8.0 → nimble_python-0.9.0}/PKG-INFO +9 -9
- {nimble_python-0.8.0 → nimble_python-0.9.0}/README.md +8 -8
- nimble_python-0.9.0/api.md +88 -0
- {nimble_python-0.8.0 → nimble_python-0.9.0}/pyproject.toml +1 -1
- {nimble_python-0.8.0 → nimble_python-0.9.0}/src/nimble_python/_client.py +2358 -288
- {nimble_python-0.8.0 → nimble_python-0.9.0}/src/nimble_python/_version.py +1 -1
- nimble_python-0.9.0/src/nimble_python/resources/__init__.py +47 -0
- nimble_python-0.9.0/src/nimble_python/resources/agent.py +519 -0
- nimble_python-0.9.0/src/nimble_python/resources/crawl.py +553 -0
- nimble_python-0.8.0/src/nimble_python/resources/crawl.py → nimble_python-0.9.0/src/nimble_python/resources/tasks.py +101 -112
- nimble_python-0.9.0/src/nimble_python/types/__init__.py +44 -0
- {nimble_python-0.8.0 → nimble_python-0.9.0}/src/nimble_python/types/agent_get_response.py +4 -0
- {nimble_python-0.8.0 → nimble_python-0.9.0}/src/nimble_python/types/agent_list_params.py +4 -0
- {nimble_python-0.8.0 → nimble_python-0.9.0}/src/nimble_python/types/agent_list_response.py +2 -0
- nimble_python-0.9.0/src/nimble_python/types/agent_run_async_params.py +31 -0
- nimble_python-0.9.0/src/nimble_python/types/agent_run_async_response.py +14 -0
- nimble_python-0.9.0/src/nimble_python/types/agent_run_params.py +16 -0
- nimble_python-0.9.0/src/nimble_python/types/agent_run_response.py +333 -0
- nimble_python-0.9.0/src/nimble_python/types/client_extract_async_params.py +1065 -0
- nimble_python-0.9.0/src/nimble_python/types/crawl_run_params.py +1109 -0
- nimble_python-0.9.0/src/nimble_python/types/crawl_run_response.py +101 -0
- nimble_python-0.9.0/src/nimble_python/types/extract_async_response.py +67 -0
- nimble_python-0.9.0/src/nimble_python/types/shared/__init__.py +15 -0
- nimble_python-0.9.0/src/nimble_python/types/shared/auto_scroll_action.py +79 -0
- nimble_python-0.9.0/src/nimble_python/types/shared/click_action.py +65 -0
- nimble_python-0.9.0/src/nimble_python/types/shared/eval_action.py +40 -0
- nimble_python-0.9.0/src/nimble_python/types/shared/fetch_action.py +46 -0
- nimble_python-0.9.0/src/nimble_python/types/shared/fill_action.py +122 -0
- nimble_python-0.9.0/src/nimble_python/types/shared/get_cookies_action.py +46 -0
- nimble_python-0.9.0/src/nimble_python/types/shared/goto_action.py +44 -0
- nimble_python-0.9.0/src/nimble_python/types/shared/press_action.py +296 -0
- nimble_python-0.9.0/src/nimble_python/types/shared/screenshot_action.py +38 -0
- nimble_python-0.9.0/src/nimble_python/types/shared/scroll_action.py +50 -0
- nimble_python-0.9.0/src/nimble_python/types/shared/wait_action.py +39 -0
- nimble_python-0.9.0/src/nimble_python/types/shared/wait_for_element_action.py +46 -0
- nimble_python-0.9.0/src/nimble_python/types/shared/wait_for_navigation_action.py +42 -0
- nimble_python-0.9.0/src/nimble_python/types/shared_params/__init__.py +15 -0
- nimble_python-0.9.0/src/nimble_python/types/shared_params/auto_scroll_action.py +81 -0
- nimble_python-0.9.0/src/nimble_python/types/shared_params/click_action.py +67 -0
- nimble_python-0.9.0/src/nimble_python/types/shared_params/eval_action.py +40 -0
- nimble_python-0.9.0/src/nimble_python/types/shared_params/fetch_action.py +46 -0
- nimble_python-0.9.0/src/nimble_python/types/shared_params/fill_action.py +123 -0
- nimble_python-0.9.0/src/nimble_python/types/shared_params/get_cookies_action.py +34 -0
- nimble_python-0.9.0/src/nimble_python/types/shared_params/goto_action.py +44 -0
- nimble_python-0.9.0/src/nimble_python/types/shared_params/press_action.py +298 -0
- nimble_python-0.9.0/src/nimble_python/types/shared_params/screenshot_action.py +38 -0
- nimble_python-0.9.0/src/nimble_python/types/shared_params/scroll_action.py +52 -0
- nimble_python-0.9.0/src/nimble_python/types/shared_params/wait_action.py +39 -0
- nimble_python-0.9.0/src/nimble_python/types/shared_params/wait_for_element_action.py +48 -0
- nimble_python-0.9.0/src/nimble_python/types/shared_params/wait_for_navigation_action.py +42 -0
- nimble_python-0.9.0/src/nimble_python/types/task_get_response.py +61 -0
- nimble_python-0.9.0/src/nimble_python/types/task_list_params.py +15 -0
- nimble_python-0.9.0/src/nimble_python/types/task_list_response.py +75 -0
- nimble_python-0.9.0/src/nimble_python/types/task_results_response.py +8 -0
- nimble_python-0.9.0/tests/api_resources/test_agent.py +389 -0
- {nimble_python-0.8.0 → nimble_python-0.9.0}/tests/api_resources/test_client.py +341 -24
- nimble_python-0.9.0/tests/api_resources/test_crawl.py +617 -0
- nimble_python-0.9.0/tests/api_resources/test_tasks.py +266 -0
- nimble_python-0.8.0/.release-please-manifest.json +0 -3
- nimble_python-0.8.0/api.md +0 -40
- nimble_python-0.8.0/src/nimble_python/resources/__init__.py +0 -33
- nimble_python-0.8.0/src/nimble_python/resources/agents.py +0 -280
- nimble_python-0.8.0/src/nimble_python/types/__init__.py +0 -17
- nimble_python-0.8.0/tests/api_resources/test_agents.py +0 -184
- nimble_python-0.8.0/tests/api_resources/test_crawl.py +0 -268
- {nimble_python-0.8.0 → nimble_python-0.9.0}/.gitignore +0 -0
- {nimble_python-0.8.0 → nimble_python-0.9.0}/LICENSE +0 -0
- {nimble_python-0.8.0 → nimble_python-0.9.0}/SECURITY.md +0 -0
- {nimble_python-0.8.0 → nimble_python-0.9.0}/bin/check-release-environment +0 -0
- {nimble_python-0.8.0 → nimble_python-0.9.0}/bin/publish-pypi +0 -0
- {nimble_python-0.8.0 → nimble_python-0.9.0}/examples/.keep +0 -0
- {nimble_python-0.8.0 → nimble_python-0.9.0}/release-please-config.json +0 -0
- {nimble_python-0.8.0 → nimble_python-0.9.0}/requirements-dev.lock +0 -0
- {nimble_python-0.8.0 → nimble_python-0.9.0}/src/nimble_python/__init__.py +0 -0
- {nimble_python-0.8.0 → nimble_python-0.9.0}/src/nimble_python/_base_client.py +0 -0
- {nimble_python-0.8.0 → nimble_python-0.9.0}/src/nimble_python/_compat.py +0 -0
- {nimble_python-0.8.0 → nimble_python-0.9.0}/src/nimble_python/_constants.py +0 -0
- {nimble_python-0.8.0 → nimble_python-0.9.0}/src/nimble_python/_exceptions.py +0 -0
- {nimble_python-0.8.0 → nimble_python-0.9.0}/src/nimble_python/_files.py +0 -0
- {nimble_python-0.8.0 → nimble_python-0.9.0}/src/nimble_python/_models.py +0 -0
- {nimble_python-0.8.0 → nimble_python-0.9.0}/src/nimble_python/_qs.py +0 -0
- {nimble_python-0.8.0 → nimble_python-0.9.0}/src/nimble_python/_resource.py +0 -0
- {nimble_python-0.8.0 → nimble_python-0.9.0}/src/nimble_python/_response.py +0 -0
- {nimble_python-0.8.0 → nimble_python-0.9.0}/src/nimble_python/_streaming.py +0 -0
- {nimble_python-0.8.0 → nimble_python-0.9.0}/src/nimble_python/_types.py +0 -0
- {nimble_python-0.8.0 → nimble_python-0.9.0}/src/nimble_python/_utils/__init__.py +0 -0
- {nimble_python-0.8.0 → nimble_python-0.9.0}/src/nimble_python/_utils/_compat.py +0 -0
- {nimble_python-0.8.0 → nimble_python-0.9.0}/src/nimble_python/_utils/_datetime_parse.py +0 -0
- {nimble_python-0.8.0 → nimble_python-0.9.0}/src/nimble_python/_utils/_json.py +0 -0
- {nimble_python-0.8.0 → nimble_python-0.9.0}/src/nimble_python/_utils/_logs.py +0 -0
- {nimble_python-0.8.0 → nimble_python-0.9.0}/src/nimble_python/_utils/_proxy.py +0 -0
- {nimble_python-0.8.0 → nimble_python-0.9.0}/src/nimble_python/_utils/_reflection.py +0 -0
- {nimble_python-0.8.0 → nimble_python-0.9.0}/src/nimble_python/_utils/_resources_proxy.py +0 -0
- {nimble_python-0.8.0 → nimble_python-0.9.0}/src/nimble_python/_utils/_streams.py +0 -0
- {nimble_python-0.8.0 → nimble_python-0.9.0}/src/nimble_python/_utils/_sync.py +0 -0
- {nimble_python-0.8.0 → nimble_python-0.9.0}/src/nimble_python/_utils/_transform.py +0 -0
- {nimble_python-0.8.0 → nimble_python-0.9.0}/src/nimble_python/_utils/_typing.py +0 -0
- {nimble_python-0.8.0 → nimble_python-0.9.0}/src/nimble_python/_utils/_utils.py +0 -0
- {nimble_python-0.8.0 → nimble_python-0.9.0}/src/nimble_python/lib/.keep +0 -0
- {nimble_python-0.8.0 → nimble_python-0.9.0}/src/nimble_python/py.typed +0 -0
- {nimble_python-0.8.0 → nimble_python-0.9.0}/src/nimble_python/types/client_extract_params.py +0 -0
- {nimble_python-0.8.0 → nimble_python-0.9.0}/src/nimble_python/types/client_map_params.py +0 -0
- {nimble_python-0.8.0 → nimble_python-0.9.0}/src/nimble_python/types/client_search_params.py +0 -0
- {nimble_python-0.8.0 → nimble_python-0.9.0}/src/nimble_python/types/crawl_list_params.py +0 -0
- {nimble_python-0.8.0 → nimble_python-0.9.0}/src/nimble_python/types/crawl_list_response.py +0 -0
- {nimble_python-0.8.0 → nimble_python-0.9.0}/src/nimble_python/types/crawl_status_response.py +0 -0
- {nimble_python-0.8.0 → nimble_python-0.9.0}/src/nimble_python/types/crawl_terminate_response.py +0 -0
- {nimble_python-0.8.0 → nimble_python-0.9.0}/src/nimble_python/types/extract_response.py +0 -0
- {nimble_python-0.8.0 → nimble_python-0.9.0}/src/nimble_python/types/map_response.py +0 -0
- {nimble_python-0.8.0 → nimble_python-0.9.0}/src/nimble_python/types/search_response.py +0 -0
- {nimble_python-0.8.0 → nimble_python-0.9.0}/src/nimbleway/lib/.keep +0 -0
- {nimble_python-0.8.0 → nimble_python-0.9.0}/tests/__init__.py +0 -0
- {nimble_python-0.8.0 → nimble_python-0.9.0}/tests/api_resources/__init__.py +0 -0
- {nimble_python-0.8.0 → nimble_python-0.9.0}/tests/conftest.py +0 -0
- {nimble_python-0.8.0 → nimble_python-0.9.0}/tests/sample_file.txt +0 -0
- {nimble_python-0.8.0 → nimble_python-0.9.0}/tests/test_client.py +0 -0
- {nimble_python-0.8.0 → nimble_python-0.9.0}/tests/test_deepcopy.py +0 -0
- {nimble_python-0.8.0 → nimble_python-0.9.0}/tests/test_extract_files.py +0 -0
- {nimble_python-0.8.0 → nimble_python-0.9.0}/tests/test_files.py +0 -0
- {nimble_python-0.8.0 → nimble_python-0.9.0}/tests/test_models.py +0 -0
- {nimble_python-0.8.0 → nimble_python-0.9.0}/tests/test_qs.py +0 -0
- {nimble_python-0.8.0 → nimble_python-0.9.0}/tests/test_required_args.py +0 -0
- {nimble_python-0.8.0 → nimble_python-0.9.0}/tests/test_response.py +0 -0
- {nimble_python-0.8.0 → nimble_python-0.9.0}/tests/test_streaming.py +0 -0
- {nimble_python-0.8.0 → nimble_python-0.9.0}/tests/test_transform.py +0 -0
- {nimble_python-0.8.0 → nimble_python-0.9.0}/tests/test_utils/test_datetime_parse.py +0 -0
- {nimble_python-0.8.0 → nimble_python-0.9.0}/tests/test_utils/test_json.py +0 -0
- {nimble_python-0.8.0 → nimble_python-0.9.0}/tests/test_utils/test_proxy.py +0 -0
- {nimble_python-0.8.0 → nimble_python-0.9.0}/tests/test_utils/test_typing.py +0 -0
- {nimble_python-0.8.0 → nimble_python-0.9.0}/tests/utils.py +0 -0
- {nimble_python-0.8.0 → nimble_python-0.9.0}/uv.lock +0 -0
|
@@ -1,5 +1,25 @@
|
|
|
1
1
|
# Changelog
|
|
2
2
|
|
|
3
|
+
## 0.9.0 (2026-02-22)
|
|
4
|
+
|
|
5
|
+
Full Changelog: [v0.8.0...v0.9.0](https://github.com/Nimbleway/nimble-python/compare/v0.8.0...v0.9.0)
|
|
6
|
+
|
|
7
|
+
### Features
|
|
8
|
+
|
|
9
|
+
* **api:** align `extract_async` ([ac6b389](https://github.com/Nimbleway/nimble-python/commit/ac6b389c6ed67b3e67b6b71dc74e049521541efe))
|
|
10
|
+
* **api:** Align new endpoints ([d1e53f1](https://github.com/Nimbleway/nimble-python/commit/d1e53f1955caa3c2e27f5b41f2b626602b29cb42))
|
|
11
|
+
* **api:** api update ([d99c196](https://github.com/Nimbleway/nimble-python/commit/d99c19697c3ed0bedddc900009a40b5da9a17297))
|
|
12
|
+
* **api:** manual test ([02f4d0b](https://github.com/Nimbleway/nimble-python/commit/02f4d0b004e11537a52740ffc645331851628d6f))
|
|
13
|
+
* **api:** manual updates ([78b99fb](https://github.com/Nimbleway/nimble-python/commit/78b99fbb76deb4d36c323af9893e4fa3c8bfb82c))
|
|
14
|
+
* **api:** Move /agent to /agents/run ([1b5ad7b](https://github.com/Nimbleway/nimble-python/commit/1b5ad7bd6e119d641be13f4856f593e73504a578))
|
|
15
|
+
* **api:** re-add extract ([739f8e2](https://github.com/Nimbleway/nimble-python/commit/739f8e25c84c80fc0831210cf9d63582fc18b406))
|
|
16
|
+
|
|
17
|
+
|
|
18
|
+
### Chores
|
|
19
|
+
|
|
20
|
+
* **internal:** remove mock server code ([7bb3c98](https://github.com/Nimbleway/nimble-python/commit/7bb3c98569bfbea5b274489f89377e0ca432e601))
|
|
21
|
+
* update mock server docs ([0ff079b](https://github.com/Nimbleway/nimble-python/commit/0ff079b128f3d6e0f9506bb5427a000c0372c49f))
|
|
22
|
+
|
|
3
23
|
## 0.8.0 (2026-02-17)
|
|
4
24
|
|
|
5
25
|
Full Changelog: [v0.7.0...v0.8.0](https://github.com/Nimbleway/nimble-python/compare/v0.7.0...v0.8.0)
|
|
@@ -85,13 +85,6 @@ $ pip install ./path-to-wheel-file.whl
|
|
|
85
85
|
|
|
86
86
|
## Running tests
|
|
87
87
|
|
|
88
|
-
Most tests require you to [set up a mock server](https://github.com/stoplightio/prism) against the OpenAPI spec to run the tests.
|
|
89
|
-
|
|
90
|
-
```sh
|
|
91
|
-
# you will need npm installed
|
|
92
|
-
$ npx prism mock path/to/your/openapi.yml
|
|
93
|
-
```
|
|
94
|
-
|
|
95
88
|
```sh
|
|
96
89
|
$ ./scripts/test
|
|
97
90
|
```
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
Metadata-Version: 2.3
|
|
2
2
|
Name: nimble_python
|
|
3
|
-
Version: 0.
|
|
3
|
+
Version: 0.9.0
|
|
4
4
|
Summary: The official Python library for the nimble API
|
|
5
5
|
Project-URL: Homepage, https://github.com/Nimbleway/nimble-python
|
|
6
6
|
Project-URL: Repository, https://github.com/Nimbleway/nimble-python
|
|
@@ -77,7 +77,7 @@ client = Nimble(
|
|
|
77
77
|
)
|
|
78
78
|
|
|
79
79
|
response = client.extract(
|
|
80
|
-
url="
|
|
80
|
+
url="https://exapmle.com",
|
|
81
81
|
)
|
|
82
82
|
print(response.task_id)
|
|
83
83
|
```
|
|
@@ -103,7 +103,7 @@ client = AsyncNimble(
|
|
|
103
103
|
|
|
104
104
|
async def main() -> None:
|
|
105
105
|
response = await client.extract(
|
|
106
|
-
url="
|
|
106
|
+
url="https://exapmle.com",
|
|
107
107
|
)
|
|
108
108
|
print(response.task_id)
|
|
109
109
|
|
|
@@ -139,7 +139,7 @@ async def main() -> None:
|
|
|
139
139
|
http_client=DefaultAioHttpClient(),
|
|
140
140
|
) as client:
|
|
141
141
|
response = await client.extract(
|
|
142
|
-
url="
|
|
142
|
+
url="https://exapmle.com",
|
|
143
143
|
)
|
|
144
144
|
print(response.task_id)
|
|
145
145
|
|
|
@@ -189,7 +189,7 @@ client = Nimble()
|
|
|
189
189
|
|
|
190
190
|
try:
|
|
191
191
|
client.extract(
|
|
192
|
-
url="
|
|
192
|
+
url="https://exapmle.com",
|
|
193
193
|
)
|
|
194
194
|
except nimble_python.APIConnectionError as e:
|
|
195
195
|
print("The server could not be reached")
|
|
@@ -234,7 +234,7 @@ client = Nimble(
|
|
|
234
234
|
|
|
235
235
|
# Or, configure per-request:
|
|
236
236
|
client.with_options(max_retries=5).extract(
|
|
237
|
-
url="
|
|
237
|
+
url="https://exapmle.com",
|
|
238
238
|
)
|
|
239
239
|
```
|
|
240
240
|
|
|
@@ -259,7 +259,7 @@ client = Nimble(
|
|
|
259
259
|
|
|
260
260
|
# Override per-request:
|
|
261
261
|
client.with_options(timeout=5.0).extract(
|
|
262
|
-
url="
|
|
262
|
+
url="https://exapmle.com",
|
|
263
263
|
)
|
|
264
264
|
```
|
|
265
265
|
|
|
@@ -302,7 +302,7 @@ from nimble_python import Nimble
|
|
|
302
302
|
|
|
303
303
|
client = Nimble()
|
|
304
304
|
response = client.with_raw_response.extract(
|
|
305
|
-
url="
|
|
305
|
+
url="https://exapmle.com",
|
|
306
306
|
)
|
|
307
307
|
print(response.headers.get('X-My-Header'))
|
|
308
308
|
|
|
@@ -322,7 +322,7 @@ To stream the response body, use `.with_streaming_response` instead, which requi
|
|
|
322
322
|
|
|
323
323
|
```python
|
|
324
324
|
with client.with_streaming_response.extract(
|
|
325
|
-
url="
|
|
325
|
+
url="https://exapmle.com",
|
|
326
326
|
) as response:
|
|
327
327
|
print(response.headers.get("X-My-Header"))
|
|
328
328
|
|
|
@@ -42,7 +42,7 @@ client = Nimble(
|
|
|
42
42
|
)
|
|
43
43
|
|
|
44
44
|
response = client.extract(
|
|
45
|
-
url="
|
|
45
|
+
url="https://exapmle.com",
|
|
46
46
|
)
|
|
47
47
|
print(response.task_id)
|
|
48
48
|
```
|
|
@@ -68,7 +68,7 @@ client = AsyncNimble(
|
|
|
68
68
|
|
|
69
69
|
async def main() -> None:
|
|
70
70
|
response = await client.extract(
|
|
71
|
-
url="
|
|
71
|
+
url="https://exapmle.com",
|
|
72
72
|
)
|
|
73
73
|
print(response.task_id)
|
|
74
74
|
|
|
@@ -104,7 +104,7 @@ async def main() -> None:
|
|
|
104
104
|
http_client=DefaultAioHttpClient(),
|
|
105
105
|
) as client:
|
|
106
106
|
response = await client.extract(
|
|
107
|
-
url="
|
|
107
|
+
url="https://exapmle.com",
|
|
108
108
|
)
|
|
109
109
|
print(response.task_id)
|
|
110
110
|
|
|
@@ -154,7 +154,7 @@ client = Nimble()
|
|
|
154
154
|
|
|
155
155
|
try:
|
|
156
156
|
client.extract(
|
|
157
|
-
url="
|
|
157
|
+
url="https://exapmle.com",
|
|
158
158
|
)
|
|
159
159
|
except nimble_python.APIConnectionError as e:
|
|
160
160
|
print("The server could not be reached")
|
|
@@ -199,7 +199,7 @@ client = Nimble(
|
|
|
199
199
|
|
|
200
200
|
# Or, configure per-request:
|
|
201
201
|
client.with_options(max_retries=5).extract(
|
|
202
|
-
url="
|
|
202
|
+
url="https://exapmle.com",
|
|
203
203
|
)
|
|
204
204
|
```
|
|
205
205
|
|
|
@@ -224,7 +224,7 @@ client = Nimble(
|
|
|
224
224
|
|
|
225
225
|
# Override per-request:
|
|
226
226
|
client.with_options(timeout=5.0).extract(
|
|
227
|
-
url="
|
|
227
|
+
url="https://exapmle.com",
|
|
228
228
|
)
|
|
229
229
|
```
|
|
230
230
|
|
|
@@ -267,7 +267,7 @@ from nimble_python import Nimble
|
|
|
267
267
|
|
|
268
268
|
client = Nimble()
|
|
269
269
|
response = client.with_raw_response.extract(
|
|
270
|
-
url="
|
|
270
|
+
url="https://exapmle.com",
|
|
271
271
|
)
|
|
272
272
|
print(response.headers.get('X-My-Header'))
|
|
273
273
|
|
|
@@ -287,7 +287,7 @@ To stream the response body, use `.with_streaming_response` instead, which requi
|
|
|
287
287
|
|
|
288
288
|
```python
|
|
289
289
|
with client.with_streaming_response.extract(
|
|
290
|
-
url="
|
|
290
|
+
url="https://exapmle.com",
|
|
291
291
|
) as response:
|
|
292
292
|
print(response.headers.get("X-My-Header"))
|
|
293
293
|
|
|
@@ -0,0 +1,88 @@
|
|
|
1
|
+
# Shared Types
|
|
2
|
+
|
|
3
|
+
```python
|
|
4
|
+
from nimble_python.types import (
|
|
5
|
+
AutoScrollAction,
|
|
6
|
+
ClickAction,
|
|
7
|
+
EvalAction,
|
|
8
|
+
FetchAction,
|
|
9
|
+
FillAction,
|
|
10
|
+
GetCookiesAction,
|
|
11
|
+
GotoAction,
|
|
12
|
+
PressAction,
|
|
13
|
+
ScreenshotAction,
|
|
14
|
+
ScrollAction,
|
|
15
|
+
WaitAction,
|
|
16
|
+
WaitForElementAction,
|
|
17
|
+
WaitForNavigationAction,
|
|
18
|
+
)
|
|
19
|
+
```
|
|
20
|
+
|
|
21
|
+
# Nimble
|
|
22
|
+
|
|
23
|
+
Types:
|
|
24
|
+
|
|
25
|
+
```python
|
|
26
|
+
from nimble_python.types import ExtractResponse, ExtractAsyncResponse, MapResponse, SearchResponse
|
|
27
|
+
```
|
|
28
|
+
|
|
29
|
+
Methods:
|
|
30
|
+
|
|
31
|
+
- <code title="post /v1/extract">client.<a href="./src/nimble_python/_client.py">extract</a>(\*\*<a href="src/nimble_python/types/client_extract_params.py">params</a>) -> <a href="./src/nimble_python/types/extract_response.py">ExtractResponse</a></code>
|
|
32
|
+
- <code title="post /v1/extract/async">client.<a href="./src/nimble_python/_client.py">extract_async</a>(\*\*<a href="src/nimble_python/types/client_extract_async_params.py">params</a>) -> <a href="./src/nimble_python/types/extract_async_response.py">ExtractAsyncResponse</a></code>
|
|
33
|
+
- <code title="post /v1/map">client.<a href="./src/nimble_python/_client.py">map</a>(\*\*<a href="src/nimble_python/types/client_map_params.py">params</a>) -> <a href="./src/nimble_python/types/map_response.py">MapResponse</a></code>
|
|
34
|
+
- <code title="post /v1/search">client.<a href="./src/nimble_python/_client.py">search</a>(\*\*<a href="src/nimble_python/types/client_search_params.py">params</a>) -> <a href="./src/nimble_python/types/search_response.py">SearchResponse</a></code>
|
|
35
|
+
|
|
36
|
+
# Agent
|
|
37
|
+
|
|
38
|
+
Types:
|
|
39
|
+
|
|
40
|
+
```python
|
|
41
|
+
from nimble_python.types import (
|
|
42
|
+
AgentListResponse,
|
|
43
|
+
AgentGetResponse,
|
|
44
|
+
AgentRunResponse,
|
|
45
|
+
AgentRunAsyncResponse,
|
|
46
|
+
)
|
|
47
|
+
```
|
|
48
|
+
|
|
49
|
+
Methods:
|
|
50
|
+
|
|
51
|
+
- <code title="get /v1/agents">client.agent.<a href="./src/nimble_python/resources/agent.py">list</a>(\*\*<a href="src/nimble_python/types/agent_list_params.py">params</a>) -> <a href="./src/nimble_python/types/agent_list_response.py">AgentListResponse</a></code>
|
|
52
|
+
- <code title="get /v1/agents/{template_name}">client.agent.<a href="./src/nimble_python/resources/agent.py">get</a>(template_name) -> <a href="./src/nimble_python/types/agent_get_response.py">AgentGetResponse</a></code>
|
|
53
|
+
- <code title="post /v1/agents/run">client.agent.<a href="./src/nimble_python/resources/agent.py">run</a>(\*\*<a href="src/nimble_python/types/agent_run_params.py">params</a>) -> <a href="./src/nimble_python/types/agent_run_response.py">AgentRunResponse</a></code>
|
|
54
|
+
- <code title="post /v1/agents/async">client.agent.<a href="./src/nimble_python/resources/agent.py">run_async</a>(\*\*<a href="src/nimble_python/types/agent_run_async_params.py">params</a>) -> <a href="./src/nimble_python/types/agent_run_async_response.py">AgentRunAsyncResponse</a></code>
|
|
55
|
+
|
|
56
|
+
# Crawl
|
|
57
|
+
|
|
58
|
+
Types:
|
|
59
|
+
|
|
60
|
+
```python
|
|
61
|
+
from nimble_python.types import (
|
|
62
|
+
CrawlListResponse,
|
|
63
|
+
CrawlRunResponse,
|
|
64
|
+
CrawlStatusResponse,
|
|
65
|
+
CrawlTerminateResponse,
|
|
66
|
+
)
|
|
67
|
+
```
|
|
68
|
+
|
|
69
|
+
Methods:
|
|
70
|
+
|
|
71
|
+
- <code title="get /v1/crawl">client.crawl.<a href="./src/nimble_python/resources/crawl.py">list</a>(\*\*<a href="src/nimble_python/types/crawl_list_params.py">params</a>) -> <a href="./src/nimble_python/types/crawl_list_response.py">CrawlListResponse</a></code>
|
|
72
|
+
- <code title="post /v1/crawl">client.crawl.<a href="./src/nimble_python/resources/crawl.py">run</a>(\*\*<a href="src/nimble_python/types/crawl_run_params.py">params</a>) -> <a href="./src/nimble_python/types/crawl_run_response.py">CrawlRunResponse</a></code>
|
|
73
|
+
- <code title="get /v1/crawl/{id}">client.crawl.<a href="./src/nimble_python/resources/crawl.py">status</a>(id) -> <a href="./src/nimble_python/types/crawl_status_response.py">CrawlStatusResponse</a></code>
|
|
74
|
+
- <code title="delete /v1/crawl/{id}">client.crawl.<a href="./src/nimble_python/resources/crawl.py">terminate</a>(id) -> <a href="./src/nimble_python/types/crawl_terminate_response.py">CrawlTerminateResponse</a></code>
|
|
75
|
+
|
|
76
|
+
# Tasks
|
|
77
|
+
|
|
78
|
+
Types:
|
|
79
|
+
|
|
80
|
+
```python
|
|
81
|
+
from nimble_python.types import TaskListResponse, TaskGetResponse, TaskResultsResponse
|
|
82
|
+
```
|
|
83
|
+
|
|
84
|
+
Methods:
|
|
85
|
+
|
|
86
|
+
- <code title="get /v1/tasks">client.tasks.<a href="./src/nimble_python/resources/tasks.py">list</a>(\*\*<a href="src/nimble_python/types/task_list_params.py">params</a>) -> <a href="./src/nimble_python/types/task_list_response.py">TaskListResponse</a></code>
|
|
87
|
+
- <code title="get /v1/tasks/{task_id}">client.tasks.<a href="./src/nimble_python/resources/tasks.py">get</a>(task_id) -> <a href="./src/nimble_python/types/task_get_response.py">TaskGetResponse</a></code>
|
|
88
|
+
- <code title="get /v1/tasks/{task_id}/results">client.tasks.<a href="./src/nimble_python/resources/tasks.py">results</a>(task_id) -> <a href="./src/nimble_python/types/task_results_response.py">TaskResultsResponse</a></code>
|