spitch 1.8.0__tar.gz → 1.9.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.9.0/.release-please-manifest.json +3 -0
- {spitch-1.8.0 → spitch-1.9.0}/CHANGELOG.md +8 -0
- {spitch-1.8.0 → spitch-1.9.0}/PKG-INFO +1 -1
- {spitch-1.8.0 → spitch-1.9.0}/pyproject.toml +1 -1
- {spitch-1.8.0 → spitch-1.9.0}/src/spitch/_version.py +1 -1
- {spitch-1.8.0 → spitch-1.9.0}/src/spitch/resources/speech.py +0 -8
- {spitch-1.8.0 → spitch-1.9.0}/src/spitch/types/speech_transcribe_params.py +0 -4
- {spitch-1.8.0 → spitch-1.9.0}/tests/api_resources/test_speech.py +0 -4
- spitch-1.8.0/.release-please-manifest.json +0 -3
- {spitch-1.8.0 → spitch-1.9.0}/.gitignore +0 -0
- {spitch-1.8.0 → spitch-1.9.0}/CONTRIBUTING.md +0 -0
- {spitch-1.8.0 → spitch-1.9.0}/LICENSE +0 -0
- {spitch-1.8.0 → spitch-1.9.0}/README.md +0 -0
- {spitch-1.8.0 → spitch-1.9.0}/SECURITY.md +0 -0
- {spitch-1.8.0 → spitch-1.9.0}/api.md +0 -0
- {spitch-1.8.0 → spitch-1.9.0}/bin/check-release-environment +0 -0
- {spitch-1.8.0 → spitch-1.9.0}/bin/publish-pypi +0 -0
- {spitch-1.8.0 → spitch-1.9.0}/examples/.keep +0 -0
- {spitch-1.8.0 → spitch-1.9.0}/examples/example.py +0 -0
- {spitch-1.8.0 → spitch-1.9.0}/mypy.ini +0 -0
- {spitch-1.8.0 → spitch-1.9.0}/noxfile.py +0 -0
- {spitch-1.8.0 → spitch-1.9.0}/release-please-config.json +0 -0
- {spitch-1.8.0 → spitch-1.9.0}/requirements-dev.lock +0 -0
- {spitch-1.8.0 → spitch-1.9.0}/requirements.lock +0 -0
- {spitch-1.8.0 → spitch-1.9.0}/src/spitch/__init__.py +0 -0
- {spitch-1.8.0 → spitch-1.9.0}/src/spitch/_base_client.py +0 -0
- {spitch-1.8.0 → spitch-1.9.0}/src/spitch/_client.py +0 -0
- {spitch-1.8.0 → spitch-1.9.0}/src/spitch/_compat.py +0 -0
- {spitch-1.8.0 → spitch-1.9.0}/src/spitch/_constants.py +0 -0
- {spitch-1.8.0 → spitch-1.9.0}/src/spitch/_exceptions.py +0 -0
- {spitch-1.8.0 → spitch-1.9.0}/src/spitch/_files.py +0 -0
- {spitch-1.8.0 → spitch-1.9.0}/src/spitch/_models.py +0 -0
- {spitch-1.8.0 → spitch-1.9.0}/src/spitch/_qs.py +0 -0
- {spitch-1.8.0 → spitch-1.9.0}/src/spitch/_resource.py +0 -0
- {spitch-1.8.0 → spitch-1.9.0}/src/spitch/_response.py +0 -0
- {spitch-1.8.0 → spitch-1.9.0}/src/spitch/_streaming.py +0 -0
- {spitch-1.8.0 → spitch-1.9.0}/src/spitch/_types.py +0 -0
- {spitch-1.8.0 → spitch-1.9.0}/src/spitch/_utils/__init__.py +0 -0
- {spitch-1.8.0 → spitch-1.9.0}/src/spitch/_utils/_logs.py +0 -0
- {spitch-1.8.0 → spitch-1.9.0}/src/spitch/_utils/_proxy.py +0 -0
- {spitch-1.8.0 → spitch-1.9.0}/src/spitch/_utils/_reflection.py +0 -0
- {spitch-1.8.0 → spitch-1.9.0}/src/spitch/_utils/_streams.py +0 -0
- {spitch-1.8.0 → spitch-1.9.0}/src/spitch/_utils/_sync.py +0 -0
- {spitch-1.8.0 → spitch-1.9.0}/src/spitch/_utils/_transform.py +0 -0
- {spitch-1.8.0 → spitch-1.9.0}/src/spitch/_utils/_typing.py +0 -0
- {spitch-1.8.0 → spitch-1.9.0}/src/spitch/_utils/_utils.py +0 -0
- {spitch-1.8.0 → spitch-1.9.0}/src/spitch/lib/.keep +0 -0
- {spitch-1.8.0 → spitch-1.9.0}/src/spitch/py.typed +0 -0
- {spitch-1.8.0 → spitch-1.9.0}/src/spitch/resources/__init__.py +0 -0
- {spitch-1.8.0 → spitch-1.9.0}/src/spitch/resources/text.py +0 -0
- {spitch-1.8.0 → spitch-1.9.0}/src/spitch/types/__init__.py +0 -0
- {spitch-1.8.0 → spitch-1.9.0}/src/spitch/types/speech_generate_params.py +0 -0
- {spitch-1.8.0 → spitch-1.9.0}/src/spitch/types/speech_transcibe_params.py +0 -0
- {spitch-1.8.0 → spitch-1.9.0}/src/spitch/types/text_tone_mark_params.py +0 -0
- {spitch-1.8.0 → spitch-1.9.0}/src/spitch/types/text_translate_params.py +0 -0
- {spitch-1.8.0 → spitch-1.9.0}/tests/__init__.py +0 -0
- {spitch-1.8.0 → spitch-1.9.0}/tests/api_resources/__init__.py +0 -0
- {spitch-1.8.0 → spitch-1.9.0}/tests/api_resources/test_text.py +0 -0
- {spitch-1.8.0 → spitch-1.9.0}/tests/conftest.py +0 -0
- {spitch-1.8.0 → spitch-1.9.0}/tests/sample_file.txt +0 -0
- {spitch-1.8.0 → spitch-1.9.0}/tests/test_client.py +0 -0
- {spitch-1.8.0 → spitch-1.9.0}/tests/test_deepcopy.py +0 -0
- {spitch-1.8.0 → spitch-1.9.0}/tests/test_extract_files.py +0 -0
- {spitch-1.8.0 → spitch-1.9.0}/tests/test_files.py +0 -0
- {spitch-1.8.0 → spitch-1.9.0}/tests/test_models.py +0 -0
- {spitch-1.8.0 → spitch-1.9.0}/tests/test_qs.py +0 -0
- {spitch-1.8.0 → spitch-1.9.0}/tests/test_required_args.py +0 -0
- {spitch-1.8.0 → spitch-1.9.0}/tests/test_response.py +0 -0
- {spitch-1.8.0 → spitch-1.9.0}/tests/test_streaming.py +0 -0
- {spitch-1.8.0 → spitch-1.9.0}/tests/test_transform.py +0 -0
- {spitch-1.8.0 → spitch-1.9.0}/tests/test_utils/test_proxy.py +0 -0
- {spitch-1.8.0 → spitch-1.9.0}/tests/test_utils/test_typing.py +0 -0
- {spitch-1.8.0 → spitch-1.9.0}/tests/utils.py +0 -0
|
@@ -1,5 +1,13 @@
|
|
|
1
1
|
# Changelog
|
|
2
2
|
|
|
3
|
+
## 1.9.0 (2024-10-17)
|
|
4
|
+
|
|
5
|
+
Full Changelog: [v1.8.0...v1.9.0](https://github.com/spi-tch/spitch-python/compare/v1.8.0...v1.9.0)
|
|
6
|
+
|
|
7
|
+
### Features
|
|
8
|
+
|
|
9
|
+
* **api:** api update ([#42](https://github.com/spi-tch/spitch-python/issues/42)) ([1575f47](https://github.com/spi-tch/spitch-python/commit/1575f47becd40467509030e2f56e2c73ac771958))
|
|
10
|
+
|
|
3
11
|
## 1.8.0 (2024-10-17)
|
|
4
12
|
|
|
5
13
|
Full Changelog: [v1.7.0...v1.8.0](https://github.com/spi-tch/spitch-python/compare/v1.7.0...v1.8.0)
|
|
@@ -99,8 +99,6 @@ class SpeechResource(SyncAPIResource):
|
|
|
99
99
|
*,
|
|
100
100
|
language: Literal["yo", "en", "ha", "ig"],
|
|
101
101
|
content: Optional[FileTypes] | NotGiven = NOT_GIVEN,
|
|
102
|
-
multispeaker: Optional[bool] | NotGiven = NOT_GIVEN,
|
|
103
|
-
timestamp: Optional[bool] | NotGiven = NOT_GIVEN,
|
|
104
102
|
url: Optional[str] | NotGiven = NOT_GIVEN,
|
|
105
103
|
# Use the following arguments if you need to pass additional parameters to the API that aren't available via kwargs.
|
|
106
104
|
# The extra values given here take precedence over values defined on the client or passed to this method.
|
|
@@ -125,8 +123,6 @@ class SpeechResource(SyncAPIResource):
|
|
|
125
123
|
{
|
|
126
124
|
"language": language,
|
|
127
125
|
"content": content,
|
|
128
|
-
"multispeaker": multispeaker,
|
|
129
|
-
"timestamp": timestamp,
|
|
130
126
|
"url": url,
|
|
131
127
|
}
|
|
132
128
|
)
|
|
@@ -217,8 +213,6 @@ class AsyncSpeechResource(AsyncAPIResource):
|
|
|
217
213
|
*,
|
|
218
214
|
language: Literal["yo", "en", "ha", "ig"],
|
|
219
215
|
content: Optional[FileTypes] | NotGiven = NOT_GIVEN,
|
|
220
|
-
multispeaker: Optional[bool] | NotGiven = NOT_GIVEN,
|
|
221
|
-
timestamp: Optional[bool] | NotGiven = NOT_GIVEN,
|
|
222
216
|
url: Optional[str] | NotGiven = NOT_GIVEN,
|
|
223
217
|
# Use the following arguments if you need to pass additional parameters to the API that aren't available via kwargs.
|
|
224
218
|
# The extra values given here take precedence over values defined on the client or passed to this method.
|
|
@@ -243,8 +237,6 @@ class AsyncSpeechResource(AsyncAPIResource):
|
|
|
243
237
|
{
|
|
244
238
|
"language": language,
|
|
245
239
|
"content": content,
|
|
246
|
-
"multispeaker": multispeaker,
|
|
247
|
-
"timestamp": timestamp,
|
|
248
240
|
"url": url,
|
|
249
241
|
}
|
|
250
242
|
)
|
|
@@ -72,8 +72,6 @@ class TestSpeech:
|
|
|
72
72
|
speech = client.speech.transcribe(
|
|
73
73
|
language="yo",
|
|
74
74
|
content=b"raw file contents",
|
|
75
|
-
multispeaker=True,
|
|
76
|
-
timestamp=True,
|
|
77
75
|
url="url",
|
|
78
76
|
)
|
|
79
77
|
assert_matches_type(object, speech, path=["response"])
|
|
@@ -162,8 +160,6 @@ class TestAsyncSpeech:
|
|
|
162
160
|
speech = await async_client.speech.transcribe(
|
|
163
161
|
language="yo",
|
|
164
162
|
content=b"raw file contents",
|
|
165
|
-
multispeaker=True,
|
|
166
|
-
timestamp=True,
|
|
167
163
|
url="url",
|
|
168
164
|
)
|
|
169
165
|
assert_matches_type(object, speech, path=["response"])
|
|
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
|