landingai-ade 0.14.1__tar.gz → 0.15.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.
Potentially problematic release.
This version of landingai-ade might be problematic. Click here for more details.
- landingai_ade-0.15.0/.release-please-manifest.json +3 -0
- {landingai_ade-0.14.1 → landingai_ade-0.15.0}/CHANGELOG.md +8 -0
- {landingai_ade-0.14.1 → landingai_ade-0.15.0}/PKG-INFO +1 -1
- {landingai_ade-0.14.1 → landingai_ade-0.15.0}/pyproject.toml +1 -1
- {landingai_ade-0.14.1 → landingai_ade-0.15.0}/src/landingai_ade/_client.py +6 -4
- {landingai_ade-0.14.1 → landingai_ade-0.15.0}/src/landingai_ade/_version.py +1 -1
- {landingai_ade-0.14.1 → landingai_ade-0.15.0}/src/landingai_ade/types/client_extract_params.py +6 -3
- {landingai_ade-0.14.1 → landingai_ade-0.15.0}/tests/api_resources/test_client.py +2 -2
- landingai_ade-0.14.1/.release-please-manifest.json +0 -3
- {landingai_ade-0.14.1 → landingai_ade-0.15.0}/.gitignore +0 -0
- {landingai_ade-0.14.1 → landingai_ade-0.15.0}/CONTRIBUTING.md +0 -0
- {landingai_ade-0.14.1 → landingai_ade-0.15.0}/LICENSE +0 -0
- {landingai_ade-0.14.1 → landingai_ade-0.15.0}/README.md +0 -0
- {landingai_ade-0.14.1 → landingai_ade-0.15.0}/SECURITY.md +0 -0
- {landingai_ade-0.14.1 → landingai_ade-0.15.0}/api.md +0 -0
- {landingai_ade-0.14.1 → landingai_ade-0.15.0}/bin/check-release-environment +0 -0
- {landingai_ade-0.14.1 → landingai_ade-0.15.0}/bin/publish-pypi +0 -0
- {landingai_ade-0.14.1 → landingai_ade-0.15.0}/examples/.keep +0 -0
- {landingai_ade-0.14.1 → landingai_ade-0.15.0}/noxfile.py +0 -0
- {landingai_ade-0.14.1 → landingai_ade-0.15.0}/release-please-config.json +0 -0
- {landingai_ade-0.14.1 → landingai_ade-0.15.0}/requirements-dev.lock +0 -0
- {landingai_ade-0.14.1 → landingai_ade-0.15.0}/requirements.lock +0 -0
- {landingai_ade-0.14.1 → landingai_ade-0.15.0}/src/landingai_ade/__init__.py +0 -0
- {landingai_ade-0.14.1 → landingai_ade-0.15.0}/src/landingai_ade/_base_client.py +0 -0
- {landingai_ade-0.14.1 → landingai_ade-0.15.0}/src/landingai_ade/_compat.py +0 -0
- {landingai_ade-0.14.1 → landingai_ade-0.15.0}/src/landingai_ade/_constants.py +0 -0
- {landingai_ade-0.14.1 → landingai_ade-0.15.0}/src/landingai_ade/_exceptions.py +0 -0
- {landingai_ade-0.14.1 → landingai_ade-0.15.0}/src/landingai_ade/_files.py +0 -0
- {landingai_ade-0.14.1 → landingai_ade-0.15.0}/src/landingai_ade/_models.py +0 -0
- {landingai_ade-0.14.1 → landingai_ade-0.15.0}/src/landingai_ade/_qs.py +0 -0
- {landingai_ade-0.14.1 → landingai_ade-0.15.0}/src/landingai_ade/_resource.py +0 -0
- {landingai_ade-0.14.1 → landingai_ade-0.15.0}/src/landingai_ade/_response.py +0 -0
- {landingai_ade-0.14.1 → landingai_ade-0.15.0}/src/landingai_ade/_streaming.py +0 -0
- {landingai_ade-0.14.1 → landingai_ade-0.15.0}/src/landingai_ade/_types.py +0 -0
- {landingai_ade-0.14.1 → landingai_ade-0.15.0}/src/landingai_ade/_utils/__init__.py +0 -0
- {landingai_ade-0.14.1 → landingai_ade-0.15.0}/src/landingai_ade/_utils/_compat.py +0 -0
- {landingai_ade-0.14.1 → landingai_ade-0.15.0}/src/landingai_ade/_utils/_datetime_parse.py +0 -0
- {landingai_ade-0.14.1 → landingai_ade-0.15.0}/src/landingai_ade/_utils/_logs.py +0 -0
- {landingai_ade-0.14.1 → landingai_ade-0.15.0}/src/landingai_ade/_utils/_proxy.py +0 -0
- {landingai_ade-0.14.1 → landingai_ade-0.15.0}/src/landingai_ade/_utils/_reflection.py +0 -0
- {landingai_ade-0.14.1 → landingai_ade-0.15.0}/src/landingai_ade/_utils/_resources_proxy.py +0 -0
- {landingai_ade-0.14.1 → landingai_ade-0.15.0}/src/landingai_ade/_utils/_streams.py +0 -0
- {landingai_ade-0.14.1 → landingai_ade-0.15.0}/src/landingai_ade/_utils/_sync.py +0 -0
- {landingai_ade-0.14.1 → landingai_ade-0.15.0}/src/landingai_ade/_utils/_transform.py +0 -0
- {landingai_ade-0.14.1 → landingai_ade-0.15.0}/src/landingai_ade/_utils/_typing.py +0 -0
- {landingai_ade-0.14.1 → landingai_ade-0.15.0}/src/landingai_ade/_utils/_utils.py +0 -0
- {landingai_ade-0.14.1 → landingai_ade-0.15.0}/src/landingai_ade/lib/.keep +0 -0
- {landingai_ade-0.14.1 → landingai_ade-0.15.0}/src/landingai_ade/lib/__init__.py +0 -0
- {landingai_ade-0.14.1 → landingai_ade-0.15.0}/src/landingai_ade/lib/schema_utils.py +0 -0
- {landingai_ade-0.14.1 → landingai_ade-0.15.0}/src/landingai_ade/lib/url_utils.py +0 -0
- {landingai_ade-0.14.1 → landingai_ade-0.15.0}/src/landingai_ade/py.typed +0 -0
- {landingai_ade-0.14.1 → landingai_ade-0.15.0}/src/landingai_ade/resources/__init__.py +0 -0
- {landingai_ade-0.14.1 → landingai_ade-0.15.0}/src/landingai_ade/types/__init__.py +0 -0
- {landingai_ade-0.14.1 → landingai_ade-0.15.0}/src/landingai_ade/types/client_parse_params.py +0 -0
- {landingai_ade-0.14.1 → landingai_ade-0.15.0}/src/landingai_ade/types/extract_response.py +0 -0
- {landingai_ade-0.14.1 → landingai_ade-0.15.0}/src/landingai_ade/types/parse_response.py +0 -0
- {landingai_ade-0.14.1 → landingai_ade-0.15.0}/tests/__init__.py +0 -0
- {landingai_ade-0.14.1 → landingai_ade-0.15.0}/tests/api_resources/__init__.py +0 -0
- {landingai_ade-0.14.1 → landingai_ade-0.15.0}/tests/conftest.py +0 -0
- {landingai_ade-0.14.1 → landingai_ade-0.15.0}/tests/sample_file.txt +0 -0
- {landingai_ade-0.14.1 → landingai_ade-0.15.0}/tests/test_client.py +0 -0
- {landingai_ade-0.14.1 → landingai_ade-0.15.0}/tests/test_deepcopy.py +0 -0
- {landingai_ade-0.14.1 → landingai_ade-0.15.0}/tests/test_extract_files.py +0 -0
- {landingai_ade-0.14.1 → landingai_ade-0.15.0}/tests/test_files.py +0 -0
- {landingai_ade-0.14.1 → landingai_ade-0.15.0}/tests/test_models.py +0 -0
- {landingai_ade-0.14.1 → landingai_ade-0.15.0}/tests/test_qs.py +0 -0
- {landingai_ade-0.14.1 → landingai_ade-0.15.0}/tests/test_required_args.py +0 -0
- {landingai_ade-0.14.1 → landingai_ade-0.15.0}/tests/test_response.py +0 -0
- {landingai_ade-0.14.1 → landingai_ade-0.15.0}/tests/test_streaming.py +0 -0
- {landingai_ade-0.14.1 → landingai_ade-0.15.0}/tests/test_transform.py +0 -0
- {landingai_ade-0.14.1 → landingai_ade-0.15.0}/tests/test_utils/test_datetime_parse.py +0 -0
- {landingai_ade-0.14.1 → landingai_ade-0.15.0}/tests/test_utils/test_proxy.py +0 -0
- {landingai_ade-0.14.1 → landingai_ade-0.15.0}/tests/test_utils/test_typing.py +0 -0
- {landingai_ade-0.14.1 → landingai_ade-0.15.0}/tests/utils.py +0 -0
|
@@ -1,5 +1,13 @@
|
|
|
1
1
|
# Changelog
|
|
2
2
|
|
|
3
|
+
## 0.15.0 (2025-09-29)
|
|
4
|
+
|
|
5
|
+
Full Changelog: [v0.14.1...v0.15.0](https://github.com/landing-ai/ade-python/compare/v0.14.1...v0.15.0)
|
|
6
|
+
|
|
7
|
+
### Features
|
|
8
|
+
|
|
9
|
+
* **api:** default models for extract ([7250c3f](https://github.com/landing-ai/ade-python/commit/7250c3f0978e5eb2d65f0535e80a5c7351d1f9f0))
|
|
10
|
+
|
|
3
11
|
## 0.14.1 (2025-09-29)
|
|
4
12
|
|
|
5
13
|
Full Changelog: [v0.14.0...v0.14.1](https://github.com/landing-ai/ade-python/compare/v0.14.0...v0.14.1)
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
Metadata-Version: 2.3
|
|
2
2
|
Name: landingai-ade
|
|
3
|
-
Version: 0.
|
|
3
|
+
Version: 0.15.0
|
|
4
4
|
Summary: The official Python library for the landingai-ade API
|
|
5
5
|
Project-URL: Homepage, https://github.com/landing-ai/ade-python
|
|
6
6
|
Project-URL: Repository, https://github.com/landing-ai/ade-python
|
|
@@ -237,7 +237,7 @@ class LandingAIADE(SyncAPIClient):
|
|
|
237
237
|
schema: str,
|
|
238
238
|
markdown: Optional[FileTypes] | Omit = omit,
|
|
239
239
|
markdown_url: Optional[str] | Omit = omit,
|
|
240
|
-
model: Optional[
|
|
240
|
+
model: Optional[str] | Omit = omit,
|
|
241
241
|
# Use the following arguments if you need to pass additional parameters to the API that aren't available via kwargs.
|
|
242
242
|
# The extra values given here take precedence over values defined on the client or passed to this method.
|
|
243
243
|
extra_headers: Headers | None = None,
|
|
@@ -264,7 +264,8 @@ class LandingAIADE(SyncAPIClient):
|
|
|
264
264
|
|
|
265
265
|
markdown_url: The URL to the Markdown file to extract data from.
|
|
266
266
|
|
|
267
|
-
model: The version of the model to use for extraction.
|
|
267
|
+
model: The version of the model to use for extraction. Use `extract-latest` to use the
|
|
268
|
+
latest version.
|
|
268
269
|
|
|
269
270
|
extra_headers: Send extra headers
|
|
270
271
|
|
|
@@ -584,7 +585,7 @@ class AsyncLandingAIADE(AsyncAPIClient):
|
|
|
584
585
|
schema: str,
|
|
585
586
|
markdown: Optional[FileTypes] | Omit = omit,
|
|
586
587
|
markdown_url: Optional[str] | Omit = omit,
|
|
587
|
-
model: Optional[
|
|
588
|
+
model: Optional[str] | Omit = omit,
|
|
588
589
|
# Use the following arguments if you need to pass additional parameters to the API that aren't available via kwargs.
|
|
589
590
|
# The extra values given here take precedence over values defined on the client or passed to this method.
|
|
590
591
|
extra_headers: Headers | None = None,
|
|
@@ -611,7 +612,8 @@ class AsyncLandingAIADE(AsyncAPIClient):
|
|
|
611
612
|
|
|
612
613
|
markdown_url: The URL to the Markdown file to extract data from.
|
|
613
614
|
|
|
614
|
-
model: The version of the model to use for extraction.
|
|
615
|
+
model: The version of the model to use for extraction. Use `extract-latest` to use the
|
|
616
|
+
latest version.
|
|
615
617
|
|
|
616
618
|
extra_headers: Send extra headers
|
|
617
619
|
|
{landingai_ade-0.14.1 → landingai_ade-0.15.0}/src/landingai_ade/types/client_extract_params.py
RENAMED
|
@@ -3,7 +3,7 @@
|
|
|
3
3
|
from __future__ import annotations
|
|
4
4
|
|
|
5
5
|
from typing import Optional
|
|
6
|
-
from typing_extensions import
|
|
6
|
+
from typing_extensions import Required, TypedDict
|
|
7
7
|
|
|
8
8
|
from .._types import FileTypes
|
|
9
9
|
|
|
@@ -25,5 +25,8 @@ class ClientExtractParams(TypedDict, total=False):
|
|
|
25
25
|
markdown_url: Optional[str]
|
|
26
26
|
"""The URL to the Markdown file to extract data from."""
|
|
27
27
|
|
|
28
|
-
model: Optional[
|
|
29
|
-
"""The version of the model to use for extraction.
|
|
28
|
+
model: Optional[str]
|
|
29
|
+
"""The version of the model to use for extraction.
|
|
30
|
+
|
|
31
|
+
Use `extract-latest` to use the latest version.
|
|
32
|
+
"""
|
|
@@ -32,7 +32,7 @@ class TestClient:
|
|
|
32
32
|
schema="schema",
|
|
33
33
|
markdown=b"raw file contents",
|
|
34
34
|
markdown_url="markdown_url",
|
|
35
|
-
model="
|
|
35
|
+
model="model",
|
|
36
36
|
)
|
|
37
37
|
assert_matches_type(ExtractResponse, client_, path=["response"])
|
|
38
38
|
|
|
@@ -122,7 +122,7 @@ class TestAsyncClient:
|
|
|
122
122
|
schema="schema",
|
|
123
123
|
markdown=b"raw file contents",
|
|
124
124
|
markdown_url="markdown_url",
|
|
125
|
-
model="
|
|
125
|
+
model="model",
|
|
126
126
|
)
|
|
127
127
|
assert_matches_type(ExtractResponse, client, path=["response"])
|
|
128
128
|
|
|
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
|
|
File without changes
|
|
File without changes
|
{landingai_ade-0.14.1 → landingai_ade-0.15.0}/src/landingai_ade/types/client_parse_params.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
|