isaacus 0.14.0__tar.gz → 0.16.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.
- isaacus-0.16.0/.release-please-manifest.json +3 -0
- {isaacus-0.14.0 → isaacus-0.16.0}/CHANGELOG.md +16 -0
- {isaacus-0.14.0 → isaacus-0.16.0}/PKG-INFO +1 -1
- {isaacus-0.14.0 → isaacus-0.16.0}/pyproject.toml +1 -1
- {isaacus-0.14.0 → isaacus-0.16.0}/src/isaacus/_version.py +1 -1
- {isaacus-0.14.0 → isaacus-0.16.0}/src/isaacus/types/ilgs/v1/location.py +6 -0
- {isaacus-0.14.0 → isaacus-0.16.0}/src/isaacus/types/ilgs/v1/person.py +6 -0
- {isaacus-0.14.0 → isaacus-0.16.0}/src/isaacus/types/ilgs/v1/segment.py +7 -1
- {isaacus-0.14.0 → isaacus-0.16.0}/src/isaacus/types/ilgs/v1/span.py +12 -0
- isaacus-0.14.0/.release-please-manifest.json +0 -3
- {isaacus-0.14.0 → isaacus-0.16.0}/.gitignore +0 -0
- {isaacus-0.14.0 → isaacus-0.16.0}/CONTRIBUTING.md +0 -0
- {isaacus-0.14.0 → isaacus-0.16.0}/LICENSE +0 -0
- {isaacus-0.14.0 → isaacus-0.16.0}/README.md +0 -0
- {isaacus-0.14.0 → isaacus-0.16.0}/SECURITY.md +0 -0
- {isaacus-0.14.0 → isaacus-0.16.0}/api.md +0 -0
- {isaacus-0.14.0 → isaacus-0.16.0}/bin/check-release-environment +0 -0
- {isaacus-0.14.0 → isaacus-0.16.0}/bin/publish-pypi +0 -0
- {isaacus-0.14.0 → isaacus-0.16.0}/examples/.keep +0 -0
- {isaacus-0.14.0 → isaacus-0.16.0}/noxfile.py +0 -0
- {isaacus-0.14.0 → isaacus-0.16.0}/release-please-config.json +0 -0
- {isaacus-0.14.0 → isaacus-0.16.0}/requirements-dev.lock +0 -0
- {isaacus-0.14.0 → isaacus-0.16.0}/requirements.lock +0 -0
- {isaacus-0.14.0 → isaacus-0.16.0}/src/isaacus/__init__.py +0 -0
- {isaacus-0.14.0 → isaacus-0.16.0}/src/isaacus/_base_client.py +0 -0
- {isaacus-0.14.0 → isaacus-0.16.0}/src/isaacus/_client.py +0 -0
- {isaacus-0.14.0 → isaacus-0.16.0}/src/isaacus/_compat.py +0 -0
- {isaacus-0.14.0 → isaacus-0.16.0}/src/isaacus/_constants.py +0 -0
- {isaacus-0.14.0 → isaacus-0.16.0}/src/isaacus/_exceptions.py +0 -0
- {isaacus-0.14.0 → isaacus-0.16.0}/src/isaacus/_files.py +0 -0
- {isaacus-0.14.0 → isaacus-0.16.0}/src/isaacus/_models.py +0 -0
- {isaacus-0.14.0 → isaacus-0.16.0}/src/isaacus/_qs.py +0 -0
- {isaacus-0.14.0 → isaacus-0.16.0}/src/isaacus/_resource.py +0 -0
- {isaacus-0.14.0 → isaacus-0.16.0}/src/isaacus/_response.py +0 -0
- {isaacus-0.14.0 → isaacus-0.16.0}/src/isaacus/_streaming.py +0 -0
- {isaacus-0.14.0 → isaacus-0.16.0}/src/isaacus/_types.py +0 -0
- {isaacus-0.14.0 → isaacus-0.16.0}/src/isaacus/_utils/__init__.py +0 -0
- {isaacus-0.14.0 → isaacus-0.16.0}/src/isaacus/_utils/_compat.py +0 -0
- {isaacus-0.14.0 → isaacus-0.16.0}/src/isaacus/_utils/_datetime_parse.py +0 -0
- {isaacus-0.14.0 → isaacus-0.16.0}/src/isaacus/_utils/_json.py +0 -0
- {isaacus-0.14.0 → isaacus-0.16.0}/src/isaacus/_utils/_logs.py +0 -0
- {isaacus-0.14.0 → isaacus-0.16.0}/src/isaacus/_utils/_proxy.py +0 -0
- {isaacus-0.14.0 → isaacus-0.16.0}/src/isaacus/_utils/_reflection.py +0 -0
- {isaacus-0.14.0 → isaacus-0.16.0}/src/isaacus/_utils/_resources_proxy.py +0 -0
- {isaacus-0.14.0 → isaacus-0.16.0}/src/isaacus/_utils/_streams.py +0 -0
- {isaacus-0.14.0 → isaacus-0.16.0}/src/isaacus/_utils/_sync.py +0 -0
- {isaacus-0.14.0 → isaacus-0.16.0}/src/isaacus/_utils/_transform.py +0 -0
- {isaacus-0.14.0 → isaacus-0.16.0}/src/isaacus/_utils/_typing.py +0 -0
- {isaacus-0.14.0 → isaacus-0.16.0}/src/isaacus/_utils/_utils.py +0 -0
- {isaacus-0.14.0 → isaacus-0.16.0}/src/isaacus/lib/.keep +0 -0
- {isaacus-0.14.0 → isaacus-0.16.0}/src/isaacus/py.typed +0 -0
- {isaacus-0.14.0 → isaacus-0.16.0}/src/isaacus/resources/__init__.py +0 -0
- {isaacus-0.14.0 → isaacus-0.16.0}/src/isaacus/resources/classifications/__init__.py +0 -0
- {isaacus-0.14.0 → isaacus-0.16.0}/src/isaacus/resources/classifications/classifications.py +0 -0
- {isaacus-0.14.0 → isaacus-0.16.0}/src/isaacus/resources/classifications/universal.py +0 -0
- {isaacus-0.14.0 → isaacus-0.16.0}/src/isaacus/resources/embeddings.py +0 -0
- {isaacus-0.14.0 → isaacus-0.16.0}/src/isaacus/resources/enrichments.py +0 -0
- {isaacus-0.14.0 → isaacus-0.16.0}/src/isaacus/resources/extractions/__init__.py +0 -0
- {isaacus-0.14.0 → isaacus-0.16.0}/src/isaacus/resources/extractions/extractions.py +0 -0
- {isaacus-0.14.0 → isaacus-0.16.0}/src/isaacus/resources/extractions/qa.py +0 -0
- {isaacus-0.14.0 → isaacus-0.16.0}/src/isaacus/resources/rerankings.py +0 -0
- {isaacus-0.14.0 → isaacus-0.16.0}/src/isaacus/types/__init__.py +0 -0
- {isaacus-0.14.0 → isaacus-0.16.0}/src/isaacus/types/classifications/__init__.py +0 -0
- {isaacus-0.14.0 → isaacus-0.16.0}/src/isaacus/types/classifications/universal_classification_response.py +0 -0
- {isaacus-0.14.0 → isaacus-0.16.0}/src/isaacus/types/classifications/universal_create_params.py +0 -0
- {isaacus-0.14.0 → isaacus-0.16.0}/src/isaacus/types/embedding_create_params.py +0 -0
- {isaacus-0.14.0 → isaacus-0.16.0}/src/isaacus/types/embedding_response.py +0 -0
- {isaacus-0.14.0 → isaacus-0.16.0}/src/isaacus/types/enrichment_create_params.py +0 -0
- {isaacus-0.14.0 → isaacus-0.16.0}/src/isaacus/types/enrichment_response.py +0 -0
- {isaacus-0.14.0 → isaacus-0.16.0}/src/isaacus/types/extractions/__init__.py +0 -0
- {isaacus-0.14.0 → isaacus-0.16.0}/src/isaacus/types/extractions/answer_extraction_response.py +0 -0
- {isaacus-0.14.0 → isaacus-0.16.0}/src/isaacus/types/extractions/qa_create_params.py +0 -0
- {isaacus-0.14.0 → isaacus-0.16.0}/src/isaacus/types/ilgs/__init__.py +0 -0
- {isaacus-0.14.0 → isaacus-0.16.0}/src/isaacus/types/ilgs/v1/__init__.py +0 -0
- {isaacus-0.14.0 → isaacus-0.16.0}/src/isaacus/types/ilgs/v1/crossreference.py +0 -0
- {isaacus-0.14.0 → isaacus-0.16.0}/src/isaacus/types/ilgs/v1/date.py +0 -0
- {isaacus-0.14.0 → isaacus-0.16.0}/src/isaacus/types/ilgs/v1/document.py +0 -0
- {isaacus-0.14.0 → isaacus-0.16.0}/src/isaacus/types/ilgs/v1/email.py +0 -0
- {isaacus-0.14.0 → isaacus-0.16.0}/src/isaacus/types/ilgs/v1/external_document.py +0 -0
- {isaacus-0.14.0 → isaacus-0.16.0}/src/isaacus/types/ilgs/v1/id_number.py +0 -0
- {isaacus-0.14.0 → isaacus-0.16.0}/src/isaacus/types/ilgs/v1/phone_number.py +0 -0
- {isaacus-0.14.0 → isaacus-0.16.0}/src/isaacus/types/ilgs/v1/quote.py +0 -0
- {isaacus-0.14.0 → isaacus-0.16.0}/src/isaacus/types/ilgs/v1/term.py +0 -0
- {isaacus-0.14.0 → isaacus-0.16.0}/src/isaacus/types/ilgs/v1/website.py +0 -0
- {isaacus-0.14.0 → isaacus-0.16.0}/src/isaacus/types/reranking_create_params.py +0 -0
- {isaacus-0.14.0 → isaacus-0.16.0}/src/isaacus/types/reranking_response.py +0 -0
- {isaacus-0.14.0 → isaacus-0.16.0}/tests/__init__.py +0 -0
- {isaacus-0.14.0 → isaacus-0.16.0}/tests/api_resources/__init__.py +0 -0
- {isaacus-0.14.0 → isaacus-0.16.0}/tests/api_resources/classifications/__init__.py +0 -0
- {isaacus-0.14.0 → isaacus-0.16.0}/tests/api_resources/classifications/test_universal.py +0 -0
- {isaacus-0.14.0 → isaacus-0.16.0}/tests/api_resources/extractions/__init__.py +0 -0
- {isaacus-0.14.0 → isaacus-0.16.0}/tests/api_resources/extractions/test_qa.py +0 -0
- {isaacus-0.14.0 → isaacus-0.16.0}/tests/api_resources/test_embeddings.py +0 -0
- {isaacus-0.14.0 → isaacus-0.16.0}/tests/api_resources/test_enrichments.py +0 -0
- {isaacus-0.14.0 → isaacus-0.16.0}/tests/api_resources/test_rerankings.py +0 -0
- {isaacus-0.14.0 → isaacus-0.16.0}/tests/conftest.py +0 -0
- {isaacus-0.14.0 → isaacus-0.16.0}/tests/sample_file.txt +0 -0
- {isaacus-0.14.0 → isaacus-0.16.0}/tests/test_client.py +0 -0
- {isaacus-0.14.0 → isaacus-0.16.0}/tests/test_deepcopy.py +0 -0
- {isaacus-0.14.0 → isaacus-0.16.0}/tests/test_extract_files.py +0 -0
- {isaacus-0.14.0 → isaacus-0.16.0}/tests/test_files.py +0 -0
- {isaacus-0.14.0 → isaacus-0.16.0}/tests/test_models.py +0 -0
- {isaacus-0.14.0 → isaacus-0.16.0}/tests/test_qs.py +0 -0
- {isaacus-0.14.0 → isaacus-0.16.0}/tests/test_required_args.py +0 -0
- {isaacus-0.14.0 → isaacus-0.16.0}/tests/test_response.py +0 -0
- {isaacus-0.14.0 → isaacus-0.16.0}/tests/test_streaming.py +0 -0
- {isaacus-0.14.0 → isaacus-0.16.0}/tests/test_transform.py +0 -0
- {isaacus-0.14.0 → isaacus-0.16.0}/tests/test_utils/test_datetime_parse.py +0 -0
- {isaacus-0.14.0 → isaacus-0.16.0}/tests/test_utils/test_json.py +0 -0
- {isaacus-0.14.0 → isaacus-0.16.0}/tests/test_utils/test_proxy.py +0 -0
- {isaacus-0.14.0 → isaacus-0.16.0}/tests/test_utils/test_typing.py +0 -0
- {isaacus-0.14.0 → isaacus-0.16.0}/tests/utils.py +0 -0
|
@@ -1,5 +1,21 @@
|
|
|
1
1
|
# Changelog
|
|
2
2
|
|
|
3
|
+
## 0.16.0 (2026-02-04)
|
|
4
|
+
|
|
5
|
+
Full Changelog: [v0.15.0...v0.16.0](https://github.com/isaacus-dev/isaacus-python/compare/v0.15.0...v0.16.0)
|
|
6
|
+
|
|
7
|
+
### Features
|
|
8
|
+
|
|
9
|
+
* **api:** add `children` fields to hierarchical ILGS entities ([38c909c](https://github.com/isaacus-dev/isaacus-python/commit/38c909ccd36352f6d774081c4184b117ef26911a))
|
|
10
|
+
|
|
11
|
+
## 0.15.0 (2026-02-04)
|
|
12
|
+
|
|
13
|
+
Full Changelog: [v0.14.0...v0.15.0](https://github.com/isaacus-dev/isaacus-python/compare/v0.14.0...v0.15.0)
|
|
14
|
+
|
|
15
|
+
### Features
|
|
16
|
+
|
|
17
|
+
* **sdk:** add `decode` method to `Span`s ([bc41468](https://github.com/isaacus-dev/isaacus-python/commit/bc4146813a1b236b0740f2a74bab11311b5ef99d))
|
|
18
|
+
|
|
3
19
|
## 0.14.0 (2026-02-04)
|
|
4
20
|
|
|
5
21
|
Full Changelog: [v0.13.0...v0.14.0](https://github.com/isaacus-dev/isaacus-python/compare/v0.13.0...v0.14.0)
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
Metadata-Version: 2.3
|
|
2
2
|
Name: isaacus
|
|
3
|
-
Version: 0.
|
|
3
|
+
Version: 0.16.0
|
|
4
4
|
Summary: The official Python library for the isaacus API
|
|
5
5
|
Project-URL: Homepage, https://github.com/isaacus-dev/isaacus-python
|
|
6
6
|
Project-URL: Repository, https://github.com/isaacus-dev/isaacus-python
|
|
@@ -46,6 +46,12 @@ class Location(BaseModel):
|
|
|
46
46
|
is a non-negative incrementing integer starting from zero.
|
|
47
47
|
"""
|
|
48
48
|
|
|
49
|
+
children: List[str]
|
|
50
|
+
"""
|
|
51
|
+
The unique identifiers of any 'child' locations having this location as their
|
|
52
|
+
immediate parent.
|
|
53
|
+
"""
|
|
54
|
+
|
|
49
55
|
mentions: List[Span]
|
|
50
56
|
"""
|
|
51
57
|
An array of one or more spans within the document's text where the location is
|
|
@@ -182,6 +182,12 @@ class Person(BaseModel):
|
|
|
182
182
|
`{index}` is a non-negative incrementing integer starting from zero.
|
|
183
183
|
"""
|
|
184
184
|
|
|
185
|
+
children: List[str]
|
|
186
|
+
"""
|
|
187
|
+
The unique identifiers of any persons having this person as their immediate
|
|
188
|
+
parent.
|
|
189
|
+
"""
|
|
190
|
+
|
|
185
191
|
residence: Optional[str] = None
|
|
186
192
|
"""
|
|
187
193
|
A unique identifier for a location in the format `loc:{index}` where `{index}`
|
|
@@ -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 Optional
|
|
3
|
+
from typing import List, Optional
|
|
4
4
|
from typing_extensions import Literal
|
|
5
5
|
|
|
6
6
|
from .span import Span
|
|
@@ -188,6 +188,12 @@ class Segment(BaseModel):
|
|
|
188
188
|
a non-negative incrementing integer starting from zero.
|
|
189
189
|
"""
|
|
190
190
|
|
|
191
|
+
children: List[str]
|
|
192
|
+
"""
|
|
193
|
+
The unique identifiers of any segments having this segment as their immediate
|
|
194
|
+
parent.
|
|
195
|
+
"""
|
|
196
|
+
|
|
191
197
|
level: int
|
|
192
198
|
"""
|
|
193
199
|
The level of the segment within the document's segment hierarchy starting from
|
|
@@ -26,3 +26,15 @@ class Span(BaseModel):
|
|
|
26
26
|
The zero-based end index of the half-open span (i.e., the end is exclusive) of
|
|
27
27
|
Unicode code points in the input text.
|
|
28
28
|
"""
|
|
29
|
+
|
|
30
|
+
def decode(self, text: str) -> str:
|
|
31
|
+
"""Decode the span from the given text.
|
|
32
|
+
|
|
33
|
+
Args:
|
|
34
|
+
text (str): The input text from which to decode the span.
|
|
35
|
+
|
|
36
|
+
Returns:
|
|
37
|
+
str: The substring of the input text corresponding to the span.
|
|
38
|
+
"""
|
|
39
|
+
|
|
40
|
+
return text[self.start:self.end]
|
|
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
|
{isaacus-0.14.0 → isaacus-0.16.0}/src/isaacus/types/classifications/universal_create_params.py
RENAMED
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
{isaacus-0.14.0 → isaacus-0.16.0}/src/isaacus/types/extractions/answer_extraction_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
|
|
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
|