spitch 1.30.0__py3-none-any.whl → 1.31.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.30.0" # x-release-please-version
4
+ __version__ = "1.31.0" # x-release-please-version
@@ -1,6 +1,6 @@
1
1
  Metadata-Version: 2.3
2
2
  Name: spitch
3
- Version: 1.30.0
3
+ Version: 1.31.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
@@ -65,11 +65,10 @@ from spitch import Spitch
65
65
 
66
66
  client = Spitch()
67
67
 
68
- response = client.speech.generate(
68
+ response = client.speech.transcribe(
69
69
  language="yo",
70
- text="text",
71
- voice="sade",
72
70
  )
71
+ print(response.request_id)
73
72
  ```
74
73
 
75
74
  While you can provide an `api_key` keyword argument,
@@ -89,11 +88,10 @@ client = AsyncSpitch()
89
88
 
90
89
 
91
90
  async def main() -> None:
92
- response = await client.speech.generate(
91
+ response = await client.speech.transcribe(
93
92
  language="yo",
94
- text="text",
95
- voice="sade",
96
93
  )
94
+ print(response.request_id)
97
95
 
98
96
 
99
97
  asyncio.run(main())
@@ -124,11 +122,10 @@ async def main() -> None:
124
122
  async with AsyncSpitch(
125
123
  http_client=DefaultAioHttpClient(),
126
124
  ) as client:
127
- response = await client.speech.generate(
125
+ response = await client.speech.transcribe(
128
126
  language="yo",
129
- text="text",
130
- voice="sade",
131
127
  )
128
+ print(response.request_id)
132
129
 
133
130
 
134
131
  asyncio.run(main())
@@ -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=lccvqVi8E6-4SKt0rn1e9XXNePb0WwdDc10sPVSCygI,6221
14
- spitch/_version.py,sha256=ciHDN-smcQWYpFDfz1LCcR44ph92LPqIIXVVLQra5Bc,159
14
+ spitch/_version.py,sha256=ORH60_jH43yLhnweZonmzj62U6eEJPffUtXiWL6ZzG0,159
15
15
  spitch/py.typed,sha256=47DEQpj8HBSa-_TImW-5JCeuQeRkm5NMpJWZG3hSuFU,0
16
16
  spitch/_utils/__init__.py,sha256=k266EatJr88V8Zseb7xUimTlCeno9SynRfLwadHP1b4,2016
17
17
  spitch/_utils/_logs.py,sha256=ApRyYK_WgZfEr_ygBUBXWMlTgeMr2tdNOGlH8jE4oJc,774
@@ -35,7 +35,7 @@ spitch/types/text_tone_mark_params.py,sha256=MEnWzcSjPT_Z_8Mio96LgwYbx2BngG5By-M
35
35
  spitch/types/text_tone_mark_response.py,sha256=AtLA2N7tzhxzuTYxS3PwJfPgjGQxIlgTZmTzIUdxKMA,231
36
36
  spitch/types/text_translate_params.py,sha256=skEeG7oTZUSl_gugnqL4Mb7HE_pEFhKNygZPTvci2hA,416
37
37
  spitch/types/text_translate_response.py,sha256=oehUy3S8jyHTLUFhHTV9LtVhkPGxSasENXEPoK4F6-M,233
38
- spitch-1.30.0.dist-info/METADATA,sha256=nMTSuKcQ9r59sUeJqYDzXmDp8zd10DsnDADUWnGNhPI,14036
39
- spitch-1.30.0.dist-info/WHEEL,sha256=C2FUgwZgiLbznR-k0b_5k3Ai_1aASOXDss3lzCUsUug,87
40
- spitch-1.30.0.dist-info/licenses/LICENSE,sha256=C0lDWY-no8IxmnqzQA9BA7Z8jeh_bogVPfeWSgeDDcc,11336
41
- spitch-1.30.0.dist-info/RECORD,,
38
+ spitch-1.31.0.dist-info/METADATA,sha256=_U2swWwBlT81MD1nbQvzuNfFwYS2qTN1Wh6rl64ehMA,14006
39
+ spitch-1.31.0.dist-info/WHEEL,sha256=C2FUgwZgiLbznR-k0b_5k3Ai_1aASOXDss3lzCUsUug,87
40
+ spitch-1.31.0.dist-info/licenses/LICENSE,sha256=C0lDWY-no8IxmnqzQA9BA7Z8jeh_bogVPfeWSgeDDcc,11336
41
+ spitch-1.31.0.dist-info/RECORD,,