groundx 2.2.2__tar.gz → 2.2.3__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.
- {groundx-2.2.2 → groundx-2.2.3}/PKG-INFO +2 -2
- {groundx-2.2.2 → groundx-2.2.3}/README.md +1 -1
- {groundx-2.2.2 → groundx-2.2.3}/pyproject.toml +1 -1
- {groundx-2.2.2 → groundx-2.2.3}/src/groundx/__init__.py +2 -0
- {groundx-2.2.2 → groundx-2.2.3}/src/groundx/core/client_wrapper.py +1 -1
- {groundx-2.2.2 → groundx-2.2.3}/src/groundx/documents/client.py +4 -4
- {groundx-2.2.2 → groundx-2.2.3}/src/groundx/ingest.py +3 -0
- {groundx-2.2.2 → groundx-2.2.3}/src/groundx/types/__init__.py +2 -0
- {groundx-2.2.2 → groundx-2.2.3}/src/groundx/types/document.py +4 -0
- {groundx-2.2.2 → groundx-2.2.3}/src/groundx/types/ingest_local_document_metadata.py +4 -0
- {groundx-2.2.2 → groundx-2.2.3}/src/groundx/types/ingest_remote_document.py +4 -0
- groundx-2.2.3/src/groundx/types/process_level.py +5 -0
- {groundx-2.2.2 → groundx-2.2.3}/LICENSE +0 -0
- {groundx-2.2.2 → groundx-2.2.3}/src/groundx/buckets/__init__.py +0 -0
- {groundx-2.2.2 → groundx-2.2.3}/src/groundx/buckets/client.py +0 -0
- {groundx-2.2.2 → groundx-2.2.3}/src/groundx/client.py +0 -0
- {groundx-2.2.2 → groundx-2.2.3}/src/groundx/core/__init__.py +0 -0
- {groundx-2.2.2 → groundx-2.2.3}/src/groundx/core/api_error.py +0 -0
- {groundx-2.2.2 → groundx-2.2.3}/src/groundx/core/datetime_utils.py +0 -0
- {groundx-2.2.2 → groundx-2.2.3}/src/groundx/core/file.py +0 -0
- {groundx-2.2.2 → groundx-2.2.3}/src/groundx/core/http_client.py +0 -0
- {groundx-2.2.2 → groundx-2.2.3}/src/groundx/core/jsonable_encoder.py +0 -0
- {groundx-2.2.2 → groundx-2.2.3}/src/groundx/core/pydantic_utilities.py +0 -0
- {groundx-2.2.2 → groundx-2.2.3}/src/groundx/core/query_encoder.py +0 -0
- {groundx-2.2.2 → groundx-2.2.3}/src/groundx/core/remove_none_from_dict.py +0 -0
- {groundx-2.2.2 → groundx-2.2.3}/src/groundx/core/request_options.py +0 -0
- {groundx-2.2.2 → groundx-2.2.3}/src/groundx/core/serialization.py +0 -0
- {groundx-2.2.2 → groundx-2.2.3}/src/groundx/customer/__init__.py +0 -0
- {groundx-2.2.2 → groundx-2.2.3}/src/groundx/customer/client.py +0 -0
- {groundx-2.2.2 → groundx-2.2.3}/src/groundx/documents/__init__.py +0 -0
- {groundx-2.2.2 → groundx-2.2.3}/src/groundx/environment.py +0 -0
- {groundx-2.2.2 → groundx-2.2.3}/src/groundx/errors/__init__.py +0 -0
- {groundx-2.2.2 → groundx-2.2.3}/src/groundx/errors/bad_request_error.py +0 -0
- {groundx-2.2.2 → groundx-2.2.3}/src/groundx/errors/unauthorized_error.py +0 -0
- {groundx-2.2.2 → groundx-2.2.3}/src/groundx/groups/__init__.py +0 -0
- {groundx-2.2.2 → groundx-2.2.3}/src/groundx/groups/client.py +0 -0
- {groundx-2.2.2 → groundx-2.2.3}/src/groundx/health/__init__.py +0 -0
- {groundx-2.2.2 → groundx-2.2.3}/src/groundx/health/client.py +0 -0
- {groundx-2.2.2 → groundx-2.2.3}/src/groundx/py.typed +0 -0
- {groundx-2.2.2 → groundx-2.2.3}/src/groundx/search/__init__.py +0 -0
- {groundx-2.2.2 → groundx-2.2.3}/src/groundx/search/client.py +0 -0
- {groundx-2.2.2 → groundx-2.2.3}/src/groundx/search/types/__init__.py +0 -0
- {groundx-2.2.2 → groundx-2.2.3}/src/groundx/search/types/search_content_request_id.py +0 -0
- {groundx-2.2.2 → groundx-2.2.3}/src/groundx/types/bounding_box_detail.py +0 -0
- {groundx-2.2.2 → groundx-2.2.3}/src/groundx/types/bucket_detail.py +0 -0
- {groundx-2.2.2 → groundx-2.2.3}/src/groundx/types/bucket_list_response.py +0 -0
- {groundx-2.2.2 → groundx-2.2.3}/src/groundx/types/bucket_response.py +0 -0
- {groundx-2.2.2 → groundx-2.2.3}/src/groundx/types/bucket_update_detail.py +0 -0
- {groundx-2.2.2 → groundx-2.2.3}/src/groundx/types/bucket_update_response.py +0 -0
- {groundx-2.2.2 → groundx-2.2.3}/src/groundx/types/customer_detail.py +0 -0
- {groundx-2.2.2 → groundx-2.2.3}/src/groundx/types/customer_response.py +0 -0
- {groundx-2.2.2 → groundx-2.2.3}/src/groundx/types/document_detail.py +0 -0
- {groundx-2.2.2 → groundx-2.2.3}/src/groundx/types/document_list_response.py +0 -0
- {groundx-2.2.2 → groundx-2.2.3}/src/groundx/types/document_local_ingest_request.py +0 -0
- {groundx-2.2.2 → groundx-2.2.3}/src/groundx/types/document_lookup_response.py +0 -0
- {groundx-2.2.2 → groundx-2.2.3}/src/groundx/types/document_response.py +0 -0
- {groundx-2.2.2 → groundx-2.2.3}/src/groundx/types/document_type.py +0 -0
- {groundx-2.2.2 → groundx-2.2.3}/src/groundx/types/group_detail.py +0 -0
- {groundx-2.2.2 → groundx-2.2.3}/src/groundx/types/group_list_response.py +0 -0
- {groundx-2.2.2 → groundx-2.2.3}/src/groundx/types/group_response.py +0 -0
- {groundx-2.2.2 → groundx-2.2.3}/src/groundx/types/health_response.py +0 -0
- {groundx-2.2.2 → groundx-2.2.3}/src/groundx/types/health_response_health.py +0 -0
- {groundx-2.2.2 → groundx-2.2.3}/src/groundx/types/health_service.py +0 -0
- {groundx-2.2.2 → groundx-2.2.3}/src/groundx/types/health_service_status.py +0 -0
- {groundx-2.2.2 → groundx-2.2.3}/src/groundx/types/ingest_local_document.py +0 -0
- {groundx-2.2.2 → groundx-2.2.3}/src/groundx/types/ingest_response.py +0 -0
- {groundx-2.2.2 → groundx-2.2.3}/src/groundx/types/ingest_response_ingest.py +0 -0
- {groundx-2.2.2 → groundx-2.2.3}/src/groundx/types/message_response.py +0 -0
- {groundx-2.2.2 → groundx-2.2.3}/src/groundx/types/meter_detail.py +0 -0
- {groundx-2.2.2 → groundx-2.2.3}/src/groundx/types/process_status_response.py +0 -0
- {groundx-2.2.2 → groundx-2.2.3}/src/groundx/types/process_status_response_ingest.py +0 -0
- {groundx-2.2.2 → groundx-2.2.3}/src/groundx/types/process_status_response_ingest_progress.py +0 -0
- {groundx-2.2.2 → groundx-2.2.3}/src/groundx/types/process_status_response_ingest_progress_cancelled.py +0 -0
- {groundx-2.2.2 → groundx-2.2.3}/src/groundx/types/process_status_response_ingest_progress_complete.py +0 -0
- {groundx-2.2.2 → groundx-2.2.3}/src/groundx/types/process_status_response_ingest_progress_errors.py +0 -0
- {groundx-2.2.2 → groundx-2.2.3}/src/groundx/types/process_status_response_ingest_progress_processing.py +0 -0
- {groundx-2.2.2 → groundx-2.2.3}/src/groundx/types/processes_status_response.py +0 -0
- {groundx-2.2.2 → groundx-2.2.3}/src/groundx/types/processing_status.py +0 -0
- {groundx-2.2.2 → groundx-2.2.3}/src/groundx/types/search_response.py +0 -0
- {groundx-2.2.2 → groundx-2.2.3}/src/groundx/types/search_response_search.py +0 -0
- {groundx-2.2.2 → groundx-2.2.3}/src/groundx/types/search_result_item.py +0 -0
- {groundx-2.2.2 → groundx-2.2.3}/src/groundx/types/sort.py +0 -0
- {groundx-2.2.2 → groundx-2.2.3}/src/groundx/types/sort_order.py +0 -0
- {groundx-2.2.2 → groundx-2.2.3}/src/groundx/types/subscription_detail.py +0 -0
- {groundx-2.2.2 → groundx-2.2.3}/src/groundx/types/subscription_detail_meters.py +0 -0
- {groundx-2.2.2 → groundx-2.2.3}/src/groundx/types/website_source.py +0 -0
- {groundx-2.2.2 → groundx-2.2.3}/src/groundx/version.py +0 -0
@@ -1,6 +1,6 @@
|
|
1
1
|
Metadata-Version: 2.1
|
2
2
|
Name: groundx
|
3
|
-
Version: 2.2.
|
3
|
+
Version: 2.2.3
|
4
4
|
Summary:
|
5
5
|
License: MIT
|
6
6
|
Requires-Python: >=3.8,<4.0
|
@@ -47,7 +47,7 @@ pip install groundx
|
|
47
47
|
|
48
48
|
## Reference
|
49
49
|
|
50
|
-
A full reference for this library is available [here](
|
50
|
+
A full reference for this library is available [here](https://github.com/eyelevelai/groundx-python/blob/main/reference.md).
|
51
51
|
|
52
52
|
## Usage
|
53
53
|
|
@@ -17,7 +17,7 @@ pip install groundx
|
|
17
17
|
|
18
18
|
## Reference
|
19
19
|
|
20
|
-
A full reference for this library is available [here](
|
20
|
+
A full reference for this library is available [here](https://github.com/eyelevelai/groundx-python/blob/main/reference.md).
|
21
21
|
|
22
22
|
## Usage
|
23
23
|
|
@@ -30,6 +30,7 @@ from .types import (
|
|
30
30
|
IngestResponseIngest,
|
31
31
|
MessageResponse,
|
32
32
|
MeterDetail,
|
33
|
+
ProcessLevel,
|
33
34
|
ProcessStatusResponse,
|
34
35
|
ProcessStatusResponseIngest,
|
35
36
|
ProcessStatusResponseIngestProgress,
|
@@ -89,6 +90,7 @@ __all__ = [
|
|
89
90
|
"IngestResponseIngest",
|
90
91
|
"MessageResponse",
|
91
92
|
"MeterDetail",
|
93
|
+
"ProcessLevel",
|
92
94
|
"ProcessStatusResponse",
|
93
95
|
"ProcessStatusResponseIngest",
|
94
96
|
"ProcessStatusResponseIngestProgress",
|
@@ -749,7 +749,7 @@ class DocumentsClient:
|
|
749
749
|
raise ApiError(status_code=_response.status_code, body=_response.text)
|
750
750
|
raise ApiError(status_code=_response.status_code, body=_response_json)
|
751
751
|
|
752
|
-
def
|
752
|
+
def get_processes(
|
753
753
|
self,
|
754
754
|
*,
|
755
755
|
n: typing.Optional[int] = None,
|
@@ -782,7 +782,7 @@ class DocumentsClient:
|
|
782
782
|
client = GroundX(
|
783
783
|
api_key="YOUR_API_KEY",
|
784
784
|
)
|
785
|
-
client.documents.
|
785
|
+
client.documents.get_processes()
|
786
786
|
"""
|
787
787
|
_response = self._client_wrapper.httpx_client.request(
|
788
788
|
"v1/ingest",
|
@@ -1607,7 +1607,7 @@ class AsyncDocumentsClient:
|
|
1607
1607
|
raise ApiError(status_code=_response.status_code, body=_response.text)
|
1608
1608
|
raise ApiError(status_code=_response.status_code, body=_response_json)
|
1609
1609
|
|
1610
|
-
async def
|
1610
|
+
async def get_processes(
|
1611
1611
|
self,
|
1612
1612
|
*,
|
1613
1613
|
n: typing.Optional[int] = None,
|
@@ -1645,7 +1645,7 @@ class AsyncDocumentsClient:
|
|
1645
1645
|
|
1646
1646
|
|
1647
1647
|
async def main() -> None:
|
1648
|
-
await client.documents.
|
1648
|
+
await client.documents.get_processes()
|
1649
1649
|
|
1650
1650
|
|
1651
1651
|
asyncio.run(main())
|
@@ -72,6 +72,7 @@ def prep_documents(
|
|
72
72
|
bucket_id=document.bucket_id,
|
73
73
|
file_name=document.file_name,
|
74
74
|
file_type=document.file_type,
|
75
|
+
process_level=document.process_level,
|
75
76
|
search_data=document.search_data,
|
76
77
|
source_url=document.file_path,
|
77
78
|
)
|
@@ -109,6 +110,8 @@ def prep_documents(
|
|
109
110
|
"fileName": file_name,
|
110
111
|
"fileType": file_type,
|
111
112
|
}
|
113
|
+
if document.process_level:
|
114
|
+
metadata["processLevel"] = document.process_level
|
112
115
|
if document.search_data:
|
113
116
|
metadata["searchData"] = document.search_data
|
114
117
|
|
@@ -29,6 +29,7 @@ from .ingest_response import IngestResponse
|
|
29
29
|
from .ingest_response_ingest import IngestResponseIngest
|
30
30
|
from .message_response import MessageResponse
|
31
31
|
from .meter_detail import MeterDetail
|
32
|
+
from .process_level import ProcessLevel
|
32
33
|
from .process_status_response import ProcessStatusResponse
|
33
34
|
from .process_status_response_ingest import ProcessStatusResponseIngest
|
34
35
|
from .process_status_response_ingest_progress import ProcessStatusResponseIngestProgress
|
@@ -77,6 +78,7 @@ __all__ = [
|
|
77
78
|
"IngestResponseIngest",
|
78
79
|
"MessageResponse",
|
79
80
|
"MeterDetail",
|
81
|
+
"ProcessLevel",
|
80
82
|
"ProcessStatusResponse",
|
81
83
|
"ProcessStatusResponseIngest",
|
82
84
|
"ProcessStatusResponseIngestProgress",
|
@@ -6,6 +6,7 @@ from ..core.serialization import FieldMetadata
|
|
6
6
|
import pydantic
|
7
7
|
import typing
|
8
8
|
from .document_type import DocumentType
|
9
|
+
from .process_level import ProcessLevel
|
9
10
|
from ..core.pydantic_utilities import IS_PYDANTIC_V2
|
10
11
|
|
11
12
|
|
@@ -28,6 +29,9 @@ class Document(UniversalBaseModel):
|
|
28
29
|
"""
|
29
30
|
|
30
31
|
file_type: typing_extensions.Annotated[typing.Optional[DocumentType], FieldMetadata(alias="fileType")] = None
|
32
|
+
process_level: typing_extensions.Annotated[typing.Optional[ProcessLevel], FieldMetadata(alias="processLevel")] = (
|
33
|
+
None
|
34
|
+
)
|
31
35
|
search_data: typing_extensions.Annotated[
|
32
36
|
typing.Optional[typing.Dict[str, typing.Optional[typing.Any]]], FieldMetadata(alias="searchData")
|
33
37
|
] = pydantic.Field(default=None)
|
@@ -6,6 +6,7 @@ import typing
|
|
6
6
|
from ..core.serialization import FieldMetadata
|
7
7
|
import pydantic
|
8
8
|
from .document_type import DocumentType
|
9
|
+
from .process_level import ProcessLevel
|
9
10
|
from ..core.pydantic_utilities import IS_PYDANTIC_V2
|
10
11
|
|
11
12
|
|
@@ -25,6 +26,9 @@ class IngestLocalDocumentMetadata(UniversalBaseModel):
|
|
25
26
|
"""
|
26
27
|
|
27
28
|
file_type: typing_extensions.Annotated[typing.Optional[DocumentType], FieldMetadata(alias="fileType")] = None
|
29
|
+
process_level: typing_extensions.Annotated[typing.Optional[ProcessLevel], FieldMetadata(alias="processLevel")] = (
|
30
|
+
None
|
31
|
+
)
|
28
32
|
search_data: typing_extensions.Annotated[
|
29
33
|
typing.Optional[typing.Dict[str, typing.Optional[typing.Any]]], FieldMetadata(alias="searchData")
|
30
34
|
] = pydantic.Field(default=None)
|
@@ -6,6 +6,7 @@ from ..core.serialization import FieldMetadata
|
|
6
6
|
import pydantic
|
7
7
|
import typing
|
8
8
|
from .document_type import DocumentType
|
9
|
+
from .process_level import ProcessLevel
|
9
10
|
from ..core.pydantic_utilities import IS_PYDANTIC_V2
|
10
11
|
|
11
12
|
|
@@ -23,6 +24,9 @@ class IngestRemoteDocument(UniversalBaseModel):
|
|
23
24
|
"""
|
24
25
|
|
25
26
|
file_type: typing_extensions.Annotated[typing.Optional[DocumentType], FieldMetadata(alias="fileType")] = None
|
27
|
+
process_level: typing_extensions.Annotated[typing.Optional[ProcessLevel], FieldMetadata(alias="processLevel")] = (
|
28
|
+
None
|
29
|
+
)
|
26
30
|
search_data: typing_extensions.Annotated[
|
27
31
|
typing.Optional[typing.Dict[str, typing.Optional[typing.Any]]], FieldMetadata(alias="searchData")
|
28
32
|
] = pydantic.Field(default=None)
|
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
|
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
|
{groundx-2.2.2 → groundx-2.2.3}/src/groundx/types/process_status_response_ingest_progress.py
RENAMED
File without changes
|
File without changes
|
File without changes
|
{groundx-2.2.2 → groundx-2.2.3}/src/groundx/types/process_status_response_ingest_progress_errors.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
|