isaacus 0.1.1__tar.gz → 0.1.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.
Files changed (71) hide show
  1. isaacus-0.1.3/.release-please-manifest.json +3 -0
  2. {isaacus-0.1.1 → isaacus-0.1.3}/CHANGELOG.md +23 -0
  3. {isaacus-0.1.1 → isaacus-0.1.3}/PKG-INFO +23 -1
  4. {isaacus-0.1.1 → isaacus-0.1.3}/README.md +22 -0
  5. {isaacus-0.1.1 → isaacus-0.1.3}/pyproject.toml +1 -3
  6. {isaacus-0.1.1 → isaacus-0.1.3}/requirements-dev.lock +1 -0
  7. {isaacus-0.1.1 → isaacus-0.1.3}/requirements.lock +1 -0
  8. {isaacus-0.1.1 → isaacus-0.1.3}/src/isaacus/_version.py +1 -1
  9. isaacus-0.1.1/.release-please-manifest.json +0 -3
  10. {isaacus-0.1.1 → isaacus-0.1.3}/.gitignore +0 -0
  11. {isaacus-0.1.1 → isaacus-0.1.3}/CONTRIBUTING.md +0 -0
  12. {isaacus-0.1.1 → isaacus-0.1.3}/LICENSE +0 -0
  13. {isaacus-0.1.1 → isaacus-0.1.3}/SECURITY.md +0 -0
  14. {isaacus-0.1.1 → isaacus-0.1.3}/api.md +0 -0
  15. {isaacus-0.1.1 → isaacus-0.1.3}/bin/check-release-environment +0 -0
  16. {isaacus-0.1.1 → isaacus-0.1.3}/bin/publish-pypi +0 -0
  17. {isaacus-0.1.1 → isaacus-0.1.3}/examples/.keep +0 -0
  18. {isaacus-0.1.1 → isaacus-0.1.3}/mypy.ini +0 -0
  19. {isaacus-0.1.1 → isaacus-0.1.3}/noxfile.py +0 -0
  20. {isaacus-0.1.1 → isaacus-0.1.3}/release-please-config.json +0 -0
  21. {isaacus-0.1.1 → isaacus-0.1.3}/src/isaacus/__init__.py +0 -0
  22. {isaacus-0.1.1 → isaacus-0.1.3}/src/isaacus/_base_client.py +0 -0
  23. {isaacus-0.1.1 → isaacus-0.1.3}/src/isaacus/_client.py +0 -0
  24. {isaacus-0.1.1 → isaacus-0.1.3}/src/isaacus/_compat.py +0 -0
  25. {isaacus-0.1.1 → isaacus-0.1.3}/src/isaacus/_constants.py +0 -0
  26. {isaacus-0.1.1 → isaacus-0.1.3}/src/isaacus/_exceptions.py +0 -0
  27. {isaacus-0.1.1 → isaacus-0.1.3}/src/isaacus/_files.py +0 -0
  28. {isaacus-0.1.1 → isaacus-0.1.3}/src/isaacus/_models.py +0 -0
  29. {isaacus-0.1.1 → isaacus-0.1.3}/src/isaacus/_qs.py +0 -0
  30. {isaacus-0.1.1 → isaacus-0.1.3}/src/isaacus/_resource.py +0 -0
  31. {isaacus-0.1.1 → isaacus-0.1.3}/src/isaacus/_response.py +0 -0
  32. {isaacus-0.1.1 → isaacus-0.1.3}/src/isaacus/_streaming.py +0 -0
  33. {isaacus-0.1.1 → isaacus-0.1.3}/src/isaacus/_types.py +0 -0
  34. {isaacus-0.1.1 → isaacus-0.1.3}/src/isaacus/_utils/__init__.py +0 -0
  35. {isaacus-0.1.1 → isaacus-0.1.3}/src/isaacus/_utils/_logs.py +0 -0
  36. {isaacus-0.1.1 → isaacus-0.1.3}/src/isaacus/_utils/_proxy.py +0 -0
  37. {isaacus-0.1.1 → isaacus-0.1.3}/src/isaacus/_utils/_reflection.py +0 -0
  38. {isaacus-0.1.1 → isaacus-0.1.3}/src/isaacus/_utils/_streams.py +0 -0
  39. {isaacus-0.1.1 → isaacus-0.1.3}/src/isaacus/_utils/_sync.py +0 -0
  40. {isaacus-0.1.1 → isaacus-0.1.3}/src/isaacus/_utils/_transform.py +0 -0
  41. {isaacus-0.1.1 → isaacus-0.1.3}/src/isaacus/_utils/_typing.py +0 -0
  42. {isaacus-0.1.1 → isaacus-0.1.3}/src/isaacus/_utils/_utils.py +0 -0
  43. {isaacus-0.1.1 → isaacus-0.1.3}/src/isaacus/lib/.keep +0 -0
  44. {isaacus-0.1.1 → isaacus-0.1.3}/src/isaacus/py.typed +0 -0
  45. {isaacus-0.1.1 → isaacus-0.1.3}/src/isaacus/resources/__init__.py +0 -0
  46. {isaacus-0.1.1 → isaacus-0.1.3}/src/isaacus/resources/classifications/__init__.py +0 -0
  47. {isaacus-0.1.1 → isaacus-0.1.3}/src/isaacus/resources/classifications/classifications.py +0 -0
  48. {isaacus-0.1.1 → isaacus-0.1.3}/src/isaacus/resources/classifications/universal.py +0 -0
  49. {isaacus-0.1.1 → isaacus-0.1.3}/src/isaacus/types/__init__.py +0 -0
  50. {isaacus-0.1.1 → isaacus-0.1.3}/src/isaacus/types/classifications/__init__.py +0 -0
  51. {isaacus-0.1.1 → isaacus-0.1.3}/src/isaacus/types/classifications/universal_classification.py +0 -0
  52. {isaacus-0.1.1 → isaacus-0.1.3}/src/isaacus/types/classifications/universal_create_params.py +0 -0
  53. {isaacus-0.1.1 → isaacus-0.1.3}/tests/__init__.py +0 -0
  54. {isaacus-0.1.1 → isaacus-0.1.3}/tests/api_resources/__init__.py +0 -0
  55. {isaacus-0.1.1 → isaacus-0.1.3}/tests/api_resources/classifications/__init__.py +0 -0
  56. {isaacus-0.1.1 → isaacus-0.1.3}/tests/api_resources/classifications/test_universal.py +0 -0
  57. {isaacus-0.1.1 → isaacus-0.1.3}/tests/conftest.py +0 -0
  58. {isaacus-0.1.1 → isaacus-0.1.3}/tests/sample_file.txt +0 -0
  59. {isaacus-0.1.1 → isaacus-0.1.3}/tests/test_client.py +0 -0
  60. {isaacus-0.1.1 → isaacus-0.1.3}/tests/test_deepcopy.py +0 -0
  61. {isaacus-0.1.1 → isaacus-0.1.3}/tests/test_extract_files.py +0 -0
  62. {isaacus-0.1.1 → isaacus-0.1.3}/tests/test_files.py +0 -0
  63. {isaacus-0.1.1 → isaacus-0.1.3}/tests/test_models.py +0 -0
  64. {isaacus-0.1.1 → isaacus-0.1.3}/tests/test_qs.py +0 -0
  65. {isaacus-0.1.1 → isaacus-0.1.3}/tests/test_required_args.py +0 -0
  66. {isaacus-0.1.1 → isaacus-0.1.3}/tests/test_response.py +0 -0
  67. {isaacus-0.1.1 → isaacus-0.1.3}/tests/test_streaming.py +0 -0
  68. {isaacus-0.1.1 → isaacus-0.1.3}/tests/test_transform.py +0 -0
  69. {isaacus-0.1.1 → isaacus-0.1.3}/tests/test_utils/test_proxy.py +0 -0
  70. {isaacus-0.1.1 → isaacus-0.1.3}/tests/test_utils/test_typing.py +0 -0
  71. {isaacus-0.1.1 → isaacus-0.1.3}/tests/utils.py +0 -0
