isaacus 0.1.0a1__tar.gz → 0.1.2__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.2/.release-please-manifest.json +3 -0
  2. {isaacus-0.1.0a1 → isaacus-0.1.2}/CHANGELOG.md +28 -0
  3. {isaacus-0.1.0a1 → isaacus-0.1.2}/PKG-INFO +24 -2
  4. {isaacus-0.1.0a1 → isaacus-0.1.2}/README.md +23 -1
  5. {isaacus-0.1.0a1 → isaacus-0.1.2}/pyproject.toml +1 -3
  6. {isaacus-0.1.0a1 → isaacus-0.1.2}/src/isaacus/_version.py +1 -1
  7. isaacus-0.1.0a1/.release-please-manifest.json +0 -3
  8. {isaacus-0.1.0a1 → isaacus-0.1.2}/.gitignore +0 -0
  9. {isaacus-0.1.0a1 → isaacus-0.1.2}/CONTRIBUTING.md +0 -0
  10. {isaacus-0.1.0a1 → isaacus-0.1.2}/LICENSE +0 -0
  11. {isaacus-0.1.0a1 → isaacus-0.1.2}/SECURITY.md +0 -0
  12. {isaacus-0.1.0a1 → isaacus-0.1.2}/api.md +0 -0
  13. {isaacus-0.1.0a1 → isaacus-0.1.2}/bin/check-release-environment +0 -0
  14. {isaacus-0.1.0a1 → isaacus-0.1.2}/bin/publish-pypi +0 -0
  15. {isaacus-0.1.0a1 → isaacus-0.1.2}/examples/.keep +0 -0
  16. {isaacus-0.1.0a1 → isaacus-0.1.2}/mypy.ini +0 -0
  17. {isaacus-0.1.0a1 → isaacus-0.1.2}/noxfile.py +0 -0
  18. {isaacus-0.1.0a1 → isaacus-0.1.2}/release-please-config.json +0 -0
  19. {isaacus-0.1.0a1 → isaacus-0.1.2}/requirements-dev.lock +0 -0
  20. {isaacus-0.1.0a1 → isaacus-0.1.2}/requirements.lock +0 -0
  21. {isaacus-0.1.0a1 → isaacus-0.1.2}/src/isaacus/__init__.py +0 -0
  22. {isaacus-0.1.0a1 → isaacus-0.1.2}/src/isaacus/_base_client.py +0 -0
  23. {isaacus-0.1.0a1 → isaacus-0.1.2}/src/isaacus/_client.py +0 -0
  24. {isaacus-0.1.0a1 → isaacus-0.1.2}/src/isaacus/_compat.py +0 -0
  25. {isaacus-0.1.0a1 → isaacus-0.1.2}/src/isaacus/_constants.py +0 -0
  26. {isaacus-0.1.0a1 → isaacus-0.1.2}/src/isaacus/_exceptions.py +0 -0
  27. {isaacus-0.1.0a1 → isaacus-0.1.2}/src/isaacus/_files.py +0 -0
  28. {isaacus-0.1.0a1 → isaacus-0.1.2}/src/isaacus/_models.py +0 -0
  29. {isaacus-0.1.0a1 → isaacus-0.1.2}/src/isaacus/_qs.py +0 -0
  30. {isaacus-0.1.0a1 → isaacus-0.1.2}/src/isaacus/_resource.py +0 -0
  31. {isaacus-0.1.0a1 → isaacus-0.1.2}/src/isaacus/_response.py +0 -0
  32. {isaacus-0.1.0a1 → isaacus-0.1.2}/src/isaacus/_streaming.py +0 -0
  33. {isaacus-0.1.0a1 → isaacus-0.1.2}/src/isaacus/_types.py +0 -0
  34. {isaacus-0.1.0a1 → isaacus-0.1.2}/src/isaacus/_utils/__init__.py +0 -0
  35. {isaacus-0.1.0a1 → isaacus-0.1.2}/src/isaacus/_utils/_logs.py +0 -0
  36. {isaacus-0.1.0a1 → isaacus-0.1.2}/src/isaacus/_utils/_proxy.py +0 -0
  37. {isaacus-0.1.0a1 → isaacus-0.1.2}/src/isaacus/_utils/_reflection.py +0 -0
  38. {isaacus-0.1.0a1 → isaacus-0.1.2}/src/isaacus/_utils/_streams.py +0 -0
  39. {isaacus-0.1.0a1 → isaacus-0.1.2}/src/isaacus/_utils/_sync.py +0 -0
  40. {isaacus-0.1.0a1 → isaacus-0.1.2}/src/isaacus/_utils/_transform.py +0 -0
  41. {isaacus-0.1.0a1 → isaacus-0.1.2}/src/isaacus/_utils/_typing.py +0 -0
  42. {isaacus-0.1.0a1 → isaacus-0.1.2}/src/isaacus/_utils/_utils.py +0 -0
  43. {isaacus-0.1.0a1 → isaacus-0.1.2}/src/isaacus/lib/.keep +0 -0
  44. {isaacus-0.1.0a1 → isaacus-0.1.2}/src/isaacus/py.typed +0 -0
  45. {isaacus-0.1.0a1 → isaacus-0.1.2}/src/isaacus/resources/__init__.py +0 -0
  46. {isaacus-0.1.0a1 → isaacus-0.1.2}/src/isaacus/resources/classifications/__init__.py +0 -0
  47. {isaacus-0.1.0a1 → isaacus-0.1.2}/src/isaacus/resources/classifications/classifications.py +0 -0
  48. {isaacus-0.1.0a1 → isaacus-0.1.2}/src/isaacus/resources/classifications/universal.py +0 -0
  49. {isaacus-0.1.0a1 → isaacus-0.1.2}/src/isaacus/types/__init__.py +0 -0
  50. {isaacus-0.1.0a1 → isaacus-0.1.2}/src/isaacus/types/classifications/__init__.py +0 -0
  51. {isaacus-0.1.0a1 → isaacus-0.1.2}/src/isaacus/types/classifications/universal_classification.py +0 -0
  52. {isaacus-0.1.0a1 → isaacus-0.1.2}/src/isaacus/types/classifications/universal_create_params.py +0 -0
  53. {isaacus-0.1.0a1 → isaacus-0.1.2}/tests/__init__.py +0 -0
  54. {isaacus-0.1.0a1 → isaacus-0.1.2}/tests/api_resources/__init__.py +0 -0
  55. {isaacus-0.1.0a1 → isaacus-0.1.2}/tests/api_resources/classifications/__init__.py +0 -0
  56. {isaacus-0.1.0a1 → isaacus-0.1.2}/tests/api_resources/classifications/test_universal.py +0 -0
  57. {isaacus-0.1.0a1 → isaacus-0.1.2}/tests/conftest.py +0 -0
  58. {isaacus-0.1.0a1 → isaacus-0.1.2}/tests/sample_file.txt +0 -0
  59. {isaacus-0.1.0a1 → isaacus-0.1.2}/tests/test_client.py +0 -0
  60. {isaacus-0.1.0a1 → isaacus-0.1.2}/tests/test_deepcopy.py +0 -0
  61. {isaacus-0.1.0a1 → isaacus-0.1.2}/tests/test_extract_files.py +0 -0
  62. {isaacus-0.1.0a1 → isaacus-0.1.2}/tests/test_files.py +0 -0
  63. {isaacus-0.1.0a1 → isaacus-0.1.2}/tests/test_models.py +0 -0
  64. {isaacus-0.1.0a1 → isaacus-0.1.2}/tests/test_qs.py +0 -0
  65. {isaacus-0.1.0a1 → isaacus-0.1.2}/tests/test_required_args.py +0 -0
  66. {isaacus-0.1.0a1 → isaacus-0.1.2}/tests/test_response.py +0 -0
  67. {isaacus-0.1.0a1 → isaacus-0.1.2}/tests/test_streaming.py +0 -0
  68. {isaacus-0.1.0a1 → isaacus-0.1.2}/tests/test_transform.py +0 -0
  69. {isaacus-0.1.0a1 → isaacus-0.1.2}/tests/test_utils/test_proxy.py +0 -0
  70. {isaacus-0.1.0a1 → isaacus-0.1.2}/tests/test_utils/test_typing.py +0 -0
  71. {isaacus-0.1.0a1 → isaacus-0.1.2}/tests/utils.py +0 -0
