speechify-api 1.2.2__tar.gz → 1.2.3__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 (71) hide show
  1. {speechify_api-1.2.2 → speechify_api-1.2.3}/PKG-INFO +16 -2
  2. {speechify_api-1.2.2 → speechify_api-1.2.3}/README.md +15 -1
  3. {speechify_api-1.2.2 → speechify_api-1.2.3}/pyproject.toml +3 -3
  4. {speechify_api-1.2.2 → speechify_api-1.2.3}/src/speechify/core/client_wrapper.py +1 -1
  5. {speechify_api-1.2.2 → speechify_api-1.2.3}/src/speechify/environment.py +1 -1
  6. {speechify_api-1.2.2 → speechify_api-1.2.3}/src/speechify/tts/audio/client.py +12 -12
  7. {speechify_api-1.2.2 → speechify_api-1.2.3}/src/speechify/__init__.py +0 -0
  8. {speechify_api-1.2.2 → speechify_api-1.2.3}/src/speechify/api/__init__.py +0 -0
  9. {speechify_api-1.2.2 → speechify_api-1.2.3}/src/speechify/api/types/__init__.py +0 -0
  10. {speechify_api-1.2.2 → speechify_api-1.2.3}/src/speechify/api/types/audio_stream_request_accept.py +0 -0
  11. {speechify_api-1.2.2 → speechify_api-1.2.3}/src/speechify/client.py +0 -0
  12. {speechify_api-1.2.2 → speechify_api-1.2.3}/src/speechify/core/__init__.py +0 -0
  13. {speechify_api-1.2.2 → speechify_api-1.2.3}/src/speechify/core/api_error.py +0 -0
  14. {speechify_api-1.2.2 → speechify_api-1.2.3}/src/speechify/core/datetime_utils.py +0 -0
  15. {speechify_api-1.2.2 → speechify_api-1.2.3}/src/speechify/core/file.py +0 -0
  16. {speechify_api-1.2.2 → speechify_api-1.2.3}/src/speechify/core/http_client.py +0 -0
  17. {speechify_api-1.2.2 → speechify_api-1.2.3}/src/speechify/core/jsonable_encoder.py +0 -0
  18. {speechify_api-1.2.2 → speechify_api-1.2.3}/src/speechify/core/pydantic_utilities.py +0 -0
  19. {speechify_api-1.2.2 → speechify_api-1.2.3}/src/speechify/core/query_encoder.py +0 -0
  20. {speechify_api-1.2.2 → speechify_api-1.2.3}/src/speechify/core/remove_none_from_dict.py +0 -0
  21. {speechify_api-1.2.2 → speechify_api-1.2.3}/src/speechify/core/request_options.py +0 -0
  22. {speechify_api-1.2.2 → speechify_api-1.2.3}/src/speechify/core/serialization.py +0 -0
  23. {speechify_api-1.2.2 → speechify_api-1.2.3}/src/speechify/py.typed +0 -0
  24. {speechify_api-1.2.2 → speechify_api-1.2.3}/src/speechify/tts/__init__.py +0 -0
  25. {speechify_api-1.2.2 → speechify_api-1.2.3}/src/speechify/tts/audio/__init__.py +0 -0
  26. {speechify_api-1.2.2 → speechify_api-1.2.3}/src/speechify/tts/audio/types/__init__.py +0 -0
  27. {speechify_api-1.2.2 → speechify_api-1.2.3}/src/speechify/tts/audio/types/audio_stream_request_accept.py +0 -0
  28. {speechify_api-1.2.2 → speechify_api-1.2.3}/src/speechify/tts/audio/types/get_speech_request_audio_format.py +0 -0
  29. {speechify_api-1.2.2 → speechify_api-1.2.3}/src/speechify/tts/audio/types/get_speech_request_model.py +0 -0
  30. {speechify_api-1.2.2 → speechify_api-1.2.3}/src/speechify/tts/audio/types/get_stream_request_model.py +0 -0
  31. {speechify_api-1.2.2 → speechify_api-1.2.3}/src/speechify/tts/auth/__init__.py +0 -0
  32. {speechify_api-1.2.2 → speechify_api-1.2.3}/src/speechify/tts/auth/client.py +0 -0
  33. {speechify_api-1.2.2 → speechify_api-1.2.3}/src/speechify/tts/auth/types/__init__.py +0 -0
  34. {speechify_api-1.2.2 → speechify_api-1.2.3}/src/speechify/tts/auth/types/create_access_token_request_scope.py +0 -0
  35. {speechify_api-1.2.2 → speechify_api-1.2.3}/src/speechify/tts/client.py +0 -0
  36. {speechify_api-1.2.2 → speechify_api-1.2.3}/src/speechify/tts/errors/__init__.py +0 -0
  37. {speechify_api-1.2.2 → speechify_api-1.2.3}/src/speechify/tts/errors/bad_request_error.py +0 -0
  38. {speechify_api-1.2.2 → speechify_api-1.2.3}/src/speechify/tts/errors/forbidden_error.py +0 -0
  39. {speechify_api-1.2.2 → speechify_api-1.2.3}/src/speechify/tts/errors/internal_server_error.py +0 -0
  40. {speechify_api-1.2.2 → speechify_api-1.2.3}/src/speechify/tts/errors/not_found_error.py +0 -0
  41. {speechify_api-1.2.2 → speechify_api-1.2.3}/src/speechify/tts/errors/payment_required_error.py +0 -0
  42. {speechify_api-1.2.2 → speechify_api-1.2.3}/src/speechify/tts/errors/unauthorized_error.py +0 -0
  43. {speechify_api-1.2.2 → speechify_api-1.2.3}/src/speechify/tts/types/__init__.py +0 -0
  44. {speechify_api-1.2.2 → speechify_api-1.2.3}/src/speechify/tts/types/access_token.py +0 -0
  45. {speechify_api-1.2.2 → speechify_api-1.2.3}/src/speechify/tts/types/access_token_scope.py +0 -0
  46. {speechify_api-1.2.2 → speechify_api-1.2.3}/src/speechify/tts/types/api_key.py +0 -0
  47. {speechify_api-1.2.2 → speechify_api-1.2.3}/src/speechify/tts/types/create_voice_language.py +0 -0
  48. {speechify_api-1.2.2 → speechify_api-1.2.3}/src/speechify/tts/types/create_voice_model.py +0 -0
  49. {speechify_api-1.2.2 → speechify_api-1.2.3}/src/speechify/tts/types/create_voice_model_name.py +0 -0
  50. {speechify_api-1.2.2 → speechify_api-1.2.3}/src/speechify/tts/types/created_voice.py +0 -0
  51. {speechify_api-1.2.2 → speechify_api-1.2.3}/src/speechify/tts/types/created_voice_gender.py +0 -0
  52. {speechify_api-1.2.2 → speechify_api-1.2.3}/src/speechify/tts/types/created_voice_type.py +0 -0
  53. {speechify_api-1.2.2 → speechify_api-1.2.3}/src/speechify/tts/types/get_speech_options_request.py +0 -0
  54. {speechify_api-1.2.2 → speechify_api-1.2.3}/src/speechify/tts/types/get_speech_response.py +0 -0
  55. {speechify_api-1.2.2 → speechify_api-1.2.3}/src/speechify/tts/types/get_speech_response_audio_format.py +0 -0
  56. {speechify_api-1.2.2 → speechify_api-1.2.3}/src/speechify/tts/types/get_stream_options_request.py +0 -0
  57. {speechify_api-1.2.2 → speechify_api-1.2.3}/src/speechify/tts/types/get_voice.py +0 -0
  58. {speechify_api-1.2.2 → speechify_api-1.2.3}/src/speechify/tts/types/get_voice_gender.py +0 -0
  59. {speechify_api-1.2.2 → speechify_api-1.2.3}/src/speechify/tts/types/get_voice_language.py +0 -0
  60. {speechify_api-1.2.2 → speechify_api-1.2.3}/src/speechify/tts/types/get_voice_type.py +0 -0
  61. {speechify_api-1.2.2 → speechify_api-1.2.3}/src/speechify/tts/types/get_voices_model.py +0 -0
  62. {speechify_api-1.2.2 → speechify_api-1.2.3}/src/speechify/tts/types/get_voices_model_name.py +0 -0
  63. {speechify_api-1.2.2 → speechify_api-1.2.3}/src/speechify/tts/types/nested_chunk.py +0 -0
  64. {speechify_api-1.2.2 → speechify_api-1.2.3}/src/speechify/tts/types/o_auth_error.py +0 -0
  65. {speechify_api-1.2.2 → speechify_api-1.2.3}/src/speechify/tts/types/o_auth_error_error.py +0 -0
  66. {speechify_api-1.2.2 → speechify_api-1.2.3}/src/speechify/tts/types/speech_marks.py +0 -0
  67. {speechify_api-1.2.2 → speechify_api-1.2.3}/src/speechify/tts/voices/__init__.py +0 -0
  68. {speechify_api-1.2.2 → speechify_api-1.2.3}/src/speechify/tts/voices/client.py +0 -0
  69. {speechify_api-1.2.2 → speechify_api-1.2.3}/src/speechify/tts/voices/types/__init__.py +0 -0
  70. {speechify_api-1.2.2 → speechify_api-1.2.3}/src/speechify/tts/voices/types/voices_create_request_gender.py +0 -0
  71. {speechify_api-1.2.2 → speechify_api-1.2.3}/src/speechify/version.py +0 -0
