typecast-python 0.3.12__tar.gz → 0.3.13__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.
- {typecast_python-0.3.12 → typecast_python-0.3.13}/PKG-INFO +1 -1
- {typecast_python-0.3.12 → typecast_python-0.3.13}/pyproject.toml +1 -1
- {typecast_python-0.3.12 → typecast_python-0.3.13}/src/typecast/_user_agent.py +4 -2
- {typecast_python-0.3.12 → typecast_python-0.3.13}/src/typecast/async_client.py +1 -1
- {typecast_python-0.3.12 → typecast_python-0.3.13}/src/typecast/client.py +1 -1
- {typecast_python-0.3.12 → typecast_python-0.3.13}/.gitignore +0 -0
- {typecast_python-0.3.12 → typecast_python-0.3.13}/LICENSE +0 -0
- {typecast_python-0.3.12 → typecast_python-0.3.13}/README.md +0 -0
- {typecast_python-0.3.12 → typecast_python-0.3.13}/src/typecast/__init__.py +0 -0
- {typecast_python-0.3.12 → typecast_python-0.3.13}/src/typecast/_httpx_compat.py +0 -0
- {typecast_python-0.3.12 → typecast_python-0.3.13}/src/typecast/_voice_clone.py +0 -0
- {typecast_python-0.3.12 → typecast_python-0.3.13}/src/typecast/composer.py +0 -0
- {typecast_python-0.3.12 → typecast_python-0.3.13}/src/typecast/conf.py +0 -0
- {typecast_python-0.3.12 → typecast_python-0.3.13}/src/typecast/exceptions.py +0 -0
- {typecast_python-0.3.12 → typecast_python-0.3.13}/src/typecast/models/__init__.py +0 -0
- {typecast_python-0.3.12 → typecast_python-0.3.13}/src/typecast/models/error.py +0 -0
- {typecast_python-0.3.12 → typecast_python-0.3.13}/src/typecast/models/subscription.py +0 -0
- {typecast_python-0.3.12 → typecast_python-0.3.13}/src/typecast/models/tts.py +0 -0
- {typecast_python-0.3.12 → typecast_python-0.3.13}/src/typecast/models/voices.py +0 -0
- {typecast_python-0.3.12 → typecast_python-0.3.13}/src/typecast/utils.py +0 -0
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
Metadata-Version: 2.5
|
|
2
2
|
Name: typecast-python
|
|
3
|
-
Version: 0.3.
|
|
3
|
+
Version: 0.3.13
|
|
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
|
|
@@ -4,7 +4,7 @@ build-backend = "hatchling.build"
|
|
|
4
4
|
|
|
5
5
|
[project]
|
|
6
6
|
name = "typecast-python"
|
|
7
|
-
version = "0.3.
|
|
7
|
+
version = "0.3.13"
|
|
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"}
|
|
@@ -19,10 +19,12 @@ def attribution_suffix(
|
|
|
19
19
|
if (
|
|
20
20
|
not isinstance(source, str)
|
|
21
21
|
or not isinstance(generated_by, str)
|
|
22
|
-
or source not in {"llms", "skill"}
|
|
22
|
+
or source not in {"llms", "skill", "api-page", "api-docs"}
|
|
23
23
|
or not generated_by
|
|
24
24
|
):
|
|
25
|
-
raise ValueError(
|
|
25
|
+
raise ValueError(
|
|
26
|
+
"source (llms, skill, api-page, or api-docs) and generated_by must be provided together"
|
|
27
|
+
)
|
|
26
28
|
if not _GENERATED_BY_PATTERN.fullmatch(generated_by):
|
|
27
29
|
raise ValueError("generated_by must be a lowercase token of at most 32 characters")
|
|
28
30
|
return f" typecast-integration/1 (source={source}; generated_by={generated_by})"
|
|
@@ -90,7 +90,7 @@ class AsyncTypecast:
|
|
|
90
90
|
__aenter__ will not create a new session and __aexit__ will not close it
|
|
91
91
|
(the caller owns its lifecycle). Auth headers (`X-API-KEY`, `User-Agent`)
|
|
92
92
|
are attached per-request via `_request_headers()`.
|
|
93
|
-
source: Integration source,
|
|
93
|
+
source: Integration source: 'llms', 'skill', 'api-page', or 'api-docs'.
|
|
94
94
|
generated_by: Lowercase token identifying the coding agent.
|
|
95
95
|
|
|
96
96
|
Raises:
|
|
@@ -124,7 +124,7 @@ class Typecast:
|
|
|
124
124
|
the client will not create a new session nor close it; auth headers
|
|
125
125
|
(`X-API-KEY`, `User-Agent`) are attached per-request via
|
|
126
126
|
`_request_headers()`.
|
|
127
|
-
source: Integration source,
|
|
127
|
+
source: Integration source: 'llms', 'skill', 'api-page', or 'api-docs'.
|
|
128
128
|
generated_by: Lowercase token identifying the coding agent.
|
|
129
129
|
|
|
130
130
|
Raises:
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|