@@ -0,0 +1,3 @@
1
+ {
2
+ ".": "0.1.2"
3
+ }
@@ -1,5 +1,33 @@
1
1
  # Changelog
2
2
 
3
+ ## 0.1.2 (2025-03-14)
4
+
5
+ Full Changelog: [v0.1.1...v0.1.2](https://github.com/isaacus-dev/isaacus-python/compare/v0.1.1...v0.1.2)
6
+
7
+ ### Features
8
+
9
+ * **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))
10
+
11
+
12
+ ### Chores
13
+
14
+ * **internal:** codegen related update ([#22](https://github.com/isaacus-dev/isaacus-python/issues/22)) ([6c913e4](https://github.com/isaacus-dev/isaacus-python/commit/6c913e4dd83b070f7796f535e22cbe5b82287115))
15
+ * **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))
16
+ * update SDK settings ([#24](https://github.com/isaacus-dev/isaacus-python/issues/24)) ([914555c](https://github.com/isaacus-dev/isaacus-python/commit/914555c31d1317220c574a274c1b2ae9eae6f4dc))
17
+
18
+ ## 0.1.1 (2025-03-08)
19
+
20
+ 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)
21
+
22
+ ### Features
23
+
24
+ * **api:** added latest OpenAPI specification ([#16](https://github.com/isaacus-dev/isaacus-python/issues/16)) ([219c568](https://github.com/isaacus-dev/isaacus-python/commit/219c5681bb2ad9219d66fc4d14f6787744ddd221))
25
+
26
+
27
+ ### Chores
28
+
29
+ * update SDK settings ([#18](https://github.com/isaacus-dev/isaacus-python/issues/18)) ([a6f6958](https://github.com/isaacus-dev/isaacus-python/commit/a6f69580dd65ee3d6f1ba4f9cf6406e8cfed0998))
30
+
3
31
  ## 0.1.0-alpha.1 (2025-03-04)
4
32
 
5
33
  Full Changelog: [v0.0.1-alpha.0...v0.1.0-alpha.1](https://github.com/isaacus-dev/isaacus-python/compare/v0.0.1-alpha.0...v0.1.0-alpha.1)
@@ -1,6 +1,6 @@
1
1
  Metadata-Version: 2.4
2
2
  Name: isaacus
3
- Version: 0.1.0a1
3
+ Version: 0.1.2
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
@@ -48,7 +48,7 @@ The REST API documentation can be found on [docs.isaacus.com](https://docs.isaac
48
48
 
49
49
  ```sh
50
50
  # install from PyPI
51
- pip install --pre isaacus
51
+ pip install isaacus
52
52
  ```
53
53
 
54
54
  ## Usage
@@ -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.
@@ -16,7 +16,7 @@ The REST API documentation can be found on [docs.isaacus.com](https://docs.isaac
16
16
 
17
17
  ```sh
18
18
  # install from PyPI
19
- pip install --pre isaacus
19
+ pip install isaacus
20
20
  ```
21
21
 
22
22
  ## Usage
@@ -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.0-alpha.1"
3
+ version = "0.1.2"
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"
@@ -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.0-alpha.1" # x-release-please-version
4
+ __version__ = "0.1.2" # x-release-please-version
@@ -1,3 +0,0 @@
1
- {
2
- ".": "0.1.0-alpha.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