typecast-python 0.4.1__tar.gz → 0.5.1__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.
Files changed (19) hide show
  1. {typecast_python-0.4.1 → typecast_python-0.5.1}/PKG-INFO +5 -6
  2. {typecast_python-0.4.1 → typecast_python-0.5.1}/README.md +2 -3
  3. {typecast_python-0.4.1 → typecast_python-0.5.1}/pyproject.toml +4 -4
  4. {typecast_python-0.4.1 → typecast_python-0.5.1}/src/typecast/models/tts.py +3 -3
  5. {typecast_python-0.4.1 → typecast_python-0.5.1}/.gitignore +0 -0
  6. {typecast_python-0.4.1 → typecast_python-0.5.1}/LICENSE +0 -0
  7. {typecast_python-0.4.1 → typecast_python-0.5.1}/src/typecast/__init__.py +0 -0
  8. {typecast_python-0.4.1 → typecast_python-0.5.1}/src/typecast/_user_agent.py +0 -0
  9. {typecast_python-0.4.1 → typecast_python-0.5.1}/src/typecast/_voice_clone.py +0 -0
  10. {typecast_python-0.4.1 → typecast_python-0.5.1}/src/typecast/async_client.py +0 -0
  11. {typecast_python-0.4.1 → typecast_python-0.5.1}/src/typecast/client.py +0 -0
  12. {typecast_python-0.4.1 → typecast_python-0.5.1}/src/typecast/composer.py +0 -0
  13. {typecast_python-0.4.1 → typecast_python-0.5.1}/src/typecast/conf.py +0 -0
  14. {typecast_python-0.4.1 → typecast_python-0.5.1}/src/typecast/exceptions.py +0 -0
  15. {typecast_python-0.4.1 → typecast_python-0.5.1}/src/typecast/models/__init__.py +0 -0
  16. {typecast_python-0.4.1 → typecast_python-0.5.1}/src/typecast/models/error.py +0 -0
  17. {typecast_python-0.4.1 → typecast_python-0.5.1}/src/typecast/models/subscription.py +0 -0
  18. {typecast_python-0.4.1 → typecast_python-0.5.1}/src/typecast/models/voices.py +0 -0
  19. {typecast_python-0.4.1 → typecast_python-0.5.1}/src/typecast/utils.py +0 -0
@@ -1,6 +1,6 @@
1
1
  Metadata-Version: 2.5
2
2
  Name: typecast-python
3
- Version: 0.4.1
3
+ Version: 0.5.1
4
4
  Summary: Official Typecast Python SDK - Convert text to lifelike speech using AI-powered voices
5
5
  Project-URL: Homepage, https://typecast.ai
6
6
  Project-URL: Documentation, https://typecast.ai/docs/overview
@@ -217,18 +217,18 @@ Classifier: Intended Audience :: Developers
217
217
  Classifier: License :: OSI Approved :: Apache Software License
218
218
  Classifier: Operating System :: OS Independent
219
219
  Classifier: Programming Language :: Python :: 3
220
- Classifier: Programming Language :: Python :: 3.10
221
220
  Classifier: Programming Language :: Python :: 3.11
222
221
  Classifier: Programming Language :: Python :: 3.12
223
222
  Classifier: Programming Language :: Python :: 3.13
224
223
  Classifier: Programming Language :: Python :: 3.14
225
224
  Classifier: Topic :: Multimedia :: Sound/Audio :: Speech
226
225
  Classifier: Topic :: Software Development :: Libraries :: Python Modules
227
- Requires-Python: <3.15,>=3.10
226
+ Requires-Python: <3.15,>=3.11
228
227
  Requires-Dist: aiohttp>=3.14.1
229
228
  Requires-Dist: pydantic>=2.0.0
230
229
  Requires-Dist: requests>=2.33.0
231
230
  Requires-Dist: typing-extensions>=4.0.0
231
+ Requires-Dist: urllib3>=2.8.0
232
232
  Provides-Extra: dev
233
233
  Requires-Dist: aioresponses>=0.7.6; extra == 'dev'