@@ -0,0 +1,3 @@
1
+ {
2
+ ".": "0.1.3"
3
+ }
@@ -1,5 +1,28 @@
1
1
  # Changelog
2
2
 
3
+ ## 0.1.3 (2025-03-15)
4
+
5
+ Full Changelog: [v0.1.2...v0.1.3](https://github.com/isaacus-dev/isaacus-python/compare/v0.1.2...v0.1.3)
6
+
7
+ ### Chores
8
+
9
+ * update SDK settings ([#26](https://github.com/isaacus-dev/isaacus-python/issues/26)) ([242ae3a](https://github.com/isaacus-dev/isaacus-python/commit/242ae3acecf25b93e5f7ca824926778196c95490))
10
+
11
+ ## 0.1.2 (2025-03-14)
12
+
13
+ Full Changelog: [v0.1.1...v0.1.2](https://github.com/isaacus-dev/isaacus-python/compare/v0.1.1...v0.1.2)
14
+
15
+ ### Features
16
+
17
+ * **api:** added latest OpenAPI specification ([#20](https://github.com/isaacus-dev/isaacus-python/issues/20)) ([a9c1c23](https://github.com/isaacus-dev/isaacus-python/commit/a9c1c2342202dd0fc29fbc350104a8a0a70e8592))
18
+
19
+
20
+ ### Chores
21
+
22
+ * **internal:** codegen related update ([#22](https://github.com/isaacus-dev/isaacus-python/issues/22)) ([6c913e4](https://github.com/isaacus-dev/isaacus-python/commit/6c913e4dd83b070f7796f535e22cbe5b82287115))
23
+ * **internal:** remove extra empty newlines ([#23](https://github.com/isaacus-dev/isaacus-python/issues/23)) ([39adf10](https://github.com/isaacus-dev/isaacus-python/commit/39adf10b15bf5e03d6554a37d1b5181a32088624))
24
+ * update SDK settings ([#24](https://github.com/isaacus-dev/isaacus-python/issues/24)) ([914555c](https://github.com/isaacus-dev/isaacus-python/commit/914555c31d1317220c574a274c1b2ae9eae6f4dc))
25
+
3
26
  ## 0.1.1 (2025-03-08)
4
27
 
5
28
  Full Changelog: [v0.1.0-alpha.1...v0.1.1](https://github.com/isaacus-dev/isaacus-python/compare/v0.1.0-alpha.1...v0.1.1)
@@ -1,6 +1,6 @@
1
1
  Metadata-Version: 2.4
2
2
  Name: isaacus
3
- Version: 0.1.1
3
+ Version: 0.1.3
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
@@ -113,6 +113,28 @@ Nested request parameters are [TypedDicts](https://docs.python.org/3/library/typ
113
113
 
114
114
  Typed requests and responses provide autocomplete and documentation within your editor. If you would like to see type errors in VS Code to help catch bugs earlier, set `python.analysis.typeCheckingMode` to `basic`.
115
115
 
116
+ ## Nested params
117
+
118
+ Nested parameters are dictionaries, typed using `TypedDict`, for example:
119
+
120
+ ```python
121
+ from isaacus import Isaacus
122
+
123
+ client = Isaacus()
124
+
125
+ universal_classification = client.classifications.universal.create(
126
+ model="kanon-universal-classifier",
127
+ query="This is a confidentiality clause.",
128
+ text="I agree not to tell anyone about the document.",
129
+ chunking_options={
130
+ "overlap_ratio": 0.1,
131
+ "overlap_tokens": 0,
132
+ "size": 512,
133
+ },
134
+ )
135
+ print(universal_classification.chunking_options)
136
+ ```
137
+
116
138
  ## Handling errors
117
139
 
118
140
  When the library is unable to connect to the API (for example, due to network connection problems or a timeout), a subclass of `isaacus.APIConnectionError` is raised.
@@ -81,6 +81,28 @@ Nested request parameters are [TypedDicts](https://docs.python.org/3/library/typ
81
81
 
82
82
  Typed requests and responses provide autocomplete and documentation within your editor. If you would like to see type errors in VS Code to help catch bugs earlier, set `python.analysis.typeCheckingMode` to `basic`.
83
83
 
84
+ ## Nested params
85
+
86
+ Nested parameters are dictionaries, typed using `TypedDict`, for example:
87
+
88
+ ```python
89
+ from isaacus import Isaacus
90
+
91
+ client = Isaacus()
92
+
93
+ universal_classification = client.classifications.universal.create(
94
+ model="kanon-universal-classifier",
95
+ query="This is a confidentiality clause.",
96
+ text="I agree not to tell anyone about the document.",
97
+ chunking_options={
98
+ "overlap_ratio": 0.1,
99
+ "overlap_tokens": 0,
100
+ "size": 512,
101
+ },
102
+ )
103
+ print(universal_classification.chunking_options)
104
+ ```
105
+
84
106
  ## Handling errors
85
107
 
86
108
  When the library is unable to connect to the API (for example, due to network connection problems or a timeout), a subclass of `isaacus.APIConnectionError` is raised.
@@ -1,6 +1,6 @@
1
1
  [project]
2
2
  name = "isaacus"
3
- version = "0.1.1"
3
+ version = "0.1.3"
4
4
  description = "The official Python library for the isaacus API"
5
5
  dynamic = ["readme"]
6
6
  license = "Apache-2.0"
@@ -38,7 +38,6 @@ Homepage = "https://github.com/isaacus-dev/isaacus-python"
38
38
  Repository = "https://github.com/isaacus-dev/isaacus-python"
39
39
 
40
40
 
41
-
42
41
  [tool.rye]
43
42
  managed = true
44
43
  # version pins are in requirements-dev.lock
@@ -152,7 +151,6 @@ reportImplicitOverride = true
152
151
  reportImportCycles = false
153
152
  reportPrivateUsage = false
154
153
 
155
-
156
154
  [tool.ruff]
157
155
  line-length = 120
158
156
  output-format = "grouped"
@@ -7,6 +7,7 @@
7
7
  # all-features: true
8
8
  # with-sources: false
9
9
  # generate-hashes: false
10
+ # universal: false
10
11
 
11
12
  -e file:.
12
13
  annotated-types==0.6.0
@@ -7,6 +7,7 @@
7
7
  # all-features: true
8
8
  # with-sources: false
9
9
  # generate-hashes: false
10
+ # universal: false
10
11
 
11
12
  -e file:.
12
13
  annotated-types==0.6.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.1.1" # x-release-please-version
4
+ __version__ = "0.1.3" # x-release-please-version
@@ -1,3 +0,0 @@
1
- {
2
- ".": "0.1.1"
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
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes