typecast-python 0.5.3__py3-none-any.whl → 0.5.4__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.
typecast/_user_agent.py CHANGED
@@ -19,11 +19,11 @@ 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", "api-page", "api-docs"}
22
+ or source not in {"llms", "skill", "api-page", "api-docs", "chatgpt-plugin"}
23
23
  or not generated_by
24
24
  ):
25
25
  raise ValueError(
26
- "source (llms, skill, api-page, or api-docs) and generated_by must be provided together"
26
+ "source (llms, skill, api-page, api-docs, or chatgpt-plugin) and generated_by must be provided together"
27
27
  )
28
28
  if not _GENERATED_BY_PATTERN.fullmatch(generated_by):
29
29
  raise ValueError("generated_by must be a lowercase token of at most 32 characters")
typecast/async_client.py CHANGED
@@ -88,7 +88,7 @@ class AsyncTypecast:
88
88
  __aenter__ will not create a new session and __aexit__ will not close it
89
89
  (the caller owns its lifecycle). Auth headers (`X-API-KEY`, `User-Agent`)
90
90
  are attached per-request via `_request_headers()`.
91
- source: Integration source: 'llms', 'skill', 'api-page', or 'api-docs'.
91
+ source: Integration source: 'llms', 'skill', 'api-page', 'api-docs', or 'chatgpt-plugin'.
92
92
  generated_by: Lowercase token identifying the coding agent.
93
93
 
94
94
  Raises:
typecast/client.py CHANGED
@@ -120,7 +120,7 @@ class Typecast:
120
120
  the client will not create a new session nor close it; auth headers
121
121
  (`X-API-KEY`, `User-Agent`) are attached per-request via
122
122
  `_request_headers()`.
123
- source: Integration source: 'llms', 'skill', 'api-page', or 'api-docs'.
123
+ source: Integration source: 'llms', 'skill', 'api-page', 'api-docs', or 'chatgpt-plugin'.
124
124
  generated_by: Lowercase token identifying the coding agent.
125
125
 
126
126
  Raises:
@@ -1,6 +1,6 @@
1
1
  Metadata-Version: 2.5
2
2
  Name: typecast-python
3
- Version: 0.5.3
3
+ Version: 0.5.4
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
@@ -1,8 +1,8 @@
1
1
  typecast/__init__.py,sha256=L6m0Z1jn1UgGjPp9AFiTwhHk9DVV_B4WrLfQDEfbcZI,1093
2
- typecast/_user_agent.py,sha256=LZcGNLJ3h2tFk0wj0gS-Ci0krutzH6Aw6UjSLbzOCfU,3032
2
+ typecast/_user_agent.py,sha256=s5XIJaEFKwJtnVnJe3gcrgu10JPh1DF0oy_IUOeZRf4,3066
3
3
  typecast/_voice_clone.py,sha256=oXmi4GXvm1X3hBNumkNpEz8Pl7iDoo85wrKw_dMfqe0,3696
4
- typecast/async_client.py,sha256=5Z_32D7EeRUU1K7o8Me7yZpxDiVY-omdMpBrtBumUeA,26468
5
- typecast/client.py,sha256=umaDp0LJllVgjYnsOuLXJXBe0sxEuW0XVqATDxer5WM,25570
4
+ typecast/async_client.py,sha256=H2GxOSw-3VdxcXbof6sn5pO3l9moaehkKVKmpfRnpWg,26486
5
+ typecast/client.py,sha256=noS6XtLIj-h3yfAhByFLyOgCXnKzPrmbZ_hDDL_rnyw,25588
6
6
  typecast/composer.py,sha256=pkRSVIv99uuAwPyOXw7KSW7NAkqvAUK4hCS5pmBb7bA,7313
7
7
  typecast/conf.py,sha256=yfOHYZDvIshWWMriN5wE0GFPR8AX3zv4Rg2655OvA9Q,724
8
8
  typecast/exceptions.py,sha256=yL6NfrLed0HSG0hY3n-tc6l0YKyZ1-v6EARZvOo91E4,1575
@@ -12,7 +12,7 @@ typecast/models/error.py,sha256=XomIjx7jvlCjItqzJuCAT4mXC9jwTjxR8lLDUk6P8KA,152
12
12
  typecast/models/subscription.py,sha256=pUn8_GB_03Na0eKFCzgsTkOEs5WTFu-lAdv3NYYxX94,1049
13
13
  typecast/models/tts.py,sha256=r4kI-qXjM7IEwGA1N-wYSAhHOykdN2Td_LYG2-KuWUo,17304
14
14
  typecast/models/voices.py,sha256=L3MmlVz468_iv8t25TOAWlpQrcB9L8Wh9LGfA7sXcnc,3531
15
- typecast_python-0.5.3.dist-info/METADATA,sha256=mnaxG1Ger_rCLlTqBQY-OprcF3LCaSVY2fYo8zGCMAM,26360
16
- typecast_python-0.5.3.dist-info/WHEEL,sha256=2iZrJkDIkeDh0k9SikKMqFuRP-ua6mb4Ir1AsER4BEw,87
17
- typecast_python-0.5.3.dist-info/licenses/LICENSE,sha256=HvtJ-S89uUkuYmt-OvVk4MRxmzwtbn84__qJtSrGU2Q,11348
18
- typecast_python-0.5.3.dist-info/RECORD,,
15
+ typecast_python-0.5.4.dist-info/METADATA,sha256=UckQOPpV-zhshM1xBITbg7aquc8JzUS7bcmdG2ouy_Q,26360
16
+ typecast_python-0.5.4.dist-info/WHEEL,sha256=2iZrJkDIkeDh0k9SikKMqFuRP-ua6mb4Ir1AsER4BEw,87
17
+ typecast_python-0.5.4.dist-info/licenses/LICENSE,sha256=HvtJ-S89uUkuYmt-OvVk4MRxmzwtbn84__qJtSrGU2Q,11348
18
+ typecast_python-0.5.4.dist-info/RECORD,,