spitch 1.34.0__py3-none-any.whl → 1.36.0__py3-none-any.whl
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/__init__.py +3 -1
- spitch/_base_client.py +12 -12
- spitch/_client.py +33 -24
- spitch/_compat.py +47 -47
- spitch/_models.py +51 -45
- spitch/_qs.py +7 -7
- spitch/_types.py +53 -12
- spitch/_utils/__init__.py +9 -2
- spitch/_utils/_compat.py +45 -0
- spitch/_utils/_datetime_parse.py +136 -0
- spitch/_utils/_transform.py +13 -3
- spitch/_utils/_typing.py +6 -1
- spitch/_utils/_utils.py +4 -5
- spitch/_version.py +1 -1
- spitch/pagination.py +50 -0
- spitch/resources/__init__.py +14 -0
- spitch/resources/files.py +580 -0
- spitch/resources/speech.py +22 -22
- spitch/resources/text.py +15 -15
- spitch/types/__init__.py +11 -3
- spitch/types/{text_tone_mark_response.py → diacritics.py} +2 -2
- spitch/types/file.py +26 -0
- spitch/types/file_delete_response.py +11 -0
- spitch/types/file_download_params.py +11 -0
- spitch/types/file_download_response.py +15 -0
- spitch/types/file_list_params.py +16 -0
- spitch/types/file_upload_params.py +13 -0
- spitch/types/file_usage.py +17 -0
- spitch/types/files.py +14 -0
- spitch/types/speech_transcribe_params.py +1 -1
- spitch/types/{speech_transcribe_response.py → transcription.py} +2 -2
- spitch/types/{text_translate_response.py → translation.py} +2 -2
- {spitch-1.34.0.dist-info → spitch-1.36.0.dist-info}/METADATA +83 -12
- spitch-1.36.0.dist-info/RECORD +53 -0
- spitch-1.34.0.dist-info/RECORD +0 -41
- {spitch-1.34.0.dist-info → spitch-1.36.0.dist-info}/WHEEL +0 -0
- {spitch-1.34.0.dist-info → spitch-1.36.0.dist-info}/licenses/LICENSE +0 -0
spitch/resources/text.py
CHANGED
|
@@ -7,7 +7,7 @@ from typing_extensions import Literal
|
|
|
7
7
|
import httpx
|
|
8
8
|
|
|
9
9
|
from ..types import text_tone_mark_params, text_translate_params
|
|
10
|
-
from .._types import
|
|
10
|
+
from .._types import Body, Query, Headers, NotGiven, not_given
|
|
11
11
|
from .._utils import maybe_transform, async_maybe_transform
|
|
12
12
|
from .._compat import cached_property
|
|
13
13
|
from .._resource import SyncAPIResource, AsyncAPIResource
|
|
@@ -18,8 +18,8 @@ from .._response import (
|
|
|
18
18
|
async_to_streamed_response_wrapper,
|
|
19
19
|
)
|
|
20
20
|
from .._base_client import make_request_options
|
|
21
|
-
from ..types.
|
|
22
|
-
from ..types.
|
|
21
|
+
from ..types.diacritics import Diacritics
|
|
22
|
+
from ..types.translation import Translation
|
|
23
23
|
|
|
24
24
|
__all__ = ["TextResource", "AsyncTextResource"]
|
|
25
25
|
|
|
@@ -54,8 +54,8 @@ class TextResource(SyncAPIResource):
|
|
|
54
54
|
extra_headers: Headers | None = None,
|
|
55
55
|
extra_query: Query | None = None,
|
|
56
56
|
extra_body: Body | None = None,
|
|
57
|
-
timeout: float | httpx.Timeout | None | NotGiven =
|
|
58
|
-
) ->
|
|
57
|
+
timeout: float | httpx.Timeout | None | NotGiven = not_given,
|
|
58
|
+
) -> Diacritics:
|
|
59
59
|
"""
|
|
60
60
|
Tone Mark
|
|
61
61
|
|
|
@@ -80,7 +80,7 @@ class TextResource(SyncAPIResource):
|
|
|
80
80
|
options=make_request_options(
|
|
81
81
|
extra_headers=extra_headers, extra_query=extra_query, extra_body=extra_body, timeout=timeout
|
|
82
82
|
),
|
|
83
|
-
cast_to=
|
|
83
|
+
cast_to=Diacritics,
|
|
84
84
|
)
|
|
85
85
|
|
|
86
86
|
def translate(
|
|
@@ -94,8 +94,8 @@ class TextResource(SyncAPIResource):
|
|
|
94
94
|
extra_headers: Headers | None = None,
|
|
95
95
|
extra_query: Query | None = None,
|
|
96
96
|
extra_body: Body | None = None,
|
|
97
|
-
timeout: float | httpx.Timeout | None | NotGiven =
|
|
98
|
-
) ->
|
|
97
|
+
timeout: float | httpx.Timeout | None | NotGiven = not_given,
|
|
98
|
+
) -> Translation:
|
|
99
99
|
"""
|
|
100
100
|
Translate
|
|
101
101
|
|
|
@@ -121,7 +121,7 @@ class TextResource(SyncAPIResource):
|
|
|
121
121
|
options=make_request_options(
|
|
122
122
|
extra_headers=extra_headers, extra_query=extra_query, extra_body=extra_body, timeout=timeout
|
|
123
123
|
),
|
|
124
|
-
cast_to=
|
|
124
|
+
cast_to=Translation,
|
|
125
125
|
)
|
|
126
126
|
|
|
127
127
|
|
|
@@ -155,8 +155,8 @@ class AsyncTextResource(AsyncAPIResource):
|
|
|
155
155
|
extra_headers: Headers | None = None,
|
|
156
156
|
extra_query: Query | None = None,
|
|
157
157
|
extra_body: Body | None = None,
|
|
158
|
-
timeout: float | httpx.Timeout | None | NotGiven =
|
|
159
|
-
) ->
|
|
158
|
+
timeout: float | httpx.Timeout | None | NotGiven = not_given,
|
|
159
|
+
) -> Diacritics:
|
|
160
160
|
"""
|
|
161
161
|
Tone Mark
|
|
162
162
|
|
|
@@ -181,7 +181,7 @@ class AsyncTextResource(AsyncAPIResource):
|
|
|
181
181
|
options=make_request_options(
|
|
182
182
|
extra_headers=extra_headers, extra_query=extra_query, extra_body=extra_body, timeout=timeout
|
|
183
183
|
),
|
|
184
|
-
cast_to=
|
|
184
|
+
cast_to=Diacritics,
|
|
185
185
|
)
|
|
186
186
|
|
|
187
187
|
async def translate(
|
|
@@ -195,8 +195,8 @@ class AsyncTextResource(AsyncAPIResource):
|
|
|
195
195
|
extra_headers: Headers | None = None,
|
|
196
196
|
extra_query: Query | None = None,
|
|
197
197
|
extra_body: Body | None = None,
|
|
198
|
-
timeout: float | httpx.Timeout | None | NotGiven =
|
|
199
|
-
) ->
|
|
198
|
+
timeout: float | httpx.Timeout | None | NotGiven = not_given,
|
|
199
|
+
) -> Translation:
|
|
200
200
|
"""
|
|
201
201
|
Translate
|
|
202
202
|
|
|
@@ -222,7 +222,7 @@ class AsyncTextResource(AsyncAPIResource):
|
|
|
222
222
|
options=make_request_options(
|
|
223
223
|
extra_headers=extra_headers, extra_query=extra_query, extra_body=extra_body, timeout=timeout
|
|
224
224
|
),
|
|
225
|
-
cast_to=
|
|
225
|
+
cast_to=Translation,
|
|
226
226
|
)
|
|
227
227
|
|
|
228
228
|
|
spitch/types/__init__.py
CHANGED
|
@@ -2,10 +2,18 @@
|
|
|
2
2
|
|
|
3
3
|
from __future__ import annotations
|
|
4
4
|
|
|
5
|
+
from .file import File as File
|
|
6
|
+
from .files import Files as Files
|
|
7
|
+
from .diacritics import Diacritics as Diacritics
|
|
8
|
+
from .file_usage import FileUsage as FileUsage
|
|
9
|
+
from .translation import Translation as Translation
|
|
10
|
+
from .transcription import Transcription as Transcription
|
|
11
|
+
from .file_list_params import FileListParams as FileListParams
|
|
12
|
+
from .file_upload_params import FileUploadParams as FileUploadParams
|
|
13
|
+
from .file_delete_response import FileDeleteResponse as FileDeleteResponse
|
|
14
|
+
from .file_download_params import FileDownloadParams as FileDownloadParams
|
|
5
15
|
from .text_tone_mark_params import TextToneMarkParams as TextToneMarkParams
|
|
6
16
|
from .text_translate_params import TextTranslateParams as TextTranslateParams
|
|
17
|
+
from .file_download_response import FileDownloadResponse as FileDownloadResponse
|
|
7
18
|
from .speech_generate_params import SpeechGenerateParams as SpeechGenerateParams
|
|
8
|
-
from .text_tone_mark_response import TextToneMarkResponse as TextToneMarkResponse
|
|
9
|
-
from .text_translate_response import TextTranslateResponse as TextTranslateResponse
|
|
10
19
|
from .speech_transcribe_params import SpeechTranscribeParams as SpeechTranscribeParams
|
|
11
|
-
from .speech_transcribe_response import SpeechTranscribeResponse as SpeechTranscribeResponse
|
spitch/types/file.py
ADDED
|
@@ -0,0 +1,26 @@
|
|
|
1
|
+
# File generated from our OpenAPI spec by Stainless. See CONTRIBUTING.md for details.
|
|
2
|
+
|
|
3
|
+
from typing import Optional
|
|
4
|
+
from datetime import datetime
|
|
5
|
+
|
|
6
|
+
from .._models import BaseModel
|
|
7
|
+
|
|
8
|
+
__all__ = ["File"]
|
|
9
|
+
|
|
10
|
+
|
|
11
|
+
class File(BaseModel):
|
|
12
|
+
category: Optional[str] = None
|
|
13
|
+
|
|
14
|
+
content_type: Optional[str] = None
|
|
15
|
+
|
|
16
|
+
created_at: datetime
|
|
17
|
+
|
|
18
|
+
file_id: str
|
|
19
|
+
|
|
20
|
+
original_name: Optional[str] = None
|
|
21
|
+
|
|
22
|
+
size_bytes: Optional[int] = None
|
|
23
|
+
|
|
24
|
+
status: str
|
|
25
|
+
|
|
26
|
+
uploaded_by: Optional[str] = None
|
|
@@ -0,0 +1,11 @@
|
|
|
1
|
+
# File generated from our OpenAPI spec by Stainless. See CONTRIBUTING.md for details.
|
|
2
|
+
|
|
3
|
+
from typing import Optional
|
|
4
|
+
|
|
5
|
+
from .._models import BaseModel
|
|
6
|
+
|
|
7
|
+
__all__ = ["FileDeleteResponse"]
|
|
8
|
+
|
|
9
|
+
|
|
10
|
+
class FileDeleteResponse(BaseModel):
|
|
11
|
+
status: Optional[bool] = None
|
|
@@ -0,0 +1,11 @@
|
|
|
1
|
+
# File generated from our OpenAPI spec by Stainless. See CONTRIBUTING.md for details.
|
|
2
|
+
|
|
3
|
+
from __future__ import annotations
|
|
4
|
+
|
|
5
|
+
from typing_extensions import TypedDict
|
|
6
|
+
|
|
7
|
+
__all__ = ["FileDownloadParams"]
|
|
8
|
+
|
|
9
|
+
|
|
10
|
+
class FileDownloadParams(TypedDict, total=False):
|
|
11
|
+
ttl: int
|
|
@@ -0,0 +1,15 @@
|
|
|
1
|
+
# File generated from our OpenAPI spec by Stainless. See CONTRIBUTING.md for details.
|
|
2
|
+
|
|
3
|
+
from datetime import datetime
|
|
4
|
+
|
|
5
|
+
from .._models import BaseModel
|
|
6
|
+
|
|
7
|
+
__all__ = ["FileDownloadResponse"]
|
|
8
|
+
|
|
9
|
+
|
|
10
|
+
class FileDownloadResponse(BaseModel):
|
|
11
|
+
expires_at: datetime
|
|
12
|
+
|
|
13
|
+
file_id: str
|
|
14
|
+
|
|
15
|
+
url: str
|
|
@@ -0,0 +1,16 @@
|
|
|
1
|
+
# File generated from our OpenAPI spec by Stainless. See CONTRIBUTING.md for details.
|
|
2
|
+
|
|
3
|
+
from __future__ import annotations
|
|
4
|
+
|
|
5
|
+
from typing import Optional
|
|
6
|
+
from typing_extensions import Literal, TypedDict
|
|
7
|
+
|
|
8
|
+
__all__ = ["FileListParams"]
|
|
9
|
+
|
|
10
|
+
|
|
11
|
+
class FileListParams(TypedDict, total=False):
|
|
12
|
+
cursor: Optional[str]
|
|
13
|
+
|
|
14
|
+
limit: int
|
|
15
|
+
|
|
16
|
+
status: Optional[Literal["uploading", "ready"]]
|
|
@@ -0,0 +1,13 @@
|
|
|
1
|
+
# File generated from our OpenAPI spec by Stainless. See CONTRIBUTING.md for details.
|
|
2
|
+
|
|
3
|
+
from __future__ import annotations
|
|
4
|
+
|
|
5
|
+
from typing_extensions import Required, TypedDict
|
|
6
|
+
|
|
7
|
+
from .._types import FileTypes
|
|
8
|
+
|
|
9
|
+
__all__ = ["FileUploadParams"]
|
|
10
|
+
|
|
11
|
+
|
|
12
|
+
class FileUploadParams(TypedDict, total=False):
|
|
13
|
+
file: Required[FileTypes]
|
|
@@ -0,0 +1,17 @@
|
|
|
1
|
+
# File generated from our OpenAPI spec by Stainless. See CONTRIBUTING.md for details.
|
|
2
|
+
|
|
3
|
+
from .._models import BaseModel
|
|
4
|
+
|
|
5
|
+
__all__ = ["FileUsage"]
|
|
6
|
+
|
|
7
|
+
|
|
8
|
+
class FileUsage(BaseModel):
|
|
9
|
+
num_files: int
|
|
10
|
+
|
|
11
|
+
total: str
|
|
12
|
+
|
|
13
|
+
total_bytes: int
|
|
14
|
+
|
|
15
|
+
used: str
|
|
16
|
+
|
|
17
|
+
used_bytes: int
|
spitch/types/files.py
ADDED
|
@@ -0,0 +1,14 @@
|
|
|
1
|
+
# File generated from our OpenAPI spec by Stainless. See CONTRIBUTING.md for details.
|
|
2
|
+
|
|
3
|
+
from typing import List, Optional
|
|
4
|
+
|
|
5
|
+
from .file import File
|
|
6
|
+
from .._models import BaseModel
|
|
7
|
+
|
|
8
|
+
__all__ = ["Files"]
|
|
9
|
+
|
|
10
|
+
|
|
11
|
+
class Files(BaseModel):
|
|
12
|
+
items: List[File]
|
|
13
|
+
|
|
14
|
+
next_cursor: Optional[str] = None
|
|
@@ -4,7 +4,7 @@ from typing import List, Optional
|
|
|
4
4
|
|
|
5
5
|
from .._models import BaseModel
|
|
6
6
|
|
|
7
|
-
__all__ = ["
|
|
7
|
+
__all__ = ["Transcription", "Timestamp"]
|
|
8
8
|
|
|
9
9
|
|
|
10
10
|
class Timestamp(BaseModel):
|
|
@@ -15,7 +15,7 @@ class Timestamp(BaseModel):
|
|
|
15
15
|
text: str
|
|
16
16
|
|
|
17
17
|
|
|
18
|
-
class
|
|
18
|
+
class Transcription(BaseModel):
|
|
19
19
|
request_id: str
|
|
20
20
|
|
|
21
21
|
text: str
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
Metadata-Version: 2.3
|
|
2
2
|
Name: spitch
|
|
3
|
-
Version: 1.
|
|
3
|
+
Version: 1.36.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
|
|
@@ -70,8 +70,8 @@ client = Spitch(
|
|
|
70
70
|
|
|
71
71
|
response = client.speech.generate(
|
|
72
72
|
language="yo",
|
|
73
|
-
text="
|
|
74
|
-
voice="
|
|
73
|
+
text="Bawo ni, ololufe?",
|
|
74
|
+
voice="femi",
|
|
75
75
|
)
|
|
76
76
|
```
|
|
77
77
|
|
|
@@ -97,8 +97,8 @@ client = AsyncSpitch(
|
|
|
97
97
|
async def main() -> None:
|
|
98
98
|
response = await client.speech.generate(
|
|
99
99
|
language="yo",
|
|
100
|
-
text="
|
|
101
|
-
voice="
|
|
100
|
+
text="Bawo ni, ololufe?",
|
|
101
|
+
voice="femi",
|
|
102
102
|
)
|
|
103
103
|
|
|
104
104
|
|
|
@@ -133,8 +133,8 @@ async def main() -> None:
|
|
|
133
133
|
) as client:
|
|
134
134
|
response = await client.speech.generate(
|
|
135
135
|
language="yo",
|
|
136
|
-
text="
|
|
137
|
-
voice="
|
|
136
|
+
text="Bawo ni, ololufe?",
|
|
137
|
+
voice="femi",
|
|
138
138
|
)
|
|
139
139
|
|
|
140
140
|
|
|
@@ -150,6 +150,77 @@ Nested request parameters are [TypedDicts](https://docs.python.org/3/library/typ
|
|
|
150
150
|
|
|
151
151
|
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`.
|
|
152
152
|
|
|
153
|
+
## Pagination
|
|
154
|
+
|
|
155
|
+
List methods in the Spitch API are paginated.
|
|
156
|
+
|
|
157
|
+
This library provides auto-paginating iterators with each list response, so you do not have to request successive pages manually:
|
|
158
|
+
|
|
159
|
+
```python
|
|
160
|
+
from spitch import Spitch
|
|
161
|
+
|
|
162
|
+
client = Spitch()
|
|
163
|
+
|
|
164
|
+
all_files = []
|
|
165
|
+
# Automatically fetches more pages as needed.
|
|
166
|
+
for file in client.files.list(
|
|
167
|
+
limit=10,
|
|
168
|
+
):
|
|
169
|
+
# Do something with file here
|
|
170
|
+
all_files.append(file)
|
|
171
|
+
print(all_files)
|
|
172
|
+
```
|
|
173
|
+
|
|
174
|
+
Or, asynchronously:
|
|
175
|
+
|
|
176
|
+
```python
|
|
177
|
+
import asyncio
|
|
178
|
+
from spitch import AsyncSpitch
|
|
179
|
+
|
|
180
|
+
client = AsyncSpitch()
|
|
181
|
+
|
|
182
|
+
|
|
183
|
+
async def main() -> None:
|
|
184
|
+
all_files = []
|
|
185
|
+
# Iterate through items across all pages, issuing requests as needed.
|
|
186
|
+
async for file in client.files.list(
|
|
187
|
+
limit=10,
|
|
188
|
+
):
|
|
189
|
+
all_files.append(file)
|
|
190
|
+
print(all_files)
|
|
191
|
+
|
|
192
|
+
|
|
193
|
+
asyncio.run(main())
|
|
194
|
+
```
|
|
195
|
+
|
|
196
|
+
Alternatively, you can use the `.has_next_page()`, `.next_page_info()`, or `.get_next_page()` methods for more granular control working with pages:
|
|
197
|
+
|
|
198
|
+
```python
|
|
199
|
+
first_page = await client.files.list(
|
|
200
|
+
limit=10,
|
|
201
|
+
)
|
|
202
|
+
if first_page.has_next_page():
|
|
203
|
+
print(f"will fetch next page using these details: {first_page.next_page_info()}")
|
|
204
|
+
next_page = await first_page.get_next_page()
|
|
205
|
+
print(f"number of items we just fetched: {len(next_page.items)}")
|
|
206
|
+
|
|
207
|
+
# Remove `await` for non-async usage.
|
|
208
|
+
```
|
|
209
|
+
|
|
210
|
+
Or just work directly with the returned data:
|
|
211
|
+
|
|
212
|
+
```python
|
|
213
|
+
first_page = await client.files.list(
|
|
214
|
+
limit=10,
|
|
215
|
+
)
|
|
216
|
+
|
|
217
|
+
print(f"next page cursor: {first_page.next_cursor}") # => "next page cursor: ..."
|
|
218
|
+
for file in first_page.items:
|
|
219
|
+
print(file.file_id)
|
|
220
|
+
|
|
221
|
+
# Remove `await` for non-async usage.
|
|
222
|
+
```
|
|
223
|
+
|
|
153
224
|
## File uploads
|
|
154
225
|
|
|
155
226
|
Request parameters that correspond to file uploads can be passed as `bytes`, or a [`PathLike`](https://docs.python.org/3/library/os.html#os.PathLike) instance or a tuple of `(filename, contents, media type)`.
|
|
@@ -186,7 +257,7 @@ client = Spitch()
|
|
|
186
257
|
try:
|
|
187
258
|
client.speech.generate(
|
|
188
259
|
language="yo",
|
|
189
|
-
text="
|
|
260
|
+
text="Bawo ni, ololufe?",
|
|
190
261
|
voice="sade",
|
|
191
262
|
)
|
|
192
263
|
except spitch.APIConnectionError as e:
|
|
@@ -233,7 +304,7 @@ client = Spitch(
|
|
|
233
304
|
# Or, configure per-request:
|
|
234
305
|
client.with_options(max_retries=5).speech.generate(
|
|
235
306
|
language="yo",
|
|
236
|
-
text="
|
|
307
|
+
text="Bawo ni, ololufe?",
|
|
237
308
|
voice="sade",
|
|
238
309
|
)
|
|
239
310
|
```
|
|
@@ -260,7 +331,7 @@ client = Spitch(
|
|
|
260
331
|
# Override per-request:
|
|
261
332
|
client.with_options(timeout=5.0).speech.generate(
|
|
262
333
|
language="yo",
|
|
263
|
-
text="
|
|
334
|
+
text="Bawo ni, ololufe?",
|
|
264
335
|
voice="sade",
|
|
265
336
|
)
|
|
266
337
|
```
|
|
@@ -303,7 +374,7 @@ from spitch import Spitch
|
|
|
303
374
|
client = Spitch()
|
|
304
375
|
response = client.speech.with_raw_response.generate(
|
|
305
376
|
language="yo",
|
|
306
|
-
text="
|
|
377
|
+
text="Bawo ni, ololufe?",
|
|
307
378
|
voice="sade",
|
|
308
379
|
)
|
|
309
380
|
print(response.headers.get('X-My-Header'))
|
|
@@ -325,7 +396,7 @@ To stream the response body, use `.with_streaming_response` instead, which requi
|
|
|
325
396
|
```python
|
|
326
397
|
with client.speech.with_streaming_response.generate(
|
|
327
398
|
language="yo",
|
|
328
|
-
text="
|
|
399
|
+
text="Bawo ni, ololufe?",
|
|
329
400
|
voice="sade",
|
|
330
401
|
) as response:
|
|
331
402
|
print(response.headers.get("X-My-Header"))
|
|
@@ -0,0 +1,53 @@
|
|
|
1
|
+
spitch/__init__.py,sha256=JS1xuX1VDVdq2-EkwlKH3h19hltmtZQZDCMig55YgDw,2606
|
|
2
|
+
spitch/_base_client.py,sha256=zj7tZVDyWwN3QLO30HljeRZzptVtxvJ01-vPTzDlPVQ,67176
|
|
3
|
+
spitch/_client.py,sha256=Ptl5A9zAoBWtAK7CrIFZkSPD3NvYASfZteHOZlqLKeg,15870
|
|
4
|
+
spitch/_compat.py,sha256=LPDXpBxBq8haInbzeO9ldLv_0wZotEcrEtXCAJaZjLg,6589
|
|
5
|
+
spitch/_constants.py,sha256=S14PFzyN9-I31wiV7SmIlL5Ga0MLHxdvegInGdXH7tM,462
|
|
6
|
+
spitch/_exceptions.py,sha256=xsQtKJTiIdz2X1bQDQFZcSW7WBofLazdQm9nMCyPEVM,3220
|
|
7
|
+
spitch/_files.py,sha256=PoVmzgMIaWGfUgEPaDtFolxtpEHXsmENhH4lXlaGSoU,3613
|
|
8
|
+
spitch/_models.py,sha256=kkNo-_GumPv1RtfJyswa2vUOS9aFvx7b8u1zwrq_oCY,30274
|
|
9
|
+
spitch/_qs.py,sha256=craIKyvPktJ94cvf9zn8j8ekG9dWJzhWv0ob34lIOv4,4828
|
|
10
|
+
spitch/_resource.py,sha256=TLFPcOOmtxZOQLh3XCNPB_BdrQpp0MIYoKoH52aRAu8,1100
|
|
11
|
+
spitch/_response.py,sha256=-1LLK1wjPW3Hcro9NXjf_SnPRArU1ozdctNIStvxbWo,28690
|
|
12
|
+
spitch/_streaming.py,sha256=5SpId2EIfF8Ee8UUYmJxqgHUGP1ZdHCUHhHCdNJREFA,10100
|
|
13
|
+
spitch/_types.py,sha256=oa5CdZaglGw0wrxxpdWxeoliiTfNpce300esw52GnGk,7260
|
|
14
|
+
spitch/_version.py,sha256=RZwew2YnMeT6o_1a_8not6xDC8mOCEewIJN0QgZlchQ,159
|
|
15
|
+
spitch/pagination.py,sha256=XQaAXcd1OtYzc7zqwCJLQVqFMkC0W-1-0njeSyxT88A,1312
|
|
16
|
+
spitch/py.typed,sha256=47DEQpj8HBSa-_TImW-5JCeuQeRkm5NMpJWZG3hSuFU,0
|
|
17
|
+
spitch/_utils/__init__.py,sha256=WhaZJLzT8oCtvdIvbs8gyd6emLYa4usodcqgcpFiciU,2259
|
|
18
|
+
spitch/_utils/_compat.py,sha256=D8gtAvjJQrDWt9upS0XaG9Rr5l1QhiAx_I_1utT_tt0,1195
|
|
19
|
+
spitch/_utils/_datetime_parse.py,sha256=bABTs0Bc6rabdFvnIwXjEhWL15TcRgWZ_6XGTqN8xUk,4204
|
|
20
|
+
spitch/_utils/_logs.py,sha256=ApRyYK_WgZfEr_ygBUBXWMlTgeMr2tdNOGlH8jE4oJc,774
|
|
21
|
+
spitch/_utils/_proxy.py,sha256=aglnj2yBTDyGX9Akk2crZHrl10oqRmceUy2Zp008XEs,1975
|
|
22
|
+
spitch/_utils/_reflection.py,sha256=ZmGkIgT_PuwedyNBrrKGbxoWtkpytJNU1uU4QHnmEMU,1364
|
|
23
|
+
spitch/_utils/_resources_proxy.py,sha256=O0A5203gv-9Tg2PzRAYDPjXvJg_FQoaN41auzUUY8NM,589
|
|
24
|
+
spitch/_utils/_streams.py,sha256=SMC90diFFecpEg_zgDRVbdR3hSEIgVVij4taD-noMLM,289
|
|
25
|
+
spitch/_utils/_sync.py,sha256=TpGLrrhRNWTJtODNE6Fup3_k7zrWm1j2RlirzBwre-0,2862
|
|
26
|
+
spitch/_utils/_transform.py,sha256=NjCzmnfqYrsAikUHQig6N9QfuTVbKipuP3ur9mcNF-E,15951
|
|
27
|
+
spitch/_utils/_typing.py,sha256=RCxAvYzuEtYsURpRlnfcWi7jSOpli7zWiWiljTVjVOE,4123
|
|
28
|
+
spitch/_utils/_utils.py,sha256=0dDqauUbVZEXV0NVl7Bwu904Wwo5eyFCZpQThhFNhyA,12253
|
|
29
|
+
spitch/lib/.keep,sha256=wuNrz-5SXo3jJaJOJgz4vFHM41YH_g20F5cRQo0vLes,224
|
|
30
|
+
spitch/resources/__init__.py,sha256=oUfkZqMUtVuaZj1l1YuWwDDcfCTFMs89K1-DNgM89VY,1413
|
|
31
|
+
spitch/resources/files.py,sha256=wslju1bXne3gIRBBLQs49BQwAQhARvF1JGTemGtkcNI,21492
|
|
32
|
+
spitch/resources/speech.py,sha256=St9JAlDjPWDHsX-Ui59p0G_q7_7AwbBnuFy5JcYUS9c,13124
|
|
33
|
+
spitch/resources/text.py,sha256=jPOwxYWoqDUWvbmYlYsMJiZLDy4-C_gIzhnvsbY3p94,9555
|
|
34
|
+
spitch/types/__init__.py,sha256=716oGh0nu8qXtnA8yGH5Hj8VDYSnVKm93pYAFwdO0E0,1079
|
|
35
|
+
spitch/types/diacritics.py,sha256=btOCAZTQ5qLjN78nCb7kyfJeBeBKW4nXlA9T8hsVquE,211
|
|
36
|
+
spitch/types/file.py,sha256=xRfk8t2q7YhQFzhjL8S1EHImdFWwXGIBiUhDDw1Tytk,477
|
|
37
|
+
spitch/types/file_delete_response.py,sha256=r4OwDVrG4BGSEdqYyr7iPpaPzon5pm5Wx61KIRZk1zY,255
|
|
38
|
+
spitch/types/file_download_params.py,sha256=tCiwTeSSbPuniZXdiOQll7Bdc2enBp9yJD-D9SpeEqg,262
|
|
39
|
+
spitch/types/file_download_response.py,sha256=OeO6JIFo97dLZcL8iTtazGU1PVZy1rp5VVa5w6d8DHg,284
|
|
40
|
+
spitch/types/file_list_params.py,sha256=FrWZhMUC38sGkBtdQKateTyStVuMOz90x5AHtkoZnzk,373
|
|
41
|
+
spitch/types/file_upload_params.py,sha256=5LSsvz7ptuELm5MosWotXpgsBf-Tz_ox1ys9HLx-Sts,317
|
|
42
|
+
spitch/types/file_usage.py,sha256=dXrqkDjvq-VECYaMVUL1wL3xS4Nkej7y7AVm5_DU4IE,267
|
|
43
|
+
spitch/types/files.py,sha256=FkNfexYBP3Ug4klnbGbGQTtXj6DC9y4Akbhd78ijb-c,285
|
|
44
|
+
spitch/types/speech_generate_params.py,sha256=m5FQnPfVxcikB5UJTn-2WjttOP5tJ8BMO0LbGPktMe0,939
|
|
45
|
+
spitch/types/speech_transcribe_params.py,sha256=fAVwTfPRR4aLzcu4Y8qrmKXESemnWJIdnyhyVcR3W20,613
|
|
46
|
+
spitch/types/text_tone_mark_params.py,sha256=MEnWzcSjPT_Z_8Mio96LgwYbx2BngG5By-MoeSt0Sms,355
|
|
47
|
+
spitch/types/text_translate_params.py,sha256=skEeG7oTZUSl_gugnqL4Mb7HE_pEFhKNygZPTvci2hA,416
|
|
48
|
+
spitch/types/transcription.py,sha256=SrbWIwItrt-FdPUPV8PofYTxzLCiwxg7Ya4QsKE1PoY,393
|
|
49
|
+
spitch/types/translation.py,sha256=ICtp42meKFR_CvfW5mSmy3Y0az8SuIhdDi3BAfnWs8k,213
|
|
50
|
+
spitch-1.36.0.dist-info/METADATA,sha256=wMm0MZSCvfxMOS1VM0pskhkarW7FrhmEuWc-1Y6km04,15962
|
|
51
|
+
spitch-1.36.0.dist-info/WHEEL,sha256=C2FUgwZgiLbznR-k0b_5k3Ai_1aASOXDss3lzCUsUug,87
|
|
52
|
+
spitch-1.36.0.dist-info/licenses/LICENSE,sha256=C0lDWY-no8IxmnqzQA9BA7Z8jeh_bogVPfeWSgeDDcc,11336
|
|
53
|
+
spitch-1.36.0.dist-info/RECORD,,
|
spitch-1.34.0.dist-info/RECORD
DELETED
|
@@ -1,41 +0,0 @@
|
|
|
1
|
-
spitch/__init__.py,sha256=sQOgCAf6E5lLXjLxqutfq2FtM-qUuiad1OJ9dd5SIic,2560
|
|
2
|
-
spitch/_base_client.py,sha256=cxA_HOlsFL-GCV5en3woq4oArccJuwWzStBOLLSeEvU,67164
|
|
3
|
-
spitch/_client.py,sha256=edWlodXy44ArTu9KY7M_zXYKMhs66gptWUqSuMwN0SI,15438
|
|
4
|
-
spitch/_compat.py,sha256=fQkXUY7reJc8m_yguMWSjHBfO8lNzw4wOAxtkhP9d1Q,6607
|
|
5
|
-
spitch/_constants.py,sha256=S14PFzyN9-I31wiV7SmIlL5Ga0MLHxdvegInGdXH7tM,462
|
|
6
|
-
spitch/_exceptions.py,sha256=xsQtKJTiIdz2X1bQDQFZcSW7WBofLazdQm9nMCyPEVM,3220
|
|
7
|
-
spitch/_files.py,sha256=PoVmzgMIaWGfUgEPaDtFolxtpEHXsmENhH4lXlaGSoU,3613
|
|
8
|
-
spitch/_models.py,sha256=xZcpLpLUiguvwNSYxIHwN3oa2gsbk1Nua06MayCY7eQ,29832
|
|
9
|
-
spitch/_qs.py,sha256=AOkSz4rHtK4YI3ZU_kzea-zpwBUgEY8WniGmTPyEimc,4846
|
|
10
|
-
spitch/_resource.py,sha256=TLFPcOOmtxZOQLh3XCNPB_BdrQpp0MIYoKoH52aRAu8,1100
|
|
11
|
-
spitch/_response.py,sha256=-1LLK1wjPW3Hcro9NXjf_SnPRArU1ozdctNIStvxbWo,28690
|
|
12
|
-
spitch/_streaming.py,sha256=5SpId2EIfF8Ee8UUYmJxqgHUGP1ZdHCUHhHCdNJREFA,10100
|
|
13
|
-
spitch/_types.py,sha256=lccvqVi8E6-4SKt0rn1e9XXNePb0WwdDc10sPVSCygI,6221
|
|
14
|
-
spitch/_version.py,sha256=_G8590lr1cUX87r1U193Q0arfDNmcPmWLRzS9pF6lLI,159
|
|
15
|
-
spitch/py.typed,sha256=47DEQpj8HBSa-_TImW-5JCeuQeRkm5NMpJWZG3hSuFU,0
|
|
16
|
-
spitch/_utils/__init__.py,sha256=k266EatJr88V8Zseb7xUimTlCeno9SynRfLwadHP1b4,2016
|
|
17
|
-
spitch/_utils/_logs.py,sha256=ApRyYK_WgZfEr_ygBUBXWMlTgeMr2tdNOGlH8jE4oJc,774
|
|
18
|
-
spitch/_utils/_proxy.py,sha256=aglnj2yBTDyGX9Akk2crZHrl10oqRmceUy2Zp008XEs,1975
|
|
19
|
-
spitch/_utils/_reflection.py,sha256=ZmGkIgT_PuwedyNBrrKGbxoWtkpytJNU1uU4QHnmEMU,1364
|
|
20
|
-
spitch/_utils/_resources_proxy.py,sha256=O0A5203gv-9Tg2PzRAYDPjXvJg_FQoaN41auzUUY8NM,589
|
|
21
|
-
spitch/_utils/_streams.py,sha256=SMC90diFFecpEg_zgDRVbdR3hSEIgVVij4taD-noMLM,289
|
|
22
|
-
spitch/_utils/_sync.py,sha256=TpGLrrhRNWTJtODNE6Fup3_k7zrWm1j2RlirzBwre-0,2862
|
|
23
|
-
spitch/_utils/_transform.py,sha256=n7kskEWz6o__aoNvhFoGVyDoalNe6mJwp-g7BWkdj88,15617
|
|
24
|
-
spitch/_utils/_typing.py,sha256=9UuSEnmE7dgm1SG45Mt-ga1sBhnvZHpq3f2dXbhW1NM,3939
|
|
25
|
-
spitch/_utils/_utils.py,sha256=ts4CiiuNpFiGB6YMdkQRh2SZvYvsl7mAF-JWHCcLDf4,12312
|
|
26
|
-
spitch/lib/.keep,sha256=wuNrz-5SXo3jJaJOJgz4vFHM41YH_g20F5cRQo0vLes,224
|
|
27
|
-
spitch/resources/__init__.py,sha256=KT6rAvIlWHQk9QdM4Jp8ABziKILaBrrtiO7LCB5Wa5E,976
|
|
28
|
-
spitch/resources/speech.py,sha256=3MFk65IFJkjQ4uhA8OJff9yHoT3ghcbt6uLA77H0a-s,13270
|
|
29
|
-
spitch/resources/text.py,sha256=wWIE7uyvthKfhkOtoodTBDv_0s6YgWgAqxwICquDSyo,9680
|
|
30
|
-
spitch/types/__init__.py,sha256=xBZbzXwV3WlBdawp4Mb4IqoQG4VfaLbi-4FMqPbwqlE,704
|
|
31
|
-
spitch/types/speech_generate_params.py,sha256=m5FQnPfVxcikB5UJTn-2WjttOP5tJ8BMO0LbGPktMe0,939
|
|
32
|
-
spitch/types/speech_transcribe_params.py,sha256=g-hyQWfiuMbwAuX7YUSwb-j6GKITRc6xcpX0d7mor1Y,604
|
|
33
|
-
spitch/types/speech_transcribe_response.py,sha256=SjqMDTT_VPvN8H7P_be33vlhRBSiLhehTIrNrYOMeIk,415
|
|
34
|
-
spitch/types/text_tone_mark_params.py,sha256=MEnWzcSjPT_Z_8Mio96LgwYbx2BngG5By-MoeSt0Sms,355
|
|
35
|
-
spitch/types/text_tone_mark_response.py,sha256=AtLA2N7tzhxzuTYxS3PwJfPgjGQxIlgTZmTzIUdxKMA,231
|
|
36
|
-
spitch/types/text_translate_params.py,sha256=skEeG7oTZUSl_gugnqL4Mb7HE_pEFhKNygZPTvci2hA,416
|
|
37
|
-
spitch/types/text_translate_response.py,sha256=oehUy3S8jyHTLUFhHTV9LtVhkPGxSasENXEPoK4F6-M,233
|
|
38
|
-
spitch-1.34.0.dist-info/METADATA,sha256=clRMYI0_NE7KQhkOqGt4licIPVG8Xu4KZdebbul09tE,14264
|
|
39
|
-
spitch-1.34.0.dist-info/WHEEL,sha256=C2FUgwZgiLbznR-k0b_5k3Ai_1aASOXDss3lzCUsUug,87
|
|
40
|
-
spitch-1.34.0.dist-info/licenses/LICENSE,sha256=C0lDWY-no8IxmnqzQA9BA7Z8jeh_bogVPfeWSgeDDcc,11336
|
|
41
|
-
spitch-1.34.0.dist-info/RECORD,,
|
|
File without changes
|
|
File without changes
|