234
234
  Requires-Dist: black<27.0.0,>=26.3.1; extra == 'dev'
@@ -253,7 +253,7 @@ Convert text to lifelike speech using AI-powered voices
253
253
  [![PyPI version](https://img.shields.io/pypi/v/typecast-python.svg?style=flat-square)](https://pypi.org/project/typecast-python/)
254
254
  [![coverage](https://img.shields.io/badge/coverage-100%25-brightgreen.svg?style=flat-square)](../docs/coverage-policy.md)
255
255
  [![License](https://img.shields.io/badge/license-Apache--2.0-blue.svg?style=flat-square)](LICENSE)
256
- [![Python](https://img.shields.io/badge/Python-3.10--3.14-3776ab.svg?style=flat-square&logo=python&logoColor=white)](https://www.python.org/)
256
+ [![Python](https://img.shields.io/badge/Python-3.11--3.14-3776ab.svg?style=flat-square&logo=python&logoColor=white)](https://www.python.org/)
257
257
 
258
258
  [Documentation](https://typecast.ai/docs) | [API Reference](https://typecast.ai/docs/api-reference) | [Get API Key](https://typecast.ai/developers/api/api-key)
259
259
 
@@ -281,7 +281,7 @@ Convert text to lifelike speech using AI-powered voices
281
281
 
282
282
  ## Installation
283
283
 
284
- Python 3.10 through 3.14 is required. Python 3.8 and 3.9 are no longer supported because they are end-of-life. Version 0.3.15 is the last compatible published release. Upgrade Python and recreate your virtual environment before installing 0.4.0. A temporary `typecast-python==0.3.15` pin does not restore security support for an EOL runtime.
284
+ Python 3.11 through 3.14 is required. Python 3.8, 3.9, and 3.10 are no longer supported because they are end-of-life. The last compatible published releases are 0.3.15 for Python 3.8/3.9 and 0.4.1 for Python 3.10. Upgrade Python and recreate your virtual environment before installing 0.5.1. Temporarily pinning an older release does not restore security support for an EOL runtime.
285
285
 
286
286
  ```bash
287
287
  pip install typecast-python
@@ -373,7 +373,6 @@ response = client.text_to_speech(TTSRequest(
373
373
  audio_tempo=1.2, # 0.5x to 2.0x
374
374
  audio_format="mp3" # "wav" or "mp3"
375
375
  ),
376
- seed=42 # for reproducible results
377
376
  ))
378
377
  ```
379
378
 
@@ -9,7 +9,7 @@ Convert text to lifelike speech using AI-powered voices
9
9
  [![PyPI version](https://img.shields.io/pypi/v/typecast-python.svg?style=flat-square)](https://pypi.org/project/typecast-python/)
10
10
  [![coverage](https://img.shields.io/badge/coverage-100%25-brightgreen.svg?style=flat-square)](../docs/coverage-policy.md)
11
11
  [![License](https://img.shields.io/badge/license-Apache--2.0-blue.svg?style=flat-square)](LICENSE)
12
- [![Python](https://img.shields.io/badge/Python-3.10--3.14-3776ab.svg?style=flat-square&logo=python&logoColor=white)](https://www.python.org/)
12
+ [![Python](https://img.shields.io/badge/Python-3.11--3.14-3776ab.svg?style=flat-square&logo=python&logoColor=white)](https://www.python.org/)
13
13
 
14
14
  [Documentation](https://typecast.ai/docs) | [API Reference](https://typecast.ai/docs/api-reference) | [Get API Key](https://typecast.ai/developers/api/api-key)
15
15
 
@@ -37,7 +37,7 @@ Convert text to lifelike speech using AI-powered voices
37
37
 
38
38
  ## Installation
39
39
 
40
- Python 3.10 through 3.14 is required. Python 3.8 and 3.9 are no longer supported because they are end-of-life. Version 0.3.15 is the last compatible published release. Upgrade Python and recreate your virtual environment before installing 0.4.0. A temporary `typecast-python==0.3.15` pin does not restore security support for an EOL runtime.
40
+ Python 3.11 through 3.14 is required. Python 3.8, 3.9, and 3.10 are no longer supported because they are end-of-life. The last compatible published releases are 0.3.15 for Python 3.8/3.9 and 0.4.1 for Python 3.10. Upgrade Python and recreate your virtual environment before installing 0.5.1. Temporarily pinning an older release does not restore security support for an EOL runtime.
41
41
 
42
42
  ```bash
43
43
  pip install typecast-python
@@ -129,7 +129,6 @@ response = client.text_to_speech(TTSRequest(
129
129
  audio_tempo=1.2, # 0.5x to 2.0x
130
130
  audio_format="mp3" # "wav" or "mp3"
131
131
  ),
132
- seed=42 # for reproducible results
133
132
  ))
134
133
  ```
135
134
 
@@ -4,7 +4,7 @@ build-backend = "hatchling.build"
4
4
 
5
5
  [project]
6
6
  name = "typecast-python"
7
- version = "0.4.1"
7
+ version = "0.5.1"
8
8
  description = "Official Typecast Python SDK - Convert text to lifelike speech using AI-powered voices"
9
9
  authors = [
10
10
  {name = "Neosapience", email = "help@typecast.ai"}
@@ -14,14 +14,13 @@ maintainers = [
14
14
  ]
15
15
  license = {file = "LICENSE"}
16
16
  readme = "README.md"
17
- requires-python = ">=3.10,<3.15"
17
+ requires-python = ">=3.11,<3.15"
18
18
  keywords = ["typecast", "tts", "text-to-speech", "ai", "voice", "audio", "speech-synthesis", "voice-generation"]
19
19
  classifiers = [
20
20
  "Development Status :: 3 - Alpha",
21
21
  "Intended Audience :: Developers",
22
22
  "License :: OSI Approved :: Apache Software License",
23
23
  "Programming Language :: Python :: 3",
24
- "Programming Language :: Python :: 3.10",
25
24
  "Programming Language :: Python :: 3.11",
26
25
  "Programming Language :: Python :: 3.12",
27
26
  "Programming Language :: Python :: 3.13",
@@ -33,6 +32,7 @@ classifiers = [
33
32
  dependencies = [
34
33
  "aiohttp>=3.14.1",
35
34
  "requests>=2.33.0",
35
+ "urllib3>=2.8.0",
36
36
  "pydantic>=2.0.0",
37
37
  "typing-extensions>=4.0.0",
38
38
  ]
@@ -80,7 +80,7 @@ exclude = [
80
80
 
81
81
  [tool.black]
82
82
  line-length = 88
83
- target-version = ['py310']
83
+ target-version = ['py311']
84
84
  include = '\.pyi?$'
85
85
 
86
86
  [tool.isort]
@@ -180,7 +180,7 @@ class TTSRequest(BaseModel):
180
180
  )
181
181
  prompt: Optional[TTSPrompt] = None
182
182
  output: Optional[Output] = None
183
- seed: Optional[int] = None
183
+ seed: Optional[int] = Field(default=None, exclude=True, deprecated="Ignored; seed is no longer supported")
184
184
 
185
185
 
186
186
  class TTSResponse(BaseModel):
@@ -241,7 +241,7 @@ class TTSRequestStream(BaseModel):
241
241
  )
242
242
  prompt: Optional[TTSPrompt] = None
243
243
  output: Optional[OutputStream] = None
244
- seed: Optional[int] = None
244
+ seed: Optional[int] = Field(default=None, exclude=True, deprecated="Ignored; seed is no longer supported")
245
245
 
246
246
 
247
247
  class AlignmentSegmentWord(BaseModel):
@@ -296,7 +296,7 @@ class TTSRequestWithTimestamps(BaseModel):
296
296
  )
297
297
  prompt: Optional[TTSPrompt] = None
298
298
  output: Optional[Output] = None
299
- seed: Optional[int] = None
299
+ seed: Optional[int] = Field(default=None, exclude=True, deprecated="Ignored; seed is no longer supported")
300
300
 
301
301
 
302
302
  # --- timestamp captioning helpers (module-level, shared by SRT/VTT) ---
File without changes