spitch 1.36.0__py3-none-any.whl → 1.37.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/_version.py CHANGED
@@ -1,4 +1,4 @@
1
1
  # File generated from our OpenAPI spec by Stainless. See CONTRIBUTING.md for details.
2
2
 
3
3
  __title__ = "spitch"
4
- __version__ = "1.36.0" # x-release-please-version
4
+ __version__ = "1.37.0" # x-release-please-version
@@ -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,
@@ -40,4 +40,6 @@ class SpeechGenerateParams(TypedDict, total=False):
40
40
  ]
41
41
  ]
42
42
 
43
+ format: Literal["wav", "mp3", "ogg_opus", "webm_opus", "flac", "pcm_s16le", "mulaw", "alaw"]
44
+
43
45
  model: Optional[Literal["legacy"]]
@@ -1,6 +1,6 @@
1
1
  Metadata-Version: 2.3
2
2
  Name: spitch
3
- Version: 1.36.0
3
+ Version: 1.37.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
@@ -11,7 +11,7 @@ spitch/_resource.py,sha256=TLFPcOOmtxZOQLh3XCNPB_BdrQpp0MIYoKoH52aRAu8,1100
11
11
  spitch/_response.py,sha256=-1LLK1wjPW3Hcro9NXjf_SnPRArU1ozdctNIStvxbWo,28690
12
12
  spitch/_streaming.py,sha256=5SpId2EIfF8Ee8UUYmJxqgHUGP1ZdHCUHhHCdNJREFA,10100
13
13
  spitch/_types.py,sha256=oa5CdZaglGw0wrxxpdWxeoliiTfNpce300esw52GnGk,7260
14
- spitch/_version.py,sha256=RZwew2YnMeT6o_1a_8not6xDC8mOCEewIJN0QgZlchQ,159
14
+ spitch/_version.py,sha256=iVtRp2hgsdN4N54zH6a4seAW5ArdLQDUQANzHe09eiU,159
15
15
  spitch/pagination.py,sha256=XQaAXcd1OtYzc7zqwCJLQVqFMkC0W-1-0njeSyxT88A,1312
16
16
  spitch/py.typed,sha256=47DEQpj8HBSa-_TImW-5JCeuQeRkm5NMpJWZG3hSuFU,0
17
17
  spitch/_utils/__init__.py,sha256=WhaZJLzT8oCtvdIvbs8gyd6emLYa4usodcqgcpFiciU,2259
@@ -29,7 +29,7 @@ spitch/_utils/_utils.py,sha256=0dDqauUbVZEXV0NVl7Bwu904Wwo5eyFCZpQThhFNhyA,12253
29
29
  spitch/lib/.keep,sha256=wuNrz-5SXo3jJaJOJgz4vFHM41YH_g20F5cRQo0vLes,224
30
30
  spitch/resources/__init__.py,sha256=oUfkZqMUtVuaZj1l1YuWwDDcfCTFMs89K1-DNgM89VY,1413
31
31
  spitch/resources/files.py,sha256=wslju1bXne3gIRBBLQs49BQwAQhARvF1JGTemGtkcNI,21492
32
- spitch/resources/speech.py,sha256=St9JAlDjPWDHsX-Ui59p0G_q7_7AwbBnuFy5JcYUS9c,13124
32
+ spitch/resources/speech.py,sha256=OiwFiY3shX0vi1NwvAresjfbAQC9CR9w355cuaDpz0U,13432
33
33
  spitch/resources/text.py,sha256=jPOwxYWoqDUWvbmYlYsMJiZLDy4-C_gIzhnvsbY3p94,9555
34
34
  spitch/types/__init__.py,sha256=716oGh0nu8qXtnA8yGH5Hj8VDYSnVKm93pYAFwdO0E0,1079
35
35
  spitch/types/diacritics.py,sha256=btOCAZTQ5qLjN78nCb7kyfJeBeBKW4nXlA9T8hsVquE,211
@@ -41,13 +41,13 @@ spitch/types/file_list_params.py,sha256=FrWZhMUC38sGkBtdQKateTyStVuMOz90x5AHtkoZ
41
41
  spitch/types/file_upload_params.py,sha256=5LSsvz7ptuELm5MosWotXpgsBf-Tz_ox1ys9HLx-Sts,317
42
42
  spitch/types/file_usage.py,sha256=dXrqkDjvq-VECYaMVUL1wL3xS4Nkej7y7AVm5_DU4IE,267
43
43
  spitch/types/files.py,sha256=FkNfexYBP3Ug4klnbGbGQTtXj6DC9y4Akbhd78ijb-c,285
44
- spitch/types/speech_generate_params.py,sha256=m5FQnPfVxcikB5UJTn-2WjttOP5tJ8BMO0LbGPktMe0,939
44
+ spitch/types/speech_generate_params.py,sha256=9kjye1XOMJPNZginEDMTS6Gt05bkB1s1r5H7oEj1Chk,1037
45
45
  spitch/types/speech_transcribe_params.py,sha256=fAVwTfPRR4aLzcu4Y8qrmKXESemnWJIdnyhyVcR3W20,613
46
46
  spitch/types/text_tone_mark_params.py,sha256=MEnWzcSjPT_Z_8Mio96LgwYbx2BngG5By-MoeSt0Sms,355
47
47
  spitch/types/text_translate_params.py,sha256=skEeG7oTZUSl_gugnqL4Mb7HE_pEFhKNygZPTvci2hA,416
48
48
  spitch/types/transcription.py,sha256=SrbWIwItrt-FdPUPV8PofYTxzLCiwxg7Ya4QsKE1PoY,393
49
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,,
50
+ spitch-1.37.0.dist-info/METADATA,sha256=LJYBvDszg9Rxzl8STXXvvRxq1L3eDpGy4UcABp5OH0E,15962
51
+ spitch-1.37.0.dist-info/WHEEL,sha256=C2FUgwZgiLbznR-k0b_5k3Ai_1aASOXDss3lzCUsUug,87
52
+ spitch-1.37.0.dist-info/licenses/LICENSE,sha256=C0lDWY-no8IxmnqzQA9BA7Z8jeh_bogVPfeWSgeDDcc,11336
53
+ spitch-1.37.0.dist-info/RECORD,,