cartesia 1.0.9__py2.py3-none-any.whl → 1.0.10__py2.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.
cartesia/_types.py CHANGED
@@ -1,4 +1,4 @@
1
- from typing import List, TypedDict
1
+ from typing import List, TypedDict, Union
2
2
 
3
3
  from cartesia.utils.deprecated import deprecated
4
4
 
@@ -86,7 +86,7 @@ class VoiceControls(TypedDict):
86
86
  This is an experimental class and is subject to rapid change in future versions.
87
87
  """
88
88
 
89
- speed: str = ""
89
+ speed: Union[str, float] = ""
90
90
  emotion: List[str] = []
91
91
 
92
92
 
cartesia/client.py CHANGED
@@ -31,6 +31,9 @@ try:
31
31
  except ImportError:
32
32
  IS_WEBSOCKET_SYNC_AVAILABLE = False
33
33
 
34
+ from iterators import TimeoutIterator
35
+ from websockets.sync.client import connect
36
+
34
37
  from cartesia._types import (
35
38
  DeprecatedOutputFormatMapping,
36
39
  EventType,
@@ -40,8 +43,6 @@ from cartesia._types import (
40
43
  VoiceMetadata,
41
44
  )
42
45
  from cartesia.utils.retry import retry_on_connection_error, retry_on_connection_error_async
43
- from iterators import TimeoutIterator
44
- from websockets.sync.client import connect
45
46
 
46
47
  DEFAULT_MODEL_ID = "sonic-english" # latest default model
47
48
  MULTILINGUAL_MODEL_ID = "sonic-multilingual" # latest multilingual model
cartesia/version.py CHANGED
@@ -1 +1 @@
1
- __version__ = "1.0.9"
1
+ __version__ = "1.0.10"
@@ -1,6 +1,6 @@
1
1
  Metadata-Version: 2.1
2
2
  Name: cartesia
3
- Version: 1.0.9
3
+ Version: 1.0.10
4
4
  Summary: The official Python library for the Cartesia API.
5
5
  Home-page:
6
6
  Author: Cartesia, Inc.
@@ -18,19 +18,19 @@ Requires-Dist: requests
18
18
  Requires-Dist: websockets
19
19
  Requires-Dist: iterators
20
20
  Provides-Extra: all
21
- Requires-Dist: pytest >=8.0.2 ; extra == 'all'
22
- Requires-Dist: pytest-cov >=4.1.0 ; extra == 'all'
23
- Requires-Dist: twine ; extra == 'all'
24
- Requires-Dist: setuptools ; extra == 'all'
25
- Requires-Dist: wheel ; extra == 'all'
26
- Requires-Dist: numpy ; extra == 'all'
21
+ Requires-Dist: pytest>=8.0.2; extra == "all"
22
+ Requires-Dist: pytest-cov>=4.1.0; extra == "all"
23
+ Requires-Dist: twine; extra == "all"
24
+ Requires-Dist: setuptools; extra == "all"
25
+ Requires-Dist: wheel; extra == "all"
26
+ Requires-Dist: numpy; extra == "all"
27
27
  Provides-Extra: dev
28
- Requires-Dist: pytest >=8.0.2 ; extra == 'dev'
29
- Requires-Dist: pytest-cov >=4.1.0 ; extra == 'dev'
30
- Requires-Dist: twine ; extra == 'dev'
31
- Requires-Dist: setuptools ; extra == 'dev'
32
- Requires-Dist: wheel ; extra == 'dev'
33
- Requires-Dist: numpy ; extra == 'dev'
28
+ Requires-Dist: pytest>=8.0.2; extra == "dev"
29
+ Requires-Dist: pytest-cov>=4.1.0; extra == "dev"
30
+ Requires-Dist: twine; extra == "dev"
31
+ Requires-Dist: setuptools; extra == "dev"
32
+ Requires-Dist: wheel; extra == "dev"
33
+ Requires-Dist: numpy; extra == "dev"
34
34
 
35
35
 
36
36
  # Cartesia Python API Library
@@ -0,0 +1,12 @@
1
+ cartesia/__init__.py,sha256=E4w7psbAwx8X6Iri3W8jGeo11gIlhr3mSU33zChipmI,93
2
+ cartesia/_types.py,sha256=pkFJmsO-OWAJNtqxV80-YcR8KWWLhIwLFejzDjBewbw,4428
3
+ cartesia/client.py,sha256=AfSLYDJw_3eTCxiEyWhLdGVxOhPooW5omA99DeLTw5A,51614
4
+ cartesia/version.py,sha256=5vGk-8GWz6jojEu9w36UP5aNA0LuiwgbNSJ8Umn2rLA,23
5
+ cartesia/utils/__init__.py,sha256=47DEQpj8HBSa-_TImW-5JCeuQeRkm5NMpJWZG3hSuFU,0
6
+ cartesia/utils/deprecated.py,sha256=2cXvGtrxhPeUZA5LWy2n_U5OFLDv7SHeFtzqhjSJGyk,1674
7
+ cartesia/utils/retry.py,sha256=O6fyVWpH9Su8c0Fwupl57xMt6JrwJ52txBwP3faUL7k,3339
8
+ cartesia-1.0.10.dist-info/LICENSE.md,sha256=PT2YG5wEtEX1TNDn5sXkUXqbn-neyr7cZenTxd40ql4,1074
9
+ cartesia-1.0.10.dist-info/METADATA,sha256=0eG3fbxXsqofNbwIdGvziDqTpFar2ZetcGLc7Bsut3s,21122
10
+ cartesia-1.0.10.dist-info/WHEEL,sha256=fS9sRbCBHs7VFcwJLnLXN1MZRR0_TVTxvXKzOnaSFs8,110
11
+ cartesia-1.0.10.dist-info/top_level.txt,sha256=rTX4HnnCegMxl1FK9czpVC7GAvf3SwDzPG65qP-BS4w,9
12
+ cartesia-1.0.10.dist-info/RECORD,,
@@ -1,5 +1,5 @@
1
1
  Wheel-Version: 1.0
2
- Generator: bdist_wheel (0.43.0)
2
+ Generator: bdist_wheel (0.44.0)
3
3
  Root-Is-Purelib: true
4
4
  Tag: py2-none-any
5
5
  Tag: py3-none-any
@@ -1,12 +0,0 @@
1
- cartesia/__init__.py,sha256=E4w7psbAwx8X6Iri3W8jGeo11gIlhr3mSU33zChipmI,93
2
- cartesia/_types.py,sha256=rISSd6sfne6awLDoonqA9KlE0fVQZdIaGjxsvHTFBlE,4407
3
- cartesia/client.py,sha256=m6eVIr5AL0Xuwh7707jXMNIxx1CAseW03xvgbbuNNsU,51613
4
- cartesia/version.py,sha256=q2ACMkQx0Hm5xKo2YKJFBE7rTruciTSIN6AvWWL9nB8,22
5
- cartesia/utils/__init__.py,sha256=47DEQpj8HBSa-_TImW-5JCeuQeRkm5NMpJWZG3hSuFU,0
6
- cartesia/utils/deprecated.py,sha256=2cXvGtrxhPeUZA5LWy2n_U5OFLDv7SHeFtzqhjSJGyk,1674
7
- cartesia/utils/retry.py,sha256=O6fyVWpH9Su8c0Fwupl57xMt6JrwJ52txBwP3faUL7k,3339
8
- cartesia-1.0.9.dist-info/LICENSE.md,sha256=PT2YG5wEtEX1TNDn5sXkUXqbn-neyr7cZenTxd40ql4,1074
9
- cartesia-1.0.9.dist-info/METADATA,sha256=C2htRYPEJuve-EhP1R7dazFxnBSJrCTnESIIDBx5vBk,21137
10
- cartesia-1.0.9.dist-info/WHEEL,sha256=DZajD4pwLWue70CAfc7YaxT1wLUciNBvN_TTcvXpltE,110
11
- cartesia-1.0.9.dist-info/top_level.txt,sha256=rTX4HnnCegMxl1FK9czpVC7GAvf3SwDzPG65qP-BS4w,9
12
- cartesia-1.0.9.dist-info/RECORD,,