nimble_python 0.10.0__tar.gz → 0.11.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.11.0/.release-please-manifest.json +3 -0
- {nimble_python-0.10.0 → nimble_python-0.11.0}/CHANGELOG.md +20 -0
- {nimble_python-0.10.0 → nimble_python-0.11.0}/PKG-INFO +1 -1
- {nimble_python-0.10.0 → nimble_python-0.11.0}/pyproject.toml +1 -1
- {nimble_python-0.10.0 → nimble_python-0.11.0}/src/nimble_python/_client.py +22 -8
- {nimble_python-0.10.0 → nimble_python-0.11.0}/src/nimble_python/_version.py +1 -1
- {nimble_python-0.10.0 → nimble_python-0.11.0}/src/nimble_python/resources/agent.py +14 -6
- {nimble_python-0.10.0 → nimble_python-0.11.0}/src/nimble_python/types/agent_get_response.py +2 -2
- {nimble_python-0.10.0 → nimble_python-0.11.0}/src/nimble_python/types/agent_list_params.py +6 -3
- {nimble_python-0.10.0 → nimble_python-0.11.0}/src/nimble_python/types/client_extract_async_params.py +1 -4
- {nimble_python-0.10.0 → nimble_python-0.11.0}/src/nimble_python/types/client_extract_params.py +1 -4
- {nimble_python-0.10.0 → nimble_python-0.11.0}/src/nimble_python/types/client_search_params.py +12 -4
- {nimble_python-0.10.0 → nimble_python-0.11.0}/src/nimble_python/types/crawl_run_params.py +1 -4
- {nimble_python-0.10.0 → nimble_python-0.11.0}/src/nimble_python/types/extract_async_response.py +1 -1
- {nimble_python-0.10.0 → nimble_python-0.11.0}/src/nimble_python/types/shared_params/get_cookies_action.py +2 -4
- {nimble_python-0.10.0 → nimble_python-0.11.0}/src/nimble_python/types/task_get_response.py +1 -1
- {nimble_python-0.10.0 → nimble_python-0.11.0}/src/nimble_python/types/task_list_response.py +1 -1
- {nimble_python-0.10.0 → nimble_python-0.11.0}/tests/api_resources/test_agent.py +2 -0
- {nimble_python-0.10.0 → nimble_python-0.11.0}/tests/api_resources/test_client.py +2 -0
- nimble_python-0.10.0/.release-please-manifest.json +0 -3
- {nimble_python-0.10.0 → nimble_python-0.11.0}/.gitignore +0 -0
- {nimble_python-0.10.0 → nimble_python-0.11.0}/CONTRIBUTING.md +0 -0
- {nimble_python-0.10.0 → nimble_python-0.11.0}/LICENSE +0 -0
- {nimble_python-0.10.0 → nimble_python-0.11.0}/README.md +0 -0
- {nimble_python-0.10.0 → nimble_python-0.11.0}/SECURITY.md +0 -0
- {nimble_python-0.10.0 → nimble_python-0.11.0}/api.md +0 -0
- {nimble_python-0.10.0 → nimble_python-0.11.0}/bin/check-release-environment +0 -0
- {nimble_python-0.10.0 → nimble_python-0.11.0}/bin/publish-pypi +0 -0
- {nimble_python-0.10.0 → nimble_python-0.11.0}/examples/.keep +0 -0
- {nimble_python-0.10.0 → nimble_python-0.11.0}/release-please-config.json +0 -0
- {nimble_python-0.10.0 → nimble_python-0.11.0}/requirements-dev.lock +0 -0
- {nimble_python-0.10.0 → nimble_python-0.11.0}/src/nimble_python/__init__.py +0 -0
- {nimble_python-0.10.0 → nimble_python-0.11.0}/src/nimble_python/_base_client.py +0 -0
- {nimble_python-0.10.0 → nimble_python-0.11.0}/src/nimble_python/_compat.py +0 -0
- {nimble_python-0.10.0 → nimble_python-0.11.0}/src/nimble_python/_constants.py +0 -0
- {nimble_python-0.10.0 → nimble_python-0.11.0}/src/nimble_python/_exceptions.py +0 -0
- {nimble_python-0.10.0 → nimble_python-0.11.0}/src/nimble_python/_files.py +0 -0
- {nimble_python-0.10.0 → nimble_python-0.11.0}/src/nimble_python/_models.py +0 -0
- {nimble_python-0.10.0 → nimble_python-0.11.0}/src/nimble_python/_qs.py +0 -0
- {nimble_python-0.10.0 → nimble_python-0.11.0}/src/nimble_python/_resource.py +0 -0
- {nimble_python-0.10.0 → nimble_python-0.11.0}/src/nimble_python/_response.py +0 -0
- {nimble_python-0.10.0 → nimble_python-0.11.0}/src/nimble_python/_streaming.py +0 -0
- {nimble_python-0.10.0 → nimble_python-0.11.0}/src/nimble_python/_types.py +0 -0
- {nimble_python-0.10.0 → nimble_python-0.11.0}/src/nimble_python/_utils/__init__.py +0 -0
- {nimble_python-0.10.0 → nimble_python-0.11.0}/src/nimble_python/_utils/_compat.py +0 -0
- {nimble_python-0.10.0 → nimble_python-0.11.0}/src/nimble_python/_utils/_datetime_parse.py +0 -0
- {nimble_python-0.10.0 → nimble_python-0.11.0}/src/nimble_python/_utils/_json.py +0 -0
- {nimble_python-0.10.0 → nimble_python-0.11.0}/src/nimble_python/_utils/_logs.py +0 -0
- {nimble_python-0.10.0 → nimble_python-0.11.0}/src/nimble_python/_utils/_proxy.py +0 -0
- {nimble_python-0.10.0 → nimble_python-0.11.0}/src/nimble_python/_utils/_reflection.py +0 -0
- {nimble_python-0.10.0 → nimble_python-0.11.0}/src/nimble_python/_utils/_resources_proxy.py +0 -0
- {nimble_python-0.10.0 → nimble_python-0.11.0}/src/nimble_python/_utils/_streams.py +0 -0
- {nimble_python-0.10.0 → nimble_python-0.11.0}/src/nimble_python/_utils/_sync.py +0 -0
- {nimble_python-0.10.0 → nimble_python-0.11.0}/src/nimble_python/_utils/_transform.py +0 -0
- {nimble_python-0.10.0 → nimble_python-0.11.0}/src/nimble_python/_utils/_typing.py +0 -0
- {nimble_python-0.10.0 → nimble_python-0.11.0}/src/nimble_python/_utils/_utils.py +0 -0
- {nimble_python-0.10.0 → nimble_python-0.11.0}/src/nimble_python/lib/.keep +0 -0
- {nimble_python-0.10.0 → nimble_python-0.11.0}/src/nimble_python/py.typed +0 -0
- {nimble_python-0.10.0 → nimble_python-0.11.0}/src/nimble_python/resources/__init__.py +0 -0
- {nimble_python-0.10.0 → nimble_python-0.11.0}/src/nimble_python/resources/crawl.py +0 -0
- {nimble_python-0.10.0 → nimble_python-0.11.0}/src/nimble_python/resources/tasks.py +0 -0
- {nimble_python-0.10.0 → nimble_python-0.11.0}/src/nimble_python/types/__init__.py +0 -0
- {nimble_python-0.10.0 → nimble_python-0.11.0}/src/nimble_python/types/agent_list_response.py +0 -0
- {nimble_python-0.10.0 → nimble_python-0.11.0}/src/nimble_python/types/agent_run_async_params.py +0 -0
- {nimble_python-0.10.0 → nimble_python-0.11.0}/src/nimble_python/types/agent_run_async_response.py +0 -0
- {nimble_python-0.10.0 → nimble_python-0.11.0}/src/nimble_python/types/agent_run_params.py +0 -0
- {nimble_python-0.10.0 → nimble_python-0.11.0}/src/nimble_python/types/agent_run_response.py +0 -0
- {nimble_python-0.10.0 → nimble_python-0.11.0}/src/nimble_python/types/client_map_params.py +0 -0
- {nimble_python-0.10.0 → nimble_python-0.11.0}/src/nimble_python/types/crawl_list_params.py +0 -0
- {nimble_python-0.10.0 → nimble_python-0.11.0}/src/nimble_python/types/crawl_list_response.py +0 -0
- {nimble_python-0.10.0 → nimble_python-0.11.0}/src/nimble_python/types/crawl_run_response.py +0 -0
- {nimble_python-0.10.0 → nimble_python-0.11.0}/src/nimble_python/types/crawl_status_response.py +0 -0
- {nimble_python-0.10.0 → nimble_python-0.11.0}/src/nimble_python/types/crawl_terminate_response.py +0 -0
- {nimble_python-0.10.0 → nimble_python-0.11.0}/src/nimble_python/types/extract_response.py +0 -0
- {nimble_python-0.10.0 → nimble_python-0.11.0}/src/nimble_python/types/map_response.py +0 -0
- {nimble_python-0.10.0 → nimble_python-0.11.0}/src/nimble_python/types/search_response.py +0 -0
- {nimble_python-0.10.0 → nimble_python-0.11.0}/src/nimble_python/types/shared/__init__.py +0 -0
- {nimble_python-0.10.0 → nimble_python-0.11.0}/src/nimble_python/types/shared/auto_scroll_action.py +0 -0
- {nimble_python-0.10.0 → nimble_python-0.11.0}/src/nimble_python/types/shared/click_action.py +0 -0
- {nimble_python-0.10.0 → nimble_python-0.11.0}/src/nimble_python/types/shared/eval_action.py +0 -0
- {nimble_python-0.10.0 → nimble_python-0.11.0}/src/nimble_python/types/shared/fetch_action.py +0 -0
- {nimble_python-0.10.0 → nimble_python-0.11.0}/src/nimble_python/types/shared/fill_action.py +0 -0
- {nimble_python-0.10.0 → nimble_python-0.11.0}/src/nimble_python/types/shared/get_cookies_action.py +0 -0
- {nimble_python-0.10.0 → nimble_python-0.11.0}/src/nimble_python/types/shared/goto_action.py +0 -0
- {nimble_python-0.10.0 → nimble_python-0.11.0}/src/nimble_python/types/shared/press_action.py +0 -0
- {nimble_python-0.10.0 → nimble_python-0.11.0}/src/nimble_python/types/shared/screenshot_action.py +0 -0
- {nimble_python-0.10.0 → nimble_python-0.11.0}/src/nimble_python/types/shared/scroll_action.py +0 -0
- {nimble_python-0.10.0 → nimble_python-0.11.0}/src/nimble_python/types/shared/wait_action.py +0 -0
- {nimble_python-0.10.0 → nimble_python-0.11.0}/src/nimble_python/types/shared/wait_for_element_action.py +0 -0
- {nimble_python-0.10.0 → nimble_python-0.11.0}/src/nimble_python/types/shared/wait_for_navigation_action.py +0 -0
- {nimble_python-0.10.0 → nimble_python-0.11.0}/src/nimble_python/types/shared_params/__init__.py +0 -0
- {nimble_python-0.10.0 → nimble_python-0.11.0}/src/nimble_python/types/shared_params/auto_scroll_action.py +0 -0
- {nimble_python-0.10.0 → nimble_python-0.11.0}/src/nimble_python/types/shared_params/click_action.py +0 -0
- {nimble_python-0.10.0 → nimble_python-0.11.0}/src/nimble_python/types/shared_params/eval_action.py +0 -0
- {nimble_python-0.10.0 → nimble_python-0.11.0}/src/nimble_python/types/shared_params/fetch_action.py +0 -0
- {nimble_python-0.10.0 → nimble_python-0.11.0}/src/nimble_python/types/shared_params/fill_action.py +0 -0
- {nimble_python-0.10.0 → nimble_python-0.11.0}/src/nimble_python/types/shared_params/goto_action.py +0 -0
- {nimble_python-0.10.0 → nimble_python-0.11.0}/src/nimble_python/types/shared_params/press_action.py +0 -0
- {nimble_python-0.10.0 → nimble_python-0.11.0}/src/nimble_python/types/shared_params/screenshot_action.py +0 -0
- {nimble_python-0.10.0 → nimble_python-0.11.0}/src/nimble_python/types/shared_params/scroll_action.py +0 -0
- {nimble_python-0.10.0 → nimble_python-0.11.0}/src/nimble_python/types/shared_params/wait_action.py +0 -0
- {nimble_python-0.10.0 → nimble_python-0.11.0}/src/nimble_python/types/shared_params/wait_for_element_action.py +0 -0
- {nimble_python-0.10.0 → nimble_python-0.11.0}/src/nimble_python/types/shared_params/wait_for_navigation_action.py +0 -0
- {nimble_python-0.10.0 → nimble_python-0.11.0}/src/nimble_python/types/task_list_params.py +0 -0
- {nimble_python-0.10.0 → nimble_python-0.11.0}/src/nimble_python/types/task_results_response.py +0 -0
- {nimble_python-0.10.0 → nimble_python-0.11.0}/src/nimbleway/lib/.keep +0 -0
- {nimble_python-0.10.0 → nimble_python-0.11.0}/tests/__init__.py +0 -0
- {nimble_python-0.10.0 → nimble_python-0.11.0}/tests/api_resources/__init__.py +0 -0
- {nimble_python-0.10.0 → nimble_python-0.11.0}/tests/api_resources/test_crawl.py +0 -0
- {nimble_python-0.10.0 → nimble_python-0.11.0}/tests/api_resources/test_tasks.py +0 -0
- {nimble_python-0.10.0 → nimble_python-0.11.0}/tests/conftest.py +0 -0
- {nimble_python-0.10.0 → nimble_python-0.11.0}/tests/sample_file.txt +0 -0
- {nimble_python-0.10.0 → nimble_python-0.11.0}/tests/test_client.py +0 -0
- {nimble_python-0.10.0 → nimble_python-0.11.0}/tests/test_deepcopy.py +0 -0
- {nimble_python-0.10.0 → nimble_python-0.11.0}/tests/test_extract_files.py +0 -0
- {nimble_python-0.10.0 → nimble_python-0.11.0}/tests/test_files.py +0 -0
- {nimble_python-0.10.0 → nimble_python-0.11.0}/tests/test_models.py +0 -0
- {nimble_python-0.10.0 → nimble_python-0.11.0}/tests/test_qs.py +0 -0
- {nimble_python-0.10.0 → nimble_python-0.11.0}/tests/test_required_args.py +0 -0
- {nimble_python-0.10.0 → nimble_python-0.11.0}/tests/test_response.py +0 -0
- {nimble_python-0.10.0 → nimble_python-0.11.0}/tests/test_streaming.py +0 -0
- {nimble_python-0.10.0 → nimble_python-0.11.0}/tests/test_transform.py +0 -0
- {nimble_python-0.10.0 → nimble_python-0.11.0}/tests/test_utils/test_datetime_parse.py +0 -0
- {nimble_python-0.10.0 → nimble_python-0.11.0}/tests/test_utils/test_json.py +0 -0
- {nimble_python-0.10.0 → nimble_python-0.11.0}/tests/test_utils/test_proxy.py +0 -0
- {nimble_python-0.10.0 → nimble_python-0.11.0}/tests/test_utils/test_typing.py +0 -0
- {nimble_python-0.10.0 → nimble_python-0.11.0}/tests/utils.py +0 -0
- {nimble_python-0.10.0 → nimble_python-0.11.0}/uv.lock +0 -0
|
@@ -1,5 +1,25 @@
|
|
|
1
1
|
# Changelog
|
|
2
2
|
|
|
3
|
+
## 0.11.0 (2026-03-10)
|
|
4
|
+
|
|
5
|
+
Full Changelog: [v0.10.0...v0.11.0](https://github.com/Nimbleway/nimble-python/compare/v0.10.0...v0.11.0)
|
|
6
|
+
|
|
7
|
+
### Features
|
|
8
|
+
|
|
9
|
+
* **api:** api update ([5920fac](https://github.com/Nimbleway/nimble-python/commit/5920facd8a20c83c88ef893e7dafef6dea115239))
|
|
10
|
+
* **api:** api update ([802ba25](https://github.com/Nimbleway/nimble-python/commit/802ba250e6e4681b18259305b7f9d9fac28569b6))
|
|
11
|
+
|
|
12
|
+
|
|
13
|
+
### Chores
|
|
14
|
+
|
|
15
|
+
* **ci:** bump uv version ([146ce46](https://github.com/Nimbleway/nimble-python/commit/146ce4600e65bd53d9dfaed8faa27483d0b13b2c))
|
|
16
|
+
* **ci:** skip uploading artifacts on stainless-internal branches ([0367a98](https://github.com/Nimbleway/nimble-python/commit/0367a9816cb6178e9c769d09eff4b26bd4b8cd29))
|
|
17
|
+
|
|
18
|
+
|
|
19
|
+
### Refactors
|
|
20
|
+
|
|
21
|
+
* **types:** use `extra_items` from PEP 728 ([4c233b7](https://github.com/Nimbleway/nimble-python/commit/4c233b70e9763d97f5e03d196d28d951a37d1609))
|
|
22
|
+
|
|
3
23
|
## 0.10.0 (2026-02-25)
|
|
4
24
|
|
|
5
25
|
Full Changelog: [v0.9.1...v0.10.0](https://github.com/Nimbleway/nimble-python/compare/v0.9.1...v0.10.0)
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
Metadata-Version: 2.3
|
|
2
2
|
Name: nimble_python
|
|
3
|
-
Version: 0.
|
|
3
|
+
Version: 0.11.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
|
|
@@ -3072,7 +3072,7 @@ class Nimble(SyncAPIClient):
|
|
|
3072
3072
|
query: str,
|
|
3073
3073
|
content_type: Optional[SequenceNotStr[str]] | Omit = omit,
|
|
3074
3074
|
country: str | Omit = omit,
|
|
3075
|
-
deep_search: bool | Omit = omit,
|
|
3075
|
+
deep_search: Optional[bool] | Omit = omit,
|
|
3076
3076
|
end_date: Optional[str] | Omit = omit,
|
|
3077
3077
|
exclude_domains: Optional[SequenceNotStr[str]] | Omit = omit,
|
|
3078
3078
|
focus: Union[str, SequenceNotStr[str]] | Omit = omit,
|
|
@@ -3082,6 +3082,7 @@ class Nimble(SyncAPIClient):
|
|
|
3082
3082
|
max_results: int | Omit = omit,
|
|
3083
3083
|
max_subagents: int | Omit = omit,
|
|
3084
3084
|
output_format: Literal["plain_text", "markdown", "simplified_html"] | Omit = omit,
|
|
3085
|
+
search_depth: Optional[Literal["lite", "fast", "deep"]] | Omit = omit,
|
|
3085
3086
|
start_date: Optional[str] | Omit = omit,
|
|
3086
3087
|
time_range: Optional[Literal["hour", "day", "week", "month", "year"]] | Omit = omit,
|
|
3087
3088
|
# Use the following arguments if you need to pass additional parameters to the API that aren't available via kwargs.
|
|
@@ -3103,9 +3104,7 @@ class Nimble(SyncAPIClient):
|
|
|
3103
3104
|
|
|
3104
3105
|
country: Country code for geo-targeted results (e.g., 'US', 'GB', 'IL')
|
|
3105
3106
|
|
|
3106
|
-
deep_search:
|
|
3107
|
-
Mode (false): returns metadata only (title, snippet, URL) for quick,
|
|
3108
|
-
token-efficient results.
|
|
3107
|
+
deep_search: Deprecated. Use search_depth instead. true maps to 'deep', false maps to 'lite'.
|
|
3109
3108
|
|
|
3110
3109
|
end_date: Filter results before this date (format: YYYY-MM-DD or YYYY)
|
|
3111
3110
|
|
|
@@ -3128,6 +3127,13 @@ class Nimble(SyncAPIClient):
|
|
|
3128
3127
|
|
|
3129
3128
|
output_format: Output format: plain_text, markdown, or simplified_html
|
|
3130
3129
|
|
|
3130
|
+
search_depth: Controls content richness and latency of search results.
|
|
3131
|
+
|
|
3132
|
+
- lite: Token-efficient metadata for high-volume pipelines (title, URL,
|
|
3133
|
+
description only)
|
|
3134
|
+
- fast: Rich content (~2K chars) optimized for AI agents
|
|
3135
|
+
- deep: Full page content via Webit scraping for comprehensive analysis
|
|
3136
|
+
|
|
3131
3137
|
start_date: Filter results after this date (format: YYYY-MM-DD or YYYY)
|
|
3132
3138
|
|
|
3133
3139
|
time_range: Time range filters passed to Webit SERP API as 'time' parameter.
|
|
@@ -3157,6 +3163,7 @@ class Nimble(SyncAPIClient):
|
|
|
3157
3163
|
"max_results": max_results,
|
|
3158
3164
|
"max_subagents": max_subagents,
|
|
3159
3165
|
"output_format": output_format,
|
|
3166
|
+
"search_depth": search_depth,
|
|
3160
3167
|
"start_date": start_date,
|
|
3161
3168
|
"time_range": time_range,
|
|
3162
3169
|
},
|
|
@@ -6213,7 +6220,7 @@ class AsyncNimble(AsyncAPIClient):
|
|
|
6213
6220
|
query: str,
|
|
6214
6221
|
content_type: Optional[SequenceNotStr[str]] | Omit = omit,
|
|
6215
6222
|
country: str | Omit = omit,
|
|
6216
|
-
deep_search: bool | Omit = omit,
|
|
6223
|
+
deep_search: Optional[bool] | Omit = omit,
|
|
6217
6224
|
end_date: Optional[str] | Omit = omit,
|
|
6218
6225
|
exclude_domains: Optional[SequenceNotStr[str]] | Omit = omit,
|
|
6219
6226
|
focus: Union[str, SequenceNotStr[str]] | Omit = omit,
|
|
@@ -6223,6 +6230,7 @@ class AsyncNimble(AsyncAPIClient):
|
|
|
6223
6230
|
max_results: int | Omit = omit,
|
|
6224
6231
|
max_subagents: int | Omit = omit,
|
|
6225
6232
|
output_format: Literal["plain_text", "markdown", "simplified_html"] | Omit = omit,
|
|
6233
|
+
search_depth: Optional[Literal["lite", "fast", "deep"]] | Omit = omit,
|
|
6226
6234
|
start_date: Optional[str] | Omit = omit,
|
|
6227
6235
|
time_range: Optional[Literal["hour", "day", "week", "month", "year"]] | Omit = omit,
|
|
6228
6236
|
# Use the following arguments if you need to pass additional parameters to the API that aren't available via kwargs.
|
|
@@ -6244,9 +6252,7 @@ class AsyncNimble(AsyncAPIClient):
|
|
|
6244
6252
|
|
|
6245
6253
|
country: Country code for geo-targeted results (e.g., 'US', 'GB', 'IL')
|
|
6246
6254
|
|
|
6247
|
-
deep_search:
|
|
6248
|
-
Mode (false): returns metadata only (title, snippet, URL) for quick,
|
|
6249
|
-
token-efficient results.
|
|
6255
|
+
deep_search: Deprecated. Use search_depth instead. true maps to 'deep', false maps to 'lite'.
|
|
6250
6256
|
|
|
6251
6257
|
end_date: Filter results before this date (format: YYYY-MM-DD or YYYY)
|
|
6252
6258
|
|
|
@@ -6269,6 +6275,13 @@ class AsyncNimble(AsyncAPIClient):
|
|
|
6269
6275
|
|
|
6270
6276
|
output_format: Output format: plain_text, markdown, or simplified_html
|
|
6271
6277
|
|
|
6278
|
+
search_depth: Controls content richness and latency of search results.
|
|
6279
|
+
|
|
6280
|
+
- lite: Token-efficient metadata for high-volume pipelines (title, URL,
|
|
6281
|
+
description only)
|
|
6282
|
+
- fast: Rich content (~2K chars) optimized for AI agents
|
|
6283
|
+
- deep: Full page content via Webit scraping for comprehensive analysis
|
|
6284
|
+
|
|
6272
6285
|
start_date: Filter results after this date (format: YYYY-MM-DD or YYYY)
|
|
6273
6286
|
|
|
6274
6287
|
time_range: Time range filters passed to Webit SERP API as 'time' parameter.
|
|
@@ -6298,6 +6311,7 @@ class AsyncNimble(AsyncAPIClient):
|
|
|
6298
6311
|
"max_results": max_results,
|
|
6299
6312
|
"max_subagents": max_subagents,
|
|
6300
6313
|
"output_format": output_format,
|
|
6314
|
+
"search_depth": search_depth,
|
|
6301
6315
|
"start_date": start_date,
|
|
6302
6316
|
"time_range": time_range,
|
|
6303
6317
|
},
|
|
@@ -51,9 +51,10 @@ class AgentResource(SyncAPIResource):
|
|
|
51
51
|
self,
|
|
52
52
|
*,
|
|
53
53
|
limit: int | Omit = omit,
|
|
54
|
-
managed_by: Optional[Literal["nimble", "community"]] | Omit = omit,
|
|
54
|
+
managed_by: Optional[Literal["nimble", "community", "self_managed"]] | Omit = omit,
|
|
55
55
|
offset: int | Omit = omit,
|
|
56
|
-
privacy: Literal["public", "private", "all"] | Omit = omit,
|
|
56
|
+
privacy: Optional[Literal["public", "private", "all"]] | Omit = omit,
|
|
57
|
+
search: Optional[str] | Omit = omit,
|
|
57
58
|
# Use the following arguments if you need to pass additional parameters to the API that aren't available via kwargs.
|
|
58
59
|
# The extra values given here take precedence over values defined on the client or passed to this method.
|
|
59
60
|
extra_headers: Headers | None = None,
|
|
@@ -67,12 +68,14 @@ class AgentResource(SyncAPIResource):
|
|
|
67
68
|
Args:
|
|
68
69
|
limit: Number of results per page
|
|
69
70
|
|
|
70
|
-
managed_by: Filter
|
|
71
|
+
managed_by: Filter templates by attribution
|
|
71
72
|
|
|
72
73
|
offset: Pagination offset
|
|
73
74
|
|
|
74
75
|
privacy: Filter by privacy level
|
|
75
76
|
|
|
77
|
+
search: Search templates by name, domain, or vertical
|
|
78
|
+
|
|
76
79
|
extra_headers: Send extra headers
|
|
77
80
|
|
|
78
81
|
extra_query: Add additional query parameters to the request
|
|
@@ -94,6 +97,7 @@ class AgentResource(SyncAPIResource):
|
|
|
94
97
|
"managed_by": managed_by,
|
|
95
98
|
"offset": offset,
|
|
96
99
|
"privacy": privacy,
|
|
100
|
+
"search": search,
|
|
97
101
|
},
|
|
98
102
|
agent_list_params.AgentListParams,
|
|
99
103
|
),
|
|
@@ -261,9 +265,10 @@ class AsyncAgentResource(AsyncAPIResource):
|
|
|
261
265
|
self,
|
|
262
266
|
*,
|
|
263
267
|
limit: int | Omit = omit,
|
|
264
|
-
managed_by: Optional[Literal["nimble", "community"]] | Omit = omit,
|
|
268
|
+
managed_by: Optional[Literal["nimble", "community", "self_managed"]] | Omit = omit,
|
|
265
269
|
offset: int | Omit = omit,
|
|
266
|
-
privacy: Literal["public", "private", "all"] | Omit = omit,
|
|
270
|
+
privacy: Optional[Literal["public", "private", "all"]] | Omit = omit,
|
|
271
|
+
search: Optional[str] | Omit = omit,
|
|
267
272
|
# Use the following arguments if you need to pass additional parameters to the API that aren't available via kwargs.
|
|
268
273
|
# The extra values given here take precedence over values defined on the client or passed to this method.
|
|
269
274
|
extra_headers: Headers | None = None,
|
|
@@ -277,12 +282,14 @@ class AsyncAgentResource(AsyncAPIResource):
|
|
|
277
282
|
Args:
|
|
278
283
|
limit: Number of results per page
|
|
279
284
|
|
|
280
|
-
managed_by: Filter
|
|
285
|
+
managed_by: Filter templates by attribution
|
|
281
286
|
|
|
282
287
|
offset: Pagination offset
|
|
283
288
|
|
|
284
289
|
privacy: Filter by privacy level
|
|
285
290
|
|
|
291
|
+
search: Search templates by name, domain, or vertical
|
|
292
|
+
|
|
286
293
|
extra_headers: Send extra headers
|
|
287
294
|
|
|
288
295
|
extra_query: Add additional query parameters to the request
|
|
@@ -304,6 +311,7 @@ class AsyncAgentResource(AsyncAPIResource):
|
|
|
304
311
|
"managed_by": managed_by,
|
|
305
312
|
"offset": offset,
|
|
306
313
|
"privacy": privacy,
|
|
314
|
+
"search": search,
|
|
307
315
|
},
|
|
308
316
|
agent_list_params.AgentListParams,
|
|
309
317
|
),
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
# File generated from our OpenAPI spec by Stainless. See CONTRIBUTING.md for details.
|
|
2
2
|
|
|
3
|
-
from typing import
|
|
3
|
+
from typing import List, Optional
|
|
4
4
|
|
|
5
5
|
from .._models import BaseModel
|
|
6
6
|
|
|
@@ -50,6 +50,6 @@ class AgentGetResponse(BaseModel):
|
|
|
50
50
|
|
|
51
51
|
managed_by: Optional[str] = None
|
|
52
52
|
|
|
53
|
-
output_schema: Optional[
|
|
53
|
+
output_schema: Optional[object] = None
|
|
54
54
|
|
|
55
55
|
vertical: Optional[str] = None
|
|
@@ -12,11 +12,14 @@ class AgentListParams(TypedDict, total=False):
|
|
|
12
12
|
limit: int
|
|
13
13
|
"""Number of results per page"""
|
|
14
14
|
|
|
15
|
-
managed_by: Optional[Literal["nimble", "community"]]
|
|
16
|
-
"""Filter
|
|
15
|
+
managed_by: Optional[Literal["nimble", "community", "self_managed"]]
|
|
16
|
+
"""Filter templates by attribution"""
|
|
17
17
|
|
|
18
18
|
offset: int
|
|
19
19
|
"""Pagination offset"""
|
|
20
20
|
|
|
21
|
-
privacy: Literal["public", "private", "all"]
|
|
21
|
+
privacy: Optional[Literal["public", "private", "all"]]
|
|
22
22
|
"""Filter by privacy level"""
|
|
23
|
+
|
|
24
|
+
search: Optional[str]
|
|
25
|
+
"""Search templates by name, domain, or vertical"""
|
{nimble_python-0.10.0 → nimble_python-0.11.0}/src/nimble_python/types/client_extract_async_params.py
RENAMED
|
@@ -999,7 +999,7 @@ BrowserAction: TypeAlias = Union[
|
|
|
999
999
|
]
|
|
1000
1000
|
|
|
1001
1001
|
|
|
1002
|
-
class
|
|
1002
|
+
class CookiesUnionMember0(TypedDict, total=False, extra_items=object): # type: ignore[call-arg]
|
|
1003
1003
|
creation: Optional[str]
|
|
1004
1004
|
|
|
1005
1005
|
domain: Optional[str]
|
|
@@ -1029,9 +1029,6 @@ class CookiesUnionMember0Typed(TypedDict, total=False):
|
|
|
1029
1029
|
value: str
|
|
1030
1030
|
|
|
1031
1031
|
|
|
1032
|
-
CookiesUnionMember0: TypeAlias = Union[CookiesUnionMember0Typed, Dict[str, object]]
|
|
1033
|
-
|
|
1034
|
-
|
|
1035
1032
|
class NetworkCaptureURL(TypedDict, total=False):
|
|
1036
1033
|
value: Required[str]
|
|
1037
1034
|
|
{nimble_python-0.10.0 → nimble_python-0.11.0}/src/nimble_python/types/client_extract_params.py
RENAMED
|
@@ -984,7 +984,7 @@ BrowserAction: TypeAlias = Union[
|
|
|
984
984
|
]
|
|
985
985
|
|
|
986
986
|
|
|
987
|
-
class
|
|
987
|
+
class CookiesUnionMember0(TypedDict, total=False, extra_items=object): # type: ignore[call-arg]
|
|
988
988
|
creation: Optional[str]
|
|
989
989
|
|
|
990
990
|
domain: Optional[str]
|
|
@@ -1014,9 +1014,6 @@ class CookiesUnionMember0Typed(TypedDict, total=False):
|
|
|
1014
1014
|
value: str
|
|
1015
1015
|
|
|
1016
1016
|
|
|
1017
|
-
CookiesUnionMember0: TypeAlias = Union[CookiesUnionMember0Typed, Dict[str, object]]
|
|
1018
|
-
|
|
1019
|
-
|
|
1020
1017
|
class NetworkCaptureURL(TypedDict, total=False):
|
|
1021
1018
|
value: Required[str]
|
|
1022
1019
|
|
{nimble_python-0.10.0 → nimble_python-0.11.0}/src/nimble_python/types/client_search_params.py
RENAMED
|
@@ -24,11 +24,10 @@ class ClientSearchParams(TypedDict, total=False):
|
|
|
24
24
|
country: str
|
|
25
25
|
"""Country code for geo-targeted results (e.g., 'US', 'GB', 'IL')"""
|
|
26
26
|
|
|
27
|
-
deep_search: bool
|
|
28
|
-
"""
|
|
27
|
+
deep_search: Optional[bool]
|
|
28
|
+
"""Deprecated.
|
|
29
29
|
|
|
30
|
-
|
|
31
|
-
token-efficient results.
|
|
30
|
+
Use search_depth instead. true maps to 'deep', false maps to 'lite'.
|
|
32
31
|
"""
|
|
33
32
|
|
|
34
33
|
end_date: Optional[str]
|
|
@@ -67,6 +66,15 @@ class ClientSearchParams(TypedDict, total=False):
|
|
|
67
66
|
output_format: Literal["plain_text", "markdown", "simplified_html"]
|
|
68
67
|
"""Output format: plain_text, markdown, or simplified_html"""
|
|
69
68
|
|
|
69
|
+
search_depth: Optional[Literal["lite", "fast", "deep"]]
|
|
70
|
+
"""Controls content richness and latency of search results.
|
|
71
|
+
|
|
72
|
+
- lite: Token-efficient metadata for high-volume pipelines (title, URL,
|
|
73
|
+
description only)
|
|
74
|
+
- fast: Rich content (~2K chars) optimized for AI agents
|
|
75
|
+
- deep: Full page content via Webit scraping for comprehensive analysis
|
|
76
|
+
"""
|
|
77
|
+
|
|
70
78
|
start_date: Optional[str]
|
|
71
79
|
"""Filter results after this date (format: YYYY-MM-DD or YYYY)"""
|
|
72
80
|
|
|
@@ -118,7 +118,7 @@ ExtractOptionsBrowserAction: TypeAlias = Union[
|
|
|
118
118
|
]
|
|
119
119
|
|
|
120
120
|
|
|
121
|
-
class
|
|
121
|
+
class ExtractOptionsCookiesUnionMember0(TypedDict, total=False, extra_items=object): # type: ignore[call-arg]
|
|
122
122
|
creation: Optional[str]
|
|
123
123
|
|
|
124
124
|
domain: Optional[str]
|
|
@@ -148,9 +148,6 @@ class ExtractOptionsCookiesUnionMember0Typed(TypedDict, total=False):
|
|
|
148
148
|
value: str
|
|
149
149
|
|
|
150
150
|
|
|
151
|
-
ExtractOptionsCookiesUnionMember0: TypeAlias = Union[ExtractOptionsCookiesUnionMember0Typed, Dict[str, object]]
|
|
152
|
-
|
|
153
|
-
|
|
154
151
|
class ExtractOptionsNetworkCaptureURL(TypedDict, total=False):
|
|
155
152
|
value: Required[str]
|
|
156
153
|
|
{nimble_python-0.10.0 → nimble_python-0.11.0}/src/nimble_python/types/extract_async_response.py
RENAMED
|
@@ -33,7 +33,7 @@ class Task(BaseModel):
|
|
|
33
33
|
account_name: Optional[str] = None
|
|
34
34
|
"""Account name that owns the task."""
|
|
35
35
|
|
|
36
|
-
api_type: Optional[Literal["web", "serp", "ecommerce", "social", "agent", "extract"]] = None
|
|
36
|
+
api_type: Optional[Literal["web", "serp", "ecommerce", "social", "media", "agent", "extract"]] = None
|
|
37
37
|
|
|
38
38
|
batch_id: Optional[str] = None
|
|
39
39
|
"""Batch ID if this task is part of a batch."""
|
|
@@ -2,13 +2,13 @@
|
|
|
2
2
|
|
|
3
3
|
from __future__ import annotations
|
|
4
4
|
|
|
5
|
-
from typing import
|
|
5
|
+
from typing import Union
|
|
6
6
|
from typing_extensions import Literal, Required, TypeAlias, TypedDict
|
|
7
7
|
|
|
8
8
|
__all__ = ["GetCookiesAction", "GetCookies", "GetCookiesUnionMember1"]
|
|
9
9
|
|
|
10
10
|
|
|
11
|
-
class
|
|
11
|
+
class GetCookiesUnionMember1(TypedDict, total=False, extra_items=object): # type: ignore[call-arg]
|
|
12
12
|
required: Union[Literal["true", "false"], bool]
|
|
13
13
|
"""Whether this action is required.
|
|
14
14
|
|
|
@@ -23,8 +23,6 @@ class GetCookiesUnionMember1Typed(TypedDict, total=False):
|
|
|
23
23
|
"""
|
|
24
24
|
|
|
25
25
|
|
|
26
|
-
GetCookiesUnionMember1: TypeAlias = Union[GetCookiesUnionMember1Typed, Dict[str, object]]
|
|
27
|
-
|
|
28
26
|
GetCookies: TypeAlias = Union[bool, GetCookiesUnionMember1]
|
|
29
27
|
|
|
30
28
|
|
|
@@ -31,7 +31,7 @@ class Task(BaseModel):
|
|
|
31
31
|
account_name: Optional[str] = None
|
|
32
32
|
"""Account name that owns the task."""
|
|
33
33
|
|
|
34
|
-
api_type: Optional[Literal["web", "serp", "ecommerce", "social", "agent", "extract"]] = None
|
|
34
|
+
api_type: Optional[Literal["web", "serp", "ecommerce", "social", "media", "agent", "extract"]] = None
|
|
35
35
|
|
|
36
36
|
batch_id: Optional[str] = None
|
|
37
37
|
"""Batch ID if this task is part of a batch."""
|
|
@@ -31,7 +31,7 @@ class Data(BaseModel):
|
|
|
31
31
|
account_name: Optional[str] = None
|
|
32
32
|
"""Account name that owns the task."""
|
|
33
33
|
|
|
34
|
-
api_type: Optional[Literal["web", "serp", "ecommerce", "social", "agent", "extract"]] = None
|
|
34
|
+
api_type: Optional[Literal["web", "serp", "ecommerce", "social", "media", "agent", "extract"]] = None
|
|
35
35
|
|
|
36
36
|
batch_id: Optional[str] = None
|
|
37
37
|
"""Batch ID if this task is part of a batch."""
|
|
@@ -36,6 +36,7 @@ class TestAgent:
|
|
|
36
36
|
managed_by="nimble",
|
|
37
37
|
offset=0,
|
|
38
38
|
privacy="public",
|
|
39
|
+
search="search",
|
|
39
40
|
)
|
|
40
41
|
assert_matches_type(AgentListResponse, agent, path=["response"])
|
|
41
42
|
|
|
@@ -222,6 +223,7 @@ class TestAsyncAgent:
|
|
|
222
223
|
managed_by="nimble",
|
|
223
224
|
offset=0,
|
|
224
225
|
privacy="public",
|
|
226
|
+
search="search",
|
|
225
227
|
)
|
|
226
228
|
assert_matches_type(AgentListResponse, agent, path=["response"])
|
|
227
229
|
|
|
@@ -405,6 +405,7 @@ class TestClient:
|
|
|
405
405
|
max_results=1,
|
|
406
406
|
max_subagents=1,
|
|
407
407
|
output_format="plain_text",
|
|
408
|
+
search_depth="lite",
|
|
408
409
|
start_date="start_date",
|
|
409
410
|
time_range="hour",
|
|
410
411
|
)
|
|
@@ -825,6 +826,7 @@ class TestAsyncClient:
|
|
|
825
826
|
max_results=1,
|
|
826
827
|
max_subagents=1,
|
|
827
828
|
output_format="plain_text",
|
|
829
|
+
search_depth="lite",
|
|
828
830
|
start_date="start_date",
|
|
829
831
|
time_range="hour",
|
|
830
832
|
)
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
{nimble_python-0.10.0 → nimble_python-0.11.0}/src/nimble_python/types/agent_list_response.py
RENAMED
|
File without changes
|
{nimble_python-0.10.0 → nimble_python-0.11.0}/src/nimble_python/types/agent_run_async_params.py
RENAMED
|
File without changes
|
{nimble_python-0.10.0 → nimble_python-0.11.0}/src/nimble_python/types/agent_run_async_response.py
RENAMED
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
{nimble_python-0.10.0 → nimble_python-0.11.0}/src/nimble_python/types/crawl_list_response.py
RENAMED
|
File without changes
|
|
File without changes
|
{nimble_python-0.10.0 → nimble_python-0.11.0}/src/nimble_python/types/crawl_status_response.py
RENAMED
|
File without changes
|
{nimble_python-0.10.0 → nimble_python-0.11.0}/src/nimble_python/types/crawl_terminate_response.py
RENAMED
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
{nimble_python-0.10.0 → nimble_python-0.11.0}/src/nimble_python/types/shared/auto_scroll_action.py
RENAMED
|
File without changes
|
{nimble_python-0.10.0 → nimble_python-0.11.0}/src/nimble_python/types/shared/click_action.py
RENAMED
|
File without changes
|
|
File without changes
|
{nimble_python-0.10.0 → nimble_python-0.11.0}/src/nimble_python/types/shared/fetch_action.py
RENAMED
|
File without changes
|
|
File without changes
|
{nimble_python-0.10.0 → nimble_python-0.11.0}/src/nimble_python/types/shared/get_cookies_action.py
RENAMED
|
File without changes
|
|
File without changes
|
{nimble_python-0.10.0 → nimble_python-0.11.0}/src/nimble_python/types/shared/press_action.py
RENAMED
|
File without changes
|
{nimble_python-0.10.0 → nimble_python-0.11.0}/src/nimble_python/types/shared/screenshot_action.py
RENAMED
|
File without changes
|
{nimble_python-0.10.0 → nimble_python-0.11.0}/src/nimble_python/types/shared/scroll_action.py
RENAMED
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
{nimble_python-0.10.0 → nimble_python-0.11.0}/src/nimble_python/types/shared_params/__init__.py
RENAMED
|
File without changes
|
|
File without changes
|
{nimble_python-0.10.0 → nimble_python-0.11.0}/src/nimble_python/types/shared_params/click_action.py
RENAMED
|
File without changes
|
{nimble_python-0.10.0 → nimble_python-0.11.0}/src/nimble_python/types/shared_params/eval_action.py
RENAMED
|
File without changes
|
{nimble_python-0.10.0 → nimble_python-0.11.0}/src/nimble_python/types/shared_params/fetch_action.py
RENAMED
|
File without changes
|
{nimble_python-0.10.0 → nimble_python-0.11.0}/src/nimble_python/types/shared_params/fill_action.py
RENAMED
|
File without changes
|
{nimble_python-0.10.0 → nimble_python-0.11.0}/src/nimble_python/types/shared_params/goto_action.py
RENAMED
|
File without changes
|
{nimble_python-0.10.0 → nimble_python-0.11.0}/src/nimble_python/types/shared_params/press_action.py
RENAMED
|
File without changes
|
|
File without changes
|
{nimble_python-0.10.0 → nimble_python-0.11.0}/src/nimble_python/types/shared_params/scroll_action.py
RENAMED
|
File without changes
|
{nimble_python-0.10.0 → nimble_python-0.11.0}/src/nimble_python/types/shared_params/wait_action.py
RENAMED
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
{nimble_python-0.10.0 → nimble_python-0.11.0}/src/nimble_python/types/task_results_response.py
RENAMED
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|