landingai-ade 0.12.0__tar.gz → 0.13.1__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.
- landingai_ade-0.13.1/.release-please-manifest.json +3 -0
- {landingai_ade-0.12.0 → landingai_ade-0.13.1}/CHANGELOG.md +12 -0
- {landingai_ade-0.12.0 → landingai_ade-0.13.1}/PKG-INFO +6 -6
- {landingai_ade-0.12.0 → landingai_ade-0.13.1}/README.md +5 -5
- {landingai_ade-0.12.0 → landingai_ade-0.13.1}/pyproject.toml +1 -1
- {landingai_ade-0.12.0 → landingai_ade-0.13.1}/src/landingai_ade/_client.py +0 -2
- {landingai_ade-0.12.0 → landingai_ade-0.13.1}/src/landingai_ade/_version.py +1 -1
- landingai_ade-0.12.0/.release-please-manifest.json +0 -3
- {landingai_ade-0.12.0 → landingai_ade-0.13.1}/.gitignore +0 -0
- {landingai_ade-0.12.0 → landingai_ade-0.13.1}/CONTRIBUTING.md +0 -0
- {landingai_ade-0.12.0 → landingai_ade-0.13.1}/LICENSE +0 -0
- {landingai_ade-0.12.0 → landingai_ade-0.13.1}/SECURITY.md +0 -0
- {landingai_ade-0.12.0 → landingai_ade-0.13.1}/api.md +0 -0
- {landingai_ade-0.12.0 → landingai_ade-0.13.1}/bin/check-release-environment +0 -0
- {landingai_ade-0.12.0 → landingai_ade-0.13.1}/bin/publish-pypi +0 -0
- {landingai_ade-0.12.0 → landingai_ade-0.13.1}/examples/.keep +0 -0
- {landingai_ade-0.12.0 → landingai_ade-0.13.1}/noxfile.py +0 -0
- {landingai_ade-0.12.0 → landingai_ade-0.13.1}/release-please-config.json +0 -0
- {landingai_ade-0.12.0 → landingai_ade-0.13.1}/requirements-dev.lock +0 -0
- {landingai_ade-0.12.0 → landingai_ade-0.13.1}/requirements.lock +0 -0
- {landingai_ade-0.12.0 → landingai_ade-0.13.1}/src/landingai_ade/__init__.py +0 -0
- {landingai_ade-0.12.0 → landingai_ade-0.13.1}/src/landingai_ade/_base_client.py +0 -0
- {landingai_ade-0.12.0 → landingai_ade-0.13.1}/src/landingai_ade/_compat.py +0 -0
- {landingai_ade-0.12.0 → landingai_ade-0.13.1}/src/landingai_ade/_constants.py +0 -0
- {landingai_ade-0.12.0 → landingai_ade-0.13.1}/src/landingai_ade/_exceptions.py +0 -0
- {landingai_ade-0.12.0 → landingai_ade-0.13.1}/src/landingai_ade/_files.py +0 -0
- {landingai_ade-0.12.0 → landingai_ade-0.13.1}/src/landingai_ade/_models.py +0 -0
- {landingai_ade-0.12.0 → landingai_ade-0.13.1}/src/landingai_ade/_qs.py +0 -0
- {landingai_ade-0.12.0 → landingai_ade-0.13.1}/src/landingai_ade/_resource.py +0 -0
- {landingai_ade-0.12.0 → landingai_ade-0.13.1}/src/landingai_ade/_response.py +0 -0
- {landingai_ade-0.12.0 → landingai_ade-0.13.1}/src/landingai_ade/_streaming.py +0 -0
- {landingai_ade-0.12.0 → landingai_ade-0.13.1}/src/landingai_ade/_types.py +0 -0
- {landingai_ade-0.12.0 → landingai_ade-0.13.1}/src/landingai_ade/_utils/__init__.py +0 -0
- {landingai_ade-0.12.0 → landingai_ade-0.13.1}/src/landingai_ade/_utils/_compat.py +0 -0
- {landingai_ade-0.12.0 → landingai_ade-0.13.1}/src/landingai_ade/_utils/_datetime_parse.py +0 -0
- {landingai_ade-0.12.0 → landingai_ade-0.13.1}/src/landingai_ade/_utils/_logs.py +0 -0
- {landingai_ade-0.12.0 → landingai_ade-0.13.1}/src/landingai_ade/_utils/_proxy.py +0 -0
- {landingai_ade-0.12.0 → landingai_ade-0.13.1}/src/landingai_ade/_utils/_reflection.py +0 -0
- {landingai_ade-0.12.0 → landingai_ade-0.13.1}/src/landingai_ade/_utils/_resources_proxy.py +0 -0
- {landingai_ade-0.12.0 → landingai_ade-0.13.1}/src/landingai_ade/_utils/_streams.py +0 -0
- {landingai_ade-0.12.0 → landingai_ade-0.13.1}/src/landingai_ade/_utils/_sync.py +0 -0
- {landingai_ade-0.12.0 → landingai_ade-0.13.1}/src/landingai_ade/_utils/_transform.py +0 -0
- {landingai_ade-0.12.0 → landingai_ade-0.13.1}/src/landingai_ade/_utils/_typing.py +0 -0
- {landingai_ade-0.12.0 → landingai_ade-0.13.1}/src/landingai_ade/_utils/_utils.py +0 -0
- {landingai_ade-0.12.0 → landingai_ade-0.13.1}/src/landingai_ade/lib/.keep +0 -0
- {landingai_ade-0.12.0 → landingai_ade-0.13.1}/src/landingai_ade/lib/__init__.py +0 -0
- {landingai_ade-0.12.0 → landingai_ade-0.13.1}/src/landingai_ade/lib/schema_utils.py +0 -0
- {landingai_ade-0.12.0 → landingai_ade-0.13.1}/src/landingai_ade/lib/url_utils.py +0 -0
- {landingai_ade-0.12.0 → landingai_ade-0.13.1}/src/landingai_ade/py.typed +0 -0
- {landingai_ade-0.12.0 → landingai_ade-0.13.1}/src/landingai_ade/resources/__init__.py +0 -0
- {landingai_ade-0.12.0 → landingai_ade-0.13.1}/src/landingai_ade/types/__init__.py +0 -0
- {landingai_ade-0.12.0 → landingai_ade-0.13.1}/src/landingai_ade/types/client_extract_params.py +0 -0
- {landingai_ade-0.12.0 → landingai_ade-0.13.1}/src/landingai_ade/types/client_parse_params.py +0 -0
- {landingai_ade-0.12.0 → landingai_ade-0.13.1}/src/landingai_ade/types/extract_response.py +0 -0
- {landingai_ade-0.12.0 → landingai_ade-0.13.1}/src/landingai_ade/types/parse_response.py +0 -0
- {landingai_ade-0.12.0 → landingai_ade-0.13.1}/tests/__init__.py +0 -0
- {landingai_ade-0.12.0 → landingai_ade-0.13.1}/tests/api_resources/__init__.py +0 -0
- {landingai_ade-0.12.0 → landingai_ade-0.13.1}/tests/api_resources/test_client.py +0 -0
- {landingai_ade-0.12.0 → landingai_ade-0.13.1}/tests/conftest.py +0 -0
- {landingai_ade-0.12.0 → landingai_ade-0.13.1}/tests/sample_file.txt +0 -0
- {landingai_ade-0.12.0 → landingai_ade-0.13.1}/tests/test_client.py +0 -0
- {landingai_ade-0.12.0 → landingai_ade-0.13.1}/tests/test_deepcopy.py +0 -0
- {landingai_ade-0.12.0 → landingai_ade-0.13.1}/tests/test_extract_files.py +0 -0
- {landingai_ade-0.12.0 → landingai_ade-0.13.1}/tests/test_files.py +0 -0
- {landingai_ade-0.12.0 → landingai_ade-0.13.1}/tests/test_models.py +0 -0
- {landingai_ade-0.12.0 → landingai_ade-0.13.1}/tests/test_qs.py +0 -0
- {landingai_ade-0.12.0 → landingai_ade-0.13.1}/tests/test_required_args.py +0 -0
- {landingai_ade-0.12.0 → landingai_ade-0.13.1}/tests/test_response.py +0 -0
- {landingai_ade-0.12.0 → landingai_ade-0.13.1}/tests/test_streaming.py +0 -0
- {landingai_ade-0.12.0 → landingai_ade-0.13.1}/tests/test_transform.py +0 -0
- {landingai_ade-0.12.0 → landingai_ade-0.13.1}/tests/test_utils/test_datetime_parse.py +0 -0
- {landingai_ade-0.12.0 → landingai_ade-0.13.1}/tests/test_utils/test_proxy.py +0 -0
- {landingai_ade-0.12.0 → landingai_ade-0.13.1}/tests/test_utils/test_typing.py +0 -0
- {landingai_ade-0.12.0 → landingai_ade-0.13.1}/tests/utils.py +0 -0
|
@@ -1,5 +1,17 @@
|
|
|
1
1
|
# Changelog
|
|
2
2
|
|
|
3
|
+
## 0.13.1 (2025-09-25)
|
|
4
|
+
|
|
5
|
+
Full Changelog: [v0.13.0...v0.13.1](https://github.com/landing-ai/ade-python/compare/v0.13.0...v0.13.1)
|
|
6
|
+
|
|
7
|
+
## 0.13.0 (2025-09-25)
|
|
8
|
+
|
|
9
|
+
Full Changelog: [v0.12.0...v0.13.0](https://github.com/landing-ai/ade-python/compare/v0.12.0...v0.13.0)
|
|
10
|
+
|
|
11
|
+
### Features
|
|
12
|
+
|
|
13
|
+
* **api:** update README examples to support doccument_url as local path ([f31d6ca](https://github.com/landing-ai/ade-python/commit/f31d6cabfea19aa8f152e8030a0d7d256733f7a2))
|
|
14
|
+
|
|
3
15
|
## 0.12.0 (2025-09-25)
|
|
4
16
|
|
|
5
17
|
Full Changelog: [v0.11.1...v0.12.0](https://github.com/landing-ai/ade-python/compare/v0.11.1...v0.12.0)
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
Metadata-Version: 2.3
|
|
2
2
|
Name: landingai-ade
|
|
3
|
-
Version: 0.
|
|
3
|
+
Version: 0.13.1
|
|
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
|
|
@@ -74,8 +74,8 @@ client = LandingAIADE(
|
|
|
74
74
|
)
|
|
75
75
|
|
|
76
76
|
response = client.parse(
|
|
77
|
-
# support document or document_url
|
|
78
|
-
document_url="
|
|
77
|
+
# support document as File or document_url as local path/remote url
|
|
78
|
+
document_url="path/to/file",
|
|
79
79
|
model="dpt-2-latest",
|
|
80
80
|
)
|
|
81
81
|
print(response.chunks)
|
|
@@ -105,7 +105,7 @@ schema = pydantic_to_json_schema(Person)
|
|
|
105
105
|
client = LandingAIADE(apikey=os.environ.get("VISION_AGENT_API_KEY"))
|
|
106
106
|
response = client.extract(
|
|
107
107
|
schema=schema,
|
|
108
|
-
# support markdown or markdown_url
|
|
108
|
+
# support markdown as File or markdown_url as local path/remote url
|
|
109
109
|
markdown=Path('path/to/file.md')
|
|
110
110
|
)
|
|
111
111
|
```
|
|
@@ -128,7 +128,7 @@ client = AsyncLandingAIADE(
|
|
|
128
128
|
|
|
129
129
|
async def main() -> None:
|
|
130
130
|
response = await client.parse(
|
|
131
|
-
document_url="
|
|
131
|
+
document_url="path/to/file",
|
|
132
132
|
model="dpt-2-latest",
|
|
133
133
|
)
|
|
134
134
|
print(response.chunks)
|
|
@@ -164,7 +164,7 @@ async def main() -> None:
|
|
|
164
164
|
http_client=DefaultAioHttpClient(),
|
|
165
165
|
) as client:
|
|
166
166
|
response = await client.parse(
|
|
167
|
-
document_url="
|
|
167
|
+
document_url="path/to/file",
|
|
168
168
|
model="dpt-2-latest",
|
|
169
169
|
)
|
|
170
170
|
print(response.chunks)
|
|
@@ -39,8 +39,8 @@ client = LandingAIADE(
|
|
|
39
39
|
)
|
|
40
40
|
|
|
41
41
|
response = client.parse(
|
|
42
|
-
# support document or document_url
|
|
43
|
-
document_url="
|
|
42
|
+
# support document as File or document_url as local path/remote url
|
|
43
|
+
document_url="path/to/file",
|
|
44
44
|
model="dpt-2-latest",
|
|
45
45
|
)
|
|
46
46
|
print(response.chunks)
|
|
@@ -70,7 +70,7 @@ schema = pydantic_to_json_schema(Person)
|
|
|
70
70
|
client = LandingAIADE(apikey=os.environ.get("VISION_AGENT_API_KEY"))
|
|
71
71
|
response = client.extract(
|
|
72
72
|
schema=schema,
|
|
73
|
-
# support markdown or markdown_url
|
|
73
|
+
# support markdown as File or markdown_url as local path/remote url
|
|
74
74
|
markdown=Path('path/to/file.md')
|
|
75
75
|
)
|
|
76
76
|
```
|
|
@@ -93,7 +93,7 @@ client = AsyncLandingAIADE(
|
|
|
93
93
|
|
|
94
94
|
async def main() -> None:
|
|
95
95
|
response = await client.parse(
|
|
96
|
-
document_url="
|
|
96
|
+
document_url="path/to/file",
|
|
97
97
|
model="dpt-2-latest",
|
|
98
98
|
)
|
|
99
99
|
print(response.chunks)
|
|
@@ -129,7 +129,7 @@ async def main() -> None:
|
|
|
129
129
|
http_client=DefaultAioHttpClient(),
|
|
130
130
|
) as client:
|
|
131
131
|
response = await client.parse(
|
|
132
|
-
document_url="
|
|
132
|
+
document_url="path/to/file",
|
|
133
133
|
model="dpt-2-latest",
|
|
134
134
|
)
|
|
135
135
|
print(response.chunks)
|
|
@@ -291,7 +291,6 @@ class LandingAIADE(SyncAPIClient):
|
|
|
291
291
|
# multipart/form-data; boundary=---abc--
|
|
292
292
|
extra_headers = {
|
|
293
293
|
"Content-Type": "multipart/form-data",
|
|
294
|
-
"runtime_tag": f"ade-python-v{_LIB_VERSION}",
|
|
295
294
|
**(extra_headers or {}),
|
|
296
295
|
}
|
|
297
296
|
return self.post(
|
|
@@ -640,7 +639,6 @@ class AsyncLandingAIADE(AsyncAPIClient):
|
|
|
640
639
|
# multipart/form-data; boundary=---abc--
|
|
641
640
|
extra_headers = {
|
|
642
641
|
"Content-Type": "multipart/form-data",
|
|
643
|
-
"runtime_tag": f"ade-python-v{_LIB_VERSION}",
|
|
644
642
|
**(extra_headers or {}),
|
|
645
643
|
}
|
|
646
644
|
return await self.post(
|
|
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.12.0 → landingai_ade-0.13.1}/src/landingai_ade/types/client_extract_params.py
RENAMED
|
File without changes
|
{landingai_ade-0.12.0 → landingai_ade-0.13.1}/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
|
|
File without changes
|