@@ -1,6 +1,6 @@
1
1
  Metadata-Version: 2.1
2
2
  Name: speechify-api
3
- Version: 1.2.2
3
+ Version: 1.2.3
4
4
  Summary: Official Speechify API SDK
5
5
  Keywords: speechify,ai,api,sdk,text-to-speech,tts
6
6
  Author: Speechify
@@ -34,9 +34,23 @@ Description-Content-Type: text/markdown
34
34
 
35
35
  The Speechifyinc Python library provides convenient access to the Speechifyinc APIs from Python.
36
36
 
37
+ ## Table of Contents
38
+
39
+ - [Documentation](#documentation)
40
+ - [Installation](#installation)
41
+ - [Reference](#reference)
42
+ - [Usage](#usage)
43
+ - [Async Client](#async-client)
44
+ - [Exception Handling](#exception-handling)
45
+ - [Advanced](#advanced)
46
+ - [Retries](#retries)
47
+ - [Timeouts](#timeouts)
48
+ - [Custom Client](#custom-client)
49
+ - [Contributing](#contributing)
50
+
37
51
  ## Documentation
38
52
 
39
- API reference documentation is available [here](https://docs.sws.speechify.com/api-reference).
53
+ API reference documentation is available [here](https://docs.speechify.ai/api-reference).
40
54
 
41
55
  ## Installation
42
56
 
@@ -5,9 +5,23 @@
5
5
 
6
6
  The Speechifyinc Python library provides convenient access to the Speechifyinc APIs from Python.
7
7
 
8
+ ## Table of Contents
9
+
10
+ - [Documentation](#documentation)
11
+ - [Installation](#installation)
12
+ - [Reference](#reference)
13
+ - [Usage](#usage)
14
+ - [Async Client](#async-client)
15
+ - [Exception Handling](#exception-handling)
16
+ - [Advanced](#advanced)
17
+ - [Retries](#retries)
18
+ - [Timeouts](#timeouts)
19
+ - [Custom Client](#custom-client)
20
+ - [Contributing](#contributing)
21
+
8
22
  ## Documentation
9
23
 
10
- API reference documentation is available [here](https://docs.sws.speechify.com/api-reference).
24
+ API reference documentation is available [here](https://docs.speechify.ai/api-reference).
11
25
 
12
26
  ## Installation
13
27
 
@@ -3,7 +3,7 @@ name = "speechify-api"
3
3
 
4
4
  [tool.poetry]
5
5
  name = "speechify-api"
6
- version = "1.2.2"
6
+ version = "1.2.3"
7
7
  description = "Official Speechify API SDK"
8
8
  readme = "README.md"
9
9
  authors = [
@@ -40,8 +40,8 @@ packages = [
40
40
  ]
41
41
 
42
42
  [project.urls]
43
- Documentation = 'https://docs.sws.speechify.com/api-reference'
44
- Homepage = 'https://docs.sws.speechify.com'
43
+ Documentation = 'https://docs.speechify.ai/api-reference'
44
+ Homepage = 'https://docs.speechify.ai'
45
45
  Repository = 'https://github.com/speechifyinc/speechify-api-sdk-python'
46
46
 
47
47
  [tool.poetry.dependencies]
@@ -22,7 +22,7 @@ class BaseClientWrapper:
22
22
  headers: typing.Dict[str, str] = {
23
23
  "X-Fern-Language": "Python",
24
24
  "X-Fern-SDK-Name": "speechify-api",
25
- "X-Fern-SDK-Version": "1.2.2",
25
+ "X-Fern-SDK-Version": "1.2.3",
26
26
  }
27
27
  headers["Authorization"] = f"Bearer {self._get_token()}"
28
28
  return headers
@@ -4,4 +4,4 @@ import enum
4
4
 
5
5
 
6
6
  class SpeechifyEnvironment(enum.Enum):
7
- DEFAULT = "https://api.sws.speechify.com"
7
+ DEFAULT = "https://api.speechify.ai"
@@ -47,8 +47,8 @@ class AudioClient:
47
47
  ----------
48
48
  input : str
49
49
  Plain text or SSML to be synthesized to speech.
50
- Refer to https://docs.sws.speechify.com/docs/api-limits for the input size limits.
51
- Emotion, Pitch and Speed Rate are configured in the ssml input, please refer to the ssml documentation for more information: https://docs.sws.speechify.com/docs/ssml#prosody
50
+ Refer to https://docs.speechify.ai/docs/api-limits for the input size limits.
51
+ Emotion, Pitch and Speed Rate are configured in the ssml input, please refer to the ssml documentation for more information: https://docs.speechify.ai/docs/ssml#prosody
52
52
 
53
53
  voice_id : str
54
54
  Id of the voice to be used for synthesizing speech. Refer to /v1/voices endpoint for available voices
@@ -58,7 +58,7 @@ class AudioClient:
58
58
 
59
59
  language : typing.Optional[str]
60
60
  Language of the input. Follow the format of an ISO 639-1 language code and an ISO 3166-1 region code, separated by a hyphen, e.g. en-US.
61
- Please refer to the list of the supported languages and recommendations regarding this parameter: https://docs.sws.speechify.com/docs/language-support.
61
+ Please refer to the list of the supported languages and recommendations regarding this parameter: https://docs.speechify.ai/docs/language-support.
62
62
 
63
63
  model : typing.Optional[GetSpeechRequestModel]
64
64
  Model used for audio synthesis. `simba-base` and `simba-turbo` are deprecated. Use `simba-english` or `simba-multilingual` instead.
@@ -188,15 +188,15 @@ class AudioClient:
188
188
 
189
189
  input : str
190
190
  Plain text or SSML to be synthesized to speech.
191
- Refer to https://docs.sws.speechify.com/docs/api-limits for the input size limits.
192
- Emotion, Pitch and Speed Rate are configured in the ssml input, please refer to the ssml documentation for more information: https://docs.sws.speechify.com/docs/ssml#prosody
191
+ Refer to https://docs.speechify.ai/docs/api-limits for the input size limits.
192
+ Emotion, Pitch and Speed Rate are configured in the ssml input, please refer to the ssml documentation for more information: https://docs.speechify.ai/docs/ssml#prosody
193
193
 
194
194
  voice_id : str
195
195
  Id of the voice to be used for synthesizing speech. Refer to /v1/voices endpoint for available voices
196
196
 
197
197
  language : typing.Optional[str]
198
198
  Language of the input. Follow the format of an ISO 639-1 language code and an ISO 3166-1 region code, separated by a hyphen, e.g. en-US.
199
- Please refer to the list of the supported languages and recommendations regarding this parameter: https://docs.sws.speechify.com/docs/language-support.
199
+ Please refer to the list of the supported languages and recommendations regarding this parameter: https://docs.speechify.ai/docs/language-support.
200
200
 
201
201
  model : typing.Optional[GetStreamRequestModel]
202
202
  Model used for audio synthesis. `simba-base` and `simba-turbo` are deprecated. Use `simba-english` or `simba-multilingual` instead.
@@ -315,8 +315,8 @@ class AsyncAudioClient:
315
315
  ----------
316
316
  input : str
317
317
  Plain text or SSML to be synthesized to speech.
318
- Refer to https://docs.sws.speechify.com/docs/api-limits for the input size limits.
319
- Emotion, Pitch and Speed Rate are configured in the ssml input, please refer to the ssml documentation for more information: https://docs.sws.speechify.com/docs/ssml#prosody
318
+ Refer to https://docs.speechify.ai/docs/api-limits for the input size limits.
319
+ Emotion, Pitch and Speed Rate are configured in the ssml input, please refer to the ssml documentation for more information: https://docs.speechify.ai/docs/ssml#prosody
320
320
 
321
321
  voice_id : str
322
322
  Id of the voice to be used for synthesizing speech. Refer to /v1/voices endpoint for available voices
@@ -326,7 +326,7 @@ class AsyncAudioClient:
326
326
 
327
327
  language : typing.Optional[str]
328
328
  Language of the input. Follow the format of an ISO 639-1 language code and an ISO 3166-1 region code, separated by a hyphen, e.g. en-US.
329
- Please refer to the list of the supported languages and recommendations regarding this parameter: https://docs.sws.speechify.com/docs/language-support.
329
+ Please refer to the list of the supported languages and recommendations regarding this parameter: https://docs.speechify.ai/docs/language-support.
330
330
 
331
331
  model : typing.Optional[GetSpeechRequestModel]
332
332
  Model used for audio synthesis. `simba-base` and `simba-turbo` are deprecated. Use `simba-english` or `simba-multilingual` instead.
@@ -464,15 +464,15 @@ class AsyncAudioClient:
464
464
 
465
465
  input : str
466
466
  Plain text or SSML to be synthesized to speech.
467
- Refer to https://docs.sws.speechify.com/docs/api-limits for the input size limits.
468
- Emotion, Pitch and Speed Rate are configured in the ssml input, please refer to the ssml documentation for more information: https://docs.sws.speechify.com/docs/ssml#prosody
467
+ Refer to https://docs.speechify.ai/docs/api-limits for the input size limits.
468
+ Emotion, Pitch and Speed Rate are configured in the ssml input, please refer to the ssml documentation for more information: https://docs.speechify.ai/docs/ssml#prosody
469
469
 
470
470
  voice_id : str
471
471
  Id of the voice to be used for synthesizing speech. Refer to /v1/voices endpoint for available voices
472
472
 
473
473
  language : typing.Optional[str]
474
474
  Language of the input. Follow the format of an ISO 639-1 language code and an ISO 3166-1 region code, separated by a hyphen, e.g. en-US.
475
- Please refer to the list of the supported languages and recommendations regarding this parameter: https://docs.sws.speechify.com/docs/language-support.
475
+ Please refer to the list of the supported languages and recommendations regarding this parameter: https://docs.speechify.ai/docs/language-support.
476
476
 
477
477
  model : typing.Optional[GetStreamRequestModel]
478
478
  Model used for audio synthesis. `simba-base` and `simba-turbo` are deprecated. Use `simba-english` or `simba-multilingual` instead.