spitch 1.36.0__tar.gz → 1.37.1__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.37.1/.release-please-manifest.json +3 -0
- {spitch-1.36.0 → spitch-1.37.1}/CHANGELOG.md +12 -0
- {spitch-1.36.0 → spitch-1.37.1}/PKG-INFO +1 -1
- {spitch-1.36.0 → spitch-1.37.1}/api.md +1 -1
- {spitch-1.36.0 → spitch-1.37.1}/pyproject.toml +1 -1
- {spitch-1.36.0 → spitch-1.37.1}/src/spitch/_utils/_typing.py +1 -0
- {spitch-1.36.0 → spitch-1.37.1}/src/spitch/_version.py +1 -1
- {spitch-1.36.0 → spitch-1.37.1}/src/spitch/resources/speech.py +4 -0
- {spitch-1.36.0 → spitch-1.37.1}/src/spitch/types/speech_generate_params.py +2 -0
- {spitch-1.36.0 → spitch-1.37.1}/tests/api_resources/test_speech.py +2 -0
- spitch-1.36.0/.release-please-manifest.json +0 -3
- {spitch-1.36.0 → spitch-1.37.1}/.gitignore +0 -0
- {spitch-1.36.0 → spitch-1.37.1}/CONTRIBUTING.md +0 -0
- {spitch-1.36.0 → spitch-1.37.1}/LICENSE +0 -0
- {spitch-1.36.0 → spitch-1.37.1}/README.md +0 -0
- {spitch-1.36.0 → spitch-1.37.1}/SECURITY.md +0 -0
- {spitch-1.36.0 → spitch-1.37.1}/bin/check-release-environment +0 -0
- {spitch-1.36.0 → spitch-1.37.1}/bin/publish-pypi +0 -0
- {spitch-1.36.0 → spitch-1.37.1}/examples/.keep +0 -0
- {spitch-1.36.0 → spitch-1.37.1}/examples/example.py +0 -0
- {spitch-1.36.0 → spitch-1.37.1}/noxfile.py +0 -0
- {spitch-1.36.0 → spitch-1.37.1}/release-please-config.json +0 -0
- {spitch-1.36.0 → spitch-1.37.1}/requirements-dev.lock +0 -0
- {spitch-1.36.0 → spitch-1.37.1}/requirements.lock +0 -0
- {spitch-1.36.0 → spitch-1.37.1}/src/spitch/__init__.py +0 -0
- {spitch-1.36.0 → spitch-1.37.1}/src/spitch/_base_client.py +0 -0
- {spitch-1.36.0 → spitch-1.37.1}/src/spitch/_client.py +0 -0
- {spitch-1.36.0 → spitch-1.37.1}/src/spitch/_compat.py +0 -0
- {spitch-1.36.0 → spitch-1.37.1}/src/spitch/_constants.py +0 -0
- {spitch-1.36.0 → spitch-1.37.1}/src/spitch/_exceptions.py +0 -0
- {spitch-1.36.0 → spitch-1.37.1}/src/spitch/_files.py +0 -0
- {spitch-1.36.0 → spitch-1.37.1}/src/spitch/_models.py +0 -0
- {spitch-1.36.0 → spitch-1.37.1}/src/spitch/_qs.py +0 -0
- {spitch-1.36.0 → spitch-1.37.1}/src/spitch/_resource.py +0 -0
- {spitch-1.36.0 → spitch-1.37.1}/src/spitch/_response.py +0 -0
- {spitch-1.36.0 → spitch-1.37.1}/src/spitch/_streaming.py +0 -0
- {spitch-1.36.0 → spitch-1.37.1}/src/spitch/_types.py +0 -0
- {spitch-1.36.0 → spitch-1.37.1}/src/spitch/_utils/__init__.py +0 -0
- {spitch-1.36.0 → spitch-1.37.1}/src/spitch/_utils/_compat.py +0 -0
- {spitch-1.36.0 → spitch-1.37.1}/src/spitch/_utils/_datetime_parse.py +0 -0
- {spitch-1.36.0 → spitch-1.37.1}/src/spitch/_utils/_logs.py +0 -0
- {spitch-1.36.0 → spitch-1.37.1}/src/spitch/_utils/_proxy.py +0 -0
- {spitch-1.36.0 → spitch-1.37.1}/src/spitch/_utils/_reflection.py +0 -0
- {spitch-1.36.0 → spitch-1.37.1}/src/spitch/_utils/_resources_proxy.py +0 -0
- {spitch-1.36.0 → spitch-1.37.1}/src/spitch/_utils/_streams.py +0 -0
- {spitch-1.36.0 → spitch-1.37.1}/src/spitch/_utils/_sync.py +0 -0
- {spitch-1.36.0 → spitch-1.37.1}/src/spitch/_utils/_transform.py +0 -0
- {spitch-1.36.0 → spitch-1.37.1}/src/spitch/_utils/_utils.py +0 -0
- {spitch-1.36.0 → spitch-1.37.1}/src/spitch/lib/.keep +0 -0
- {spitch-1.36.0 → spitch-1.37.1}/src/spitch/pagination.py +0 -0
- {spitch-1.36.0 → spitch-1.37.1}/src/spitch/py.typed +0 -0
- {spitch-1.36.0 → spitch-1.37.1}/src/spitch/resources/__init__.py +0 -0
- {spitch-1.36.0 → spitch-1.37.1}/src/spitch/resources/files.py +0 -0
- {spitch-1.36.0 → spitch-1.37.1}/src/spitch/resources/text.py +0 -0
- {spitch-1.36.0 → spitch-1.37.1}/src/spitch/types/__init__.py +0 -0
- {spitch-1.36.0 → spitch-1.37.1}/src/spitch/types/diacritics.py +0 -0
- {spitch-1.36.0 → spitch-1.37.1}/src/spitch/types/file.py +0 -0
- {spitch-1.36.0 → spitch-1.37.1}/src/spitch/types/file_delete_response.py +0 -0
- {spitch-1.36.0 → spitch-1.37.1}/src/spitch/types/file_download_params.py +0 -0
- {spitch-1.36.0 → spitch-1.37.1}/src/spitch/types/file_download_response.py +0 -0
- {spitch-1.36.0 → spitch-1.37.1}/src/spitch/types/file_list_params.py +0 -0
- {spitch-1.36.0 → spitch-1.37.1}/src/spitch/types/file_upload_params.py +0 -0
- {spitch-1.36.0 → spitch-1.37.1}/src/spitch/types/file_usage.py +0 -0
- {spitch-1.36.0 → spitch-1.37.1}/src/spitch/types/files.py +0 -0
- {spitch-1.36.0 → spitch-1.37.1}/src/spitch/types/speech_transcribe_params.py +0 -0
- {spitch-1.36.0 → spitch-1.37.1}/src/spitch/types/text_tone_mark_params.py +0 -0
- {spitch-1.36.0 → spitch-1.37.1}/src/spitch/types/text_translate_params.py +0 -0
- {spitch-1.36.0 → spitch-1.37.1}/src/spitch/types/transcription.py +0 -0
- {spitch-1.36.0 → spitch-1.37.1}/src/spitch/types/translation.py +0 -0
- {spitch-1.36.0 → spitch-1.37.1}/tests/__init__.py +0 -0
- {spitch-1.36.0 → spitch-1.37.1}/tests/api_resources/__init__.py +0 -0
- {spitch-1.36.0 → spitch-1.37.1}/tests/api_resources/test_files.py +0 -0
- {spitch-1.36.0 → spitch-1.37.1}/tests/api_resources/test_text.py +0 -0
- {spitch-1.36.0 → spitch-1.37.1}/tests/conftest.py +0 -0
- {spitch-1.36.0 → spitch-1.37.1}/tests/sample_file.txt +0 -0
- {spitch-1.36.0 → spitch-1.37.1}/tests/test_client.py +0 -0
- {spitch-1.36.0 → spitch-1.37.1}/tests/test_deepcopy.py +0 -0
- {spitch-1.36.0 → spitch-1.37.1}/tests/test_extract_files.py +0 -0
- {spitch-1.36.0 → spitch-1.37.1}/tests/test_files.py +0 -0
- {spitch-1.36.0 → spitch-1.37.1}/tests/test_models.py +0 -0
- {spitch-1.36.0 → spitch-1.37.1}/tests/test_qs.py +0 -0
- {spitch-1.36.0 → spitch-1.37.1}/tests/test_required_args.py +0 -0
- {spitch-1.36.0 → spitch-1.37.1}/tests/test_response.py +0 -0
- {spitch-1.36.0 → spitch-1.37.1}/tests/test_streaming.py +0 -0
- {spitch-1.36.0 → spitch-1.37.1}/tests/test_transform.py +0 -0
- {spitch-1.36.0 → spitch-1.37.1}/tests/test_utils/test_datetime_parse.py +0 -0
- {spitch-1.36.0 → spitch-1.37.1}/tests/test_utils/test_proxy.py +0 -0
- {spitch-1.36.0 → spitch-1.37.1}/tests/test_utils/test_typing.py +0 -0
- {spitch-1.36.0 → spitch-1.37.1}/tests/utils.py +0 -0
|
@@ -1,5 +1,17 @@
|
|
|
1
1
|
# Changelog
|
|
2
2
|
|
|
3
|
+
## 1.37.1 (2025-10-06)
|
|
4
|
+
|
|
5
|
+
Full Changelog: [v1.37.0...v1.37.1](https://github.com/spi-tch/spitch-python/compare/v1.37.0...v1.37.1)
|
|
6
|
+
|
|
7
|
+
## 1.37.0 (2025-10-06)
|
|
8
|
+
|
|
9
|
+
Full Changelog: [v1.36.0...v1.37.0](https://github.com/spi-tch/spitch-python/compare/v1.36.0...v1.37.0)
|
|
10
|
+
|
|
11
|
+
### Features
|
|
12
|
+
|
|
13
|
+
* **api:** manual updates ([c8f4f39](https://github.com/spi-tch/spitch-python/commit/c8f4f3942e2a9a7a2c3897a81288ab03e9172885))
|
|
14
|
+
|
|
3
15
|
## 1.36.0 (2025-10-06)
|
|
4
16
|
|
|
5
17
|
Full Changelog: [v1.35.0...v1.36.0](https://github.com/spi-tch/spitch-python/compare/v1.35.0...v1.36.0)
|
|
@@ -81,6 +81,7 @@ class SpeechResource(SyncAPIResource):
|
|
|
81
81
|
"tena",
|
|
82
82
|
"tesfaye",
|
|
83
83
|
],
|
|
84
|
+
format: Literal["wav", "mp3", "ogg_opus", "webm_opus", "flac", "pcm_s16le", "mulaw", "alaw"] | Omit = omit,
|
|
84
85
|
model: Optional[Literal["legacy"]] | Omit = omit,
|
|
85
86
|
# Use the following arguments if you need to pass additional parameters to the API that aren't available via kwargs.
|
|
86
87
|
# The extra values given here take precedence over values defined on the client or passed to this method.
|
|
@@ -109,6 +110,7 @@ class SpeechResource(SyncAPIResource):
|
|
|
109
110
|
"language": language,
|
|
110
111
|
"text": text,
|
|
111
112
|
"voice": voice,
|
|
113
|
+
"format": format,
|
|
112
114
|
"model": model,
|
|
113
115
|
},
|
|
114
116
|
speech_generate_params.SpeechGenerateParams,
|
|
@@ -222,6 +224,7 @@ class AsyncSpeechResource(AsyncAPIResource):
|
|
|
222
224
|
"tena",
|
|
223
225
|
"tesfaye",
|
|
224
226
|
],
|
|
227
|
+
format: Literal["wav", "mp3", "ogg_opus", "webm_opus", "flac", "pcm_s16le", "mulaw", "alaw"] | Omit = omit,
|
|
225
228
|
model: Optional[Literal["legacy"]] | Omit = omit,
|
|
226
229
|
# Use the following arguments if you need to pass additional parameters to the API that aren't available via kwargs.
|
|
227
230
|
# The extra values given here take precedence over values defined on the client or passed to this method.
|
|
@@ -250,6 +253,7 @@ class AsyncSpeechResource(AsyncAPIResource):
|
|
|
250
253
|
"language": language,
|
|
251
254
|
"text": text,
|
|
252
255
|
"voice": voice,
|
|
256
|
+
"format": format,
|
|
253
257
|
"model": model,
|
|
254
258
|
},
|
|
255
259
|
speech_generate_params.SpeechGenerateParams,
|
|
@@ -47,6 +47,7 @@ class TestSpeech:
|
|
|
47
47
|
language="yo",
|
|
48
48
|
text="text",
|
|
49
49
|
voice="sade",
|
|
50
|
+
format="wav",
|
|
50
51
|
model="legacy",
|
|
51
52
|
)
|
|
52
53
|
assert speech.is_closed
|
|
@@ -159,6 +160,7 @@ class TestAsyncSpeech:
|
|
|
159
160
|
language="yo",
|
|
160
161
|
text="text",
|
|
161
162
|
voice="sade",
|
|
163
|
+
format="wav",
|
|
162
164
|
model="legacy",
|
|
163
165
|
)
|
|
164
166
|
assert speech.is_closed
|
|
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
|
|
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
|