spitch 1.23.0__tar.gz → 1.24.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.
Potentially problematic release.
This version of spitch might be problematic. Click here for more details.
- spitch-1.24.0/.release-please-manifest.json +3 -0
- {spitch-1.23.0 → spitch-1.24.0}/CHANGELOG.md +8 -0
- {spitch-1.23.0 → spitch-1.24.0}/PKG-INFO +2 -2
- {spitch-1.23.0 → spitch-1.24.0}/SECURITY.md +1 -1
- {spitch-1.23.0 → spitch-1.24.0}/pyproject.toml +2 -2
- {spitch-1.23.0 → spitch-1.24.0}/src/spitch/_response.py +2 -1
- {spitch-1.23.0 → spitch-1.24.0}/src/spitch/_version.py +1 -1
- spitch-1.23.0/.release-please-manifest.json +0 -3
- {spitch-1.23.0 → spitch-1.24.0}/.gitignore +0 -0
- {spitch-1.23.0 → spitch-1.24.0}/CONTRIBUTING.md +0 -0
- {spitch-1.23.0 → spitch-1.24.0}/LICENSE +0 -0
- {spitch-1.23.0 → spitch-1.24.0}/README.md +0 -0
- {spitch-1.23.0 → spitch-1.24.0}/api.md +0 -0
- {spitch-1.23.0 → spitch-1.24.0}/bin/check-release-environment +0 -0
- {spitch-1.23.0 → spitch-1.24.0}/bin/publish-pypi +0 -0
- {spitch-1.23.0 → spitch-1.24.0}/examples/.keep +0 -0
- {spitch-1.23.0 → spitch-1.24.0}/examples/example.py +0 -0
- {spitch-1.23.0 → spitch-1.24.0}/mypy.ini +0 -0
- {spitch-1.23.0 → spitch-1.24.0}/noxfile.py +0 -0
- {spitch-1.23.0 → spitch-1.24.0}/release-please-config.json +0 -0
- {spitch-1.23.0 → spitch-1.24.0}/requirements-dev.lock +0 -0
- {spitch-1.23.0 → spitch-1.24.0}/requirements.lock +0 -0
- {spitch-1.23.0 → spitch-1.24.0}/src/spitch/__init__.py +0 -0
- {spitch-1.23.0 → spitch-1.24.0}/src/spitch/_base_client.py +0 -0
- {spitch-1.23.0 → spitch-1.24.0}/src/spitch/_client.py +0 -0
- {spitch-1.23.0 → spitch-1.24.0}/src/spitch/_compat.py +0 -0
- {spitch-1.23.0 → spitch-1.24.0}/src/spitch/_constants.py +0 -0
- {spitch-1.23.0 → spitch-1.24.0}/src/spitch/_exceptions.py +0 -0
- {spitch-1.23.0 → spitch-1.24.0}/src/spitch/_files.py +0 -0
- {spitch-1.23.0 → spitch-1.24.0}/src/spitch/_models.py +0 -0
- {spitch-1.23.0 → spitch-1.24.0}/src/spitch/_qs.py +0 -0
- {spitch-1.23.0 → spitch-1.24.0}/src/spitch/_resource.py +0 -0
- {spitch-1.23.0 → spitch-1.24.0}/src/spitch/_streaming.py +0 -0
- {spitch-1.23.0 → spitch-1.24.0}/src/spitch/_types.py +0 -0
- {spitch-1.23.0 → spitch-1.24.0}/src/spitch/_utils/__init__.py +0 -0
- {spitch-1.23.0 → spitch-1.24.0}/src/spitch/_utils/_logs.py +0 -0
- {spitch-1.23.0 → spitch-1.24.0}/src/spitch/_utils/_proxy.py +0 -0
- {spitch-1.23.0 → spitch-1.24.0}/src/spitch/_utils/_reflection.py +0 -0
- {spitch-1.23.0 → spitch-1.24.0}/src/spitch/_utils/_streams.py +0 -0
- {spitch-1.23.0 → spitch-1.24.0}/src/spitch/_utils/_sync.py +0 -0
- {spitch-1.23.0 → spitch-1.24.0}/src/spitch/_utils/_transform.py +0 -0
- {spitch-1.23.0 → spitch-1.24.0}/src/spitch/_utils/_typing.py +0 -0
- {spitch-1.23.0 → spitch-1.24.0}/src/spitch/_utils/_utils.py +0 -0
- {spitch-1.23.0 → spitch-1.24.0}/src/spitch/lib/.keep +0 -0
- {spitch-1.23.0 → spitch-1.24.0}/src/spitch/py.typed +0 -0
- {spitch-1.23.0 → spitch-1.24.0}/src/spitch/resources/__init__.py +0 -0
- {spitch-1.23.0 → spitch-1.24.0}/src/spitch/resources/speech.py +0 -0
- {spitch-1.23.0 → spitch-1.24.0}/src/spitch/resources/text.py +0 -0
- {spitch-1.23.0 → spitch-1.24.0}/src/spitch/types/__init__.py +0 -0
- {spitch-1.23.0 → spitch-1.24.0}/src/spitch/types/speech_generate_params.py +0 -0
- {spitch-1.23.0 → spitch-1.24.0}/src/spitch/types/speech_transcribe_params.py +0 -0
- {spitch-1.23.0 → spitch-1.24.0}/src/spitch/types/speech_transcribe_response.py +0 -0
- {spitch-1.23.0 → spitch-1.24.0}/src/spitch/types/text_tone_mark_params.py +0 -0
- {spitch-1.23.0 → spitch-1.24.0}/src/spitch/types/text_tone_mark_response.py +0 -0
- {spitch-1.23.0 → spitch-1.24.0}/src/spitch/types/text_translate_params.py +0 -0
- {spitch-1.23.0 → spitch-1.24.0}/src/spitch/types/text_translate_response.py +0 -0
- {spitch-1.23.0 → spitch-1.24.0}/tests/__init__.py +0 -0
- {spitch-1.23.0 → spitch-1.24.0}/tests/api_resources/__init__.py +0 -0
- {spitch-1.23.0 → spitch-1.24.0}/tests/api_resources/test_speech.py +0 -0
- {spitch-1.23.0 → spitch-1.24.0}/tests/api_resources/test_text.py +0 -0
- {spitch-1.23.0 → spitch-1.24.0}/tests/conftest.py +0 -0
- {spitch-1.23.0 → spitch-1.24.0}/tests/sample_file.txt +0 -0
- {spitch-1.23.0 → spitch-1.24.0}/tests/test_client.py +0 -0
- {spitch-1.23.0 → spitch-1.24.0}/tests/test_deepcopy.py +0 -0
- {spitch-1.23.0 → spitch-1.24.0}/tests/test_extract_files.py +0 -0
- {spitch-1.23.0 → spitch-1.24.0}/tests/test_files.py +0 -0
- {spitch-1.23.0 → spitch-1.24.0}/tests/test_models.py +0 -0
- {spitch-1.23.0 → spitch-1.24.0}/tests/test_qs.py +0 -0
- {spitch-1.23.0 → spitch-1.24.0}/tests/test_required_args.py +0 -0
- {spitch-1.23.0 → spitch-1.24.0}/tests/test_response.py +0 -0
- {spitch-1.23.0 → spitch-1.24.0}/tests/test_streaming.py +0 -0
- {spitch-1.23.0 → spitch-1.24.0}/tests/test_transform.py +0 -0
- {spitch-1.23.0 → spitch-1.24.0}/tests/test_utils/test_proxy.py +0 -0
- {spitch-1.23.0 → spitch-1.24.0}/tests/test_utils/test_typing.py +0 -0
- {spitch-1.23.0 → spitch-1.24.0}/tests/utils.py +0 -0
|
@@ -1,5 +1,13 @@
|
|
|
1
1
|
# Changelog
|
|
2
2
|
|
|
3
|
+
## 1.24.0 (2025-03-11)
|
|
4
|
+
|
|
5
|
+
Full Changelog: [v1.23.0...v1.24.0](https://github.com/spi-tch/spitch-python/compare/v1.23.0...v1.24.0)
|
|
6
|
+
|
|
7
|
+
### Features
|
|
8
|
+
|
|
9
|
+
* **api:** update via SDK Studio ([#126](https://github.com/spi-tch/spitch-python/issues/126)) ([123d303](https://github.com/spi-tch/spitch-python/commit/123d303e48eb1baaf3eb8880e6e1d66294409c98))
|
|
10
|
+
|
|
3
11
|
## 1.23.0 (2025-03-11)
|
|
4
12
|
|
|
5
13
|
Full Changelog: [v1.22.0...v1.23.0](https://github.com/spi-tch/spitch-python/compare/v1.22.0...v1.23.0)
|
|
@@ -1,10 +1,10 @@
|
|
|
1
1
|
Metadata-Version: 2.4
|
|
2
2
|
Name: spitch
|
|
3
|
-
Version: 1.
|
|
3
|
+
Version: 1.24.0
|
|
4
4
|
Summary: The official Python library for the spitch API
|
|
5
5
|
Project-URL: Homepage, https://github.com/spi-tch/spitch-python
|
|
6
6
|
Project-URL: Repository, https://github.com/spi-tch/spitch-python
|
|
7
|
-
Author-email: Spitch <
|
|
7
|
+
Author-email: Spitch <dev@spitch.app>
|
|
8
8
|
License-Expression: Apache-2.0
|
|
9
9
|
License-File: LICENSE
|
|
10
10
|
Classifier: Intended Audience :: Developers
|
|
@@ -20,7 +20,7 @@ or products provided by Spitch please follow the respective company's security r
|
|
|
20
20
|
|
|
21
21
|
### Spitch Terms and Policies
|
|
22
22
|
|
|
23
|
-
Please contact
|
|
23
|
+
Please contact dev@spitch.app for any questions or concerns regarding security of our services.
|
|
24
24
|
|
|
25
25
|
---
|
|
26
26
|
|
|
@@ -1,11 +1,11 @@
|
|
|
1
1
|
[project]
|
|
2
2
|
name = "spitch"
|
|
3
|
-
version = "1.
|
|
3
|
+
version = "1.24.0"
|
|
4
4
|
description = "The official Python library for the spitch API"
|
|
5
5
|
dynamic = ["readme"]
|
|
6
6
|
license = "Apache-2.0"
|
|
7
7
|
authors = [
|
|
8
|
-
{ name = "Spitch", email = "
|
|
8
|
+
{ name = "Spitch", email = "dev@spitch.app" },
|
|
9
9
|
]
|
|
10
10
|
dependencies = [
|
|
11
11
|
"httpx>=0.23.0, <0.28.0",
|
|
@@ -126,7 +126,7 @@ class BaseAPIResponse(Generic[R]):
|
|
|
126
126
|
)
|
|
127
127
|
|
|
128
128
|
def _parse(self, *, to: type[_T] | None = None) -> R | _T:
|
|
129
|
-
|
|
129
|
+
cast_to = to if to is not None else self._cast_to
|
|
130
130
|
|
|
131
131
|
# unwrap `Annotated[T, ...]` -> `T`
|
|
132
132
|
if cast_to and is_annotated_type(cast_to):
|
|
@@ -261,6 +261,7 @@ class BaseAPIResponse(Generic[R]):
|
|
|
261
261
|
)
|
|
262
262
|
|
|
263
263
|
|
|
264
|
+
|
|
264
265
|
class APIResponse(BaseAPIResponse[R]):
|
|
265
266
|
@overload
|
|
266
267
|
def parse(self, *, to: type[_T]) -> _T: ...
|
|
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
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|