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.
Files changed (112) hide show
  1. isaacus-0.16.0/.release-please-manifest.json +3 -0
  2. {isaacus-0.14.0 → isaacus-0.16.0}/CHANGELOG.md +16 -0
  3. {isaacus-0.14.0 → isaacus-0.16.0}/PKG-INFO +1 -1
  4. {isaacus-0.14.0 → isaacus-0.16.0}/pyproject.toml +1 -1
  5. {isaacus-0.14.0 → isaacus-0.16.0}/src/isaacus/_version.py +1 -1
  6. {isaacus-0.14.0 → isaacus-0.16.0}/src/isaacus/types/ilgs/v1/location.py +6 -0
  7. {isaacus-0.14.0 → isaacus-0.16.0}/src/isaacus/types/ilgs/v1/person.py +6 -0
  8. {isaacus-0.14.0 → isaacus-0.16.0}/src/isaacus/types/ilgs/v1/segment.py +7 -1
  9. {isaacus-0.14.0 → isaacus-0.16.0}/src/isaacus/types/ilgs/v1/span.py +12 -0
  10. isaacus-0.14.0/.release-please-manifest.json +0 -3
  11. {isaacus-0.14.0 → isaacus-0.16.0}/.gitignore +0 -0
  12. {isaacus-0.14.0 → isaacus-0.16.0}/CONTRIBUTING.md +0 -0
  13. {isaacus-0.14.0 → isaacus-0.16.0}/LICENSE +0 -0
  14. {isaacus-0.14.0 → isaacus-0.16.0}/README.md +0 -0
  15. {isaacus-0.14.0 → isaacus-0.16.0}/SECURITY.md +0 -0
  16. {isaacus-0.14.0 → isaacus-0.16.0}/api.md +0 -0
  17. {isaacus-0.14.0 → isaacus-0.16.0}/bin/check-release-environment +0 -0
  18. {isaacus-0.14.0 → isaacus-0.16.0}/bin/publish-pypi +0 -0
  19. {isaacus-0.14.0 → isaacus-0.16.0}/examples/.keep +0 -0
  20. {isaacus-0.14.0 → isaacus-0.16.0}/noxfile.py +0 -0
  21. {isaacus-0.14.0 → isaacus-0.16.0}/release-please-config.json +0 -0
  22. {isaacus-0.14.0 → isaacus-0.16.0}/requirements-dev.lock +0 -0
  23. {isaacus-0.14.0 → isaacus-0.16.0}/requirements.lock +0 -0
  24. {isaacus-0.14.0 → isaacus-0.16.0}/src/isaacus/__init__.py +0 -0
  25. {isaacus-0.14.0 → isaacus-0.16.0}/src/isaacus/_base_client.py +0 -0
  26. {isaacus-0.14.0 → isaacus-0.16.0}/src/isaacus/_client.py +0 -0
  27. {isaacus-0.14.0 → isaacus-0.16.0}/src/isaacus/_compat.py +0 -0
  28. {isaacus-0.14.0 → isaacus-0.16.0}/src/isaacus/_constants.py +0 -0
  29. {isaacus-0.14.0 → isaacus-0.16.0}/src/isaacus/_exceptions.py +0 -0
  30. {isaacus-0.14.0 → isaacus-0.16.0}/src/isaacus/_files.py +0 -0
  31. {isaacus-0.14.0 → isaacus-0.16.0}/src/isaacus/_models.py +0 -0
  32. {isaacus-0.14.0 → isaacus-0.16.0}/src/isaacus/_qs.py +0 -0
  33. {isaacus-0.14.0 → isaacus-0.16.0}/src/isaacus/_resource.py +0 -0
  34. {isaacus-0.14.0 → isaacus-0.16.0}/src/isaacus/_response.py +0 -0
  35. {isaacus-0.14.0 → isaacus-0.16.0}/src/isaacus/_streaming.py +0 -0
  36. {isaacus-0.14.0 → isaacus-0.16.0}/src/isaacus/_types.py +0 -0
  37. {isaacus-0.14.0 → isaacus-0.16.0}/src/isaacus/_utils/__init__.py +0 -0
  38. {isaacus-0.14.0 → isaacus-0.16.0}/src/isaacus/_utils/_compat.py +0 -0
  39. {isaacus-0.14.0 → isaacus-0.16.0}/src/isaacus/_utils/_datetime_parse.py +0 -0
  40. {isaacus-0.14.0 → isaacus-0.16.0}/src/isaacus/_utils/_json.py +0 -0
  41. {isaacus-0.14.0 → isaacus-0.16.0}/src/isaacus/_utils/_logs.py +0 -0
  42. {isaacus-0.14.0 → isaacus-0.16.0}/src/isaacus/_utils/_proxy.py +0 -0
  43. {isaacus-0.14.0 → isaacus-0.16.0}/src/isaacus/_utils/_reflection.py +0 -0
  44. {isaacus-0.14.0 → isaacus-0.16.0}/src/isaacus/_utils/_resources_proxy.py +0 -0
  45. {isaacus-0.14.0 → isaacus-0.16.0}/src/isaacus/_utils/_streams.py +0 -0
  46. {isaacus-0.14.0 → isaacus-0.16.0}/src/isaacus/_utils/_sync.py +0 -0
  47. {isaacus-0.14.0 → isaacus-0.16.0}/src/isaacus/_utils/_transform.py +0 -0
  48. {isaacus-0.14.0 → isaacus-0.16.0}/src/isaacus/_utils/_typing.py +0 -0
  49. {isaacus-0.14.0 → isaacus-0.16.0}/src/isaacus/_utils/_utils.py +0 -0
  50. {isaacus-0.14.0 → isaacus-0.16.0}/src/isaacus/lib/.keep +0 -0
  51. {isaacus-0.14.0 → isaacus-0.16.0}/src/isaacus/py.typed +0 -0
  52. {isaacus-0.14.0 → isaacus-0.16.0}/src/isaacus/resources/__init__.py +0 -0
  53. {isaacus-0.14.0 → isaacus-0.16.0}/src/isaacus/resources/classifications/__init__.py +0 -0
  54. {isaacus-0.14.0 → isaacus-0.16.0}/src/isaacus/resources/classifications/classifications.py +0 -0
  55. {isaacus-0.14.0 → isaacus-0.16.0}/src/isaacus/resources/classifications/universal.py +0 -0
  56. {isaacus-0.14.0 → isaacus-0.16.0}/src/isaacus/resources/embeddings.py +0 -0
  57. {isaacus-0.14.0 → isaacus-0.16.0}/src/isaacus/resources/enrichments.py +0 -0
  58. {isaacus-0.14.0 → isaacus-0.16.0}/src/isaacus/resources/extractions/__init__.py +0 -0
  59. {isaacus-0.14.0 → isaacus-0.16.0}/src/isaacus/resources/extractions/extractions.py +0 -0
  60. {isaacus-0.14.0 → isaacus-0.16.0}/src/isaacus/resources/extractions/qa.py +0 -0
  61. {isaacus-0.14.0 → isaacus-0.16.0}/src/isaacus/resources/rerankings.py +0 -0
  62. {isaacus-0.14.0 → isaacus-0.16.0}/src/isaacus/types/__init__.py +0 -0
  63. {isaacus-0.14.0 → isaacus-0.16.0}/src/isaacus/types/classifications/__init__.py +0 -0
  64. {isaacus-0.14.0 → isaacus-0.16.0}/src/isaacus/types/classifications/universal_classification_response.py +0 -0
  65. {isaacus-0.14.0 → isaacus-0.16.0}/src/isaacus/types/classifications/universal_create_params.py +0 -0
  66. {isaacus-0.14.0 → isaacus-0.16.0}/src/isaacus/types/embedding_create_params.py +0 -0
  67. {isaacus-0.14.0 → isaacus-0.16.0}/src/isaacus/types/embedding_response.py +0 -0
  68. {isaacus-0.14.0 → isaacus-0.16.0}/src/isaacus/types/enrichment_create_params.py +0 -0
  69. {isaacus-0.14.0 → isaacus-0.16.0}/src/isaacus/types/enrichment_response.py +0 -0
  70. {isaacus-0.14.0 → isaacus-0.16.0}/src/isaacus/types/extractions/__init__.py +0 -0
  71. {isaacus-0.14.0 → isaacus-0.16.0}/src/isaacus/types/extractions/answer_extraction_response.py +0 -0
  72. {isaacus-0.14.0 → isaacus-0.16.0}/src/isaacus/types/extractions/qa_create_params.py +0 -0
  73. {isaacus-0.14.0 → isaacus-0.16.0}/src/isaacus/types/ilgs/__init__.py +0 -0
  74. {isaacus-0.14.0 → isaacus-0.16.0}/src/isaacus/types/ilgs/v1/__init__.py +0 -0
  75. {isaacus-0.14.0 → isaacus-0.16.0}/src/isaacus/types/ilgs/v1/crossreference.py +0 -0
  76. {isaacus-0.14.0 → isaacus-0.16.0}/src/isaacus/types/ilgs/v1/date.py +0 -0
  77. {isaacus-0.14.0 → isaacus-0.16.0}/src/isaacus/types/ilgs/v1/document.py +0 -0
  78. {isaacus-0.14.0 → isaacus-0.16.0}/src/isaacus/types/ilgs/v1/email.py +0 -0
  79. {isaacus-0.14.0 → isaacus-0.16.0}/src/isaacus/types/ilgs/v1/external_document.py +0 -0
  80. {isaacus-0.14.0 → isaacus-0.16.0}/src/isaacus/types/ilgs/v1/id_number.py +0 -0
  81. {isaacus-0.14.0 → isaacus-0.16.0}/src/isaacus/types/ilgs/v1/phone_number.py +0 -0
  82. {isaacus-0.14.0 → isaacus-0.16.0}/src/isaacus/types/ilgs/v1/quote.py +0 -0
  83. {isaacus-0.14.0 → isaacus-0.16.0}/src/isaacus/types/ilgs/v1/term.py +0 -0
  84. {isaacus-0.14.0 → isaacus-0.16.0}/src/isaacus/types/ilgs/v1/website.py +0 -0
  85. {isaacus-0.14.0 → isaacus-0.16.0}/src/isaacus/types/reranking_create_params.py +0 -0
  86. {isaacus-0.14.0 → isaacus-0.16.0}/src/isaacus/types/reranking_response.py +0 -0
  87. {isaacus-0.14.0 → isaacus-0.16.0}/tests/__init__.py +0 -0
  88. {isaacus-0.14.0 → isaacus-0.16.0}/tests/api_resources/__init__.py +0 -0
  89. {isaacus-0.14.0 → isaacus-0.16.0}/tests/api_resources/classifications/__init__.py +0 -0
  90. {isaacus-0.14.0 → isaacus-0.16.0}/tests/api_resources/classifications/test_universal.py +0 -0
  91. {isaacus-0.14.0 → isaacus-0.16.0}/tests/api_resources/extractions/__init__.py +0 -0
  92. {isaacus-0.14.0 → isaacus-0.16.0}/tests/api_resources/extractions/test_qa.py +0 -0
  93. {isaacus-0.14.0 → isaacus-0.16.0}/tests/api_resources/test_embeddings.py +0 -0
  94. {isaacus-0.14.0 → isaacus-0.16.0}/tests/api_resources/test_enrichments.py +0 -0
  95. {isaacus-0.14.0 → isaacus-0.16.0}/tests/api_resources/test_rerankings.py +0 -0
  96. {isaacus-0.14.0 → isaacus-0.16.0}/tests/conftest.py +0 -0
  97. {isaacus-0.14.0 → isaacus-0.16.0}/tests/sample_file.txt +0 -0
  98. {isaacus-0.14.0 → isaacus-0.16.0}/tests/test_client.py +0 -0
  99. {isaacus-0.14.0 → isaacus-0.16.0}/tests/test_deepcopy.py +0 -0
  100. {isaacus-0.14.0 → isaacus-0.16.0}/tests/test_extract_files.py +0 -0
  101. {isaacus-0.14.0 → isaacus-0.16.0}/tests/test_files.py +0 -0
  102. {isaacus-0.14.0 → isaacus-0.16.0}/tests/test_models.py +0 -0
  103. {isaacus-0.14.0 → isaacus-0.16.0}/tests/test_qs.py +0 -0
  104. {isaacus-0.14.0 → isaacus-0.16.0}/tests/test_required_args.py +0 -0
  105. {isaacus-0.14.0 → isaacus-0.16.0}/tests/test_response.py +0 -0
  106. {isaacus-0.14.0 → isaacus-0.16.0}/tests/test_streaming.py +0 -0
  107. {isaacus-0.14.0 → isaacus-0.16.0}/tests/test_transform.py +0 -0
  108. {isaacus-0.14.0 → isaacus-0.16.0}/tests/test_utils/test_datetime_parse.py +0 -0
  109. {isaacus-0.14.0 → isaacus-0.16.0}/tests/test_utils/test_json.py +0 -0
  110. {isaacus-0.14.0 → isaacus-0.16.0}/tests/test_utils/test_proxy.py +0 -0
  111. {isaacus-0.14.0 → isaacus-0.16.0}/tests/test_utils/test_typing.py +0 -0
  112. {isaacus-0.14.0 → isaacus-0.16.0}/tests/utils.py +0 -0
@@ -0,0 +1,3 @@
1
+ {
2
+ ".": "0.16.0"
3
+ }
@@ -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.14.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
@@ -1,6 +1,6 @@
1
1
  [project]
2
2
  name = "isaacus"
3
- version = "0.14.0"
3
+ version = "0.16.0"
4
4
  description = "The official Python library for the isaacus API"
5
5
  dynamic = ["readme"]
6
6
  license = "Apache-2.0"
@@ -1,4 +1,4 @@
1
1
  # File generated from our OpenAPI spec by Stainless. See CONTRIBUTING.md for details.
2
2
 
3
3
  __title__ = "isaacus"
4
- __version__ = "0.14.0" # x-release-please-version
4
+ __version__ = "0.16.0" # x-release-please-version
@@ -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]
@@ -1,3 +0,0 @@
1
- {
2
- ".": "0.14.0"
3
- }
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes