murf 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.

Potentially problematic release.


This version of murf might be problematic. Click here for more details.

Files changed (80) hide show
  1. {murf-1.2.2 → murf-1.2.3}/PKG-INFO +1 -1
  2. {murf-1.2.2 → murf-1.2.3}/pyproject.toml +1 -1
  3. {murf-1.2.2 → murf-1.2.3}/src/murf/client.py +9 -0
  4. {murf-1.2.2 → murf-1.2.3}/src/murf/core/client_wrapper.py +1 -1
  5. {murf-1.2.2 → murf-1.2.3}/src/murf/dubbing_client.py +9 -0
  6. {murf-1.2.2 → murf-1.2.3}/src/murf/text_to_speech/client.py +4 -4
  7. {murf-1.2.2 → murf-1.2.3}/src/murf/voice_changer/client.py +2 -2
  8. {murf-1.2.2 → murf-1.2.3}/LICENSE +0 -0
  9. {murf-1.2.2 → murf-1.2.3}/README.md +0 -0
  10. {murf-1.2.2 → murf-1.2.3}/src/murf/__init__.py +0 -0
  11. {murf-1.2.2 → murf-1.2.3}/src/murf/auth/__init__.py +0 -0
  12. {murf-1.2.2 → murf-1.2.3}/src/murf/auth/client.py +0 -0
  13. {murf-1.2.2 → murf-1.2.3}/src/murf/base_client.py +0 -0
  14. {murf-1.2.2 → murf-1.2.3}/src/murf/core/__init__.py +0 -0
  15. {murf-1.2.2 → murf-1.2.3}/src/murf/core/api_error.py +0 -0
  16. {murf-1.2.2 → murf-1.2.3}/src/murf/core/datetime_utils.py +0 -0
  17. {murf-1.2.2 → murf-1.2.3}/src/murf/core/file.py +0 -0
  18. {murf-1.2.2 → murf-1.2.3}/src/murf/core/http_client.py +0 -0
  19. {murf-1.2.2 → murf-1.2.3}/src/murf/core/jsonable_encoder.py +0 -0
  20. {murf-1.2.2 → murf-1.2.3}/src/murf/core/pydantic_utilities.py +0 -0
  21. {murf-1.2.2 → murf-1.2.3}/src/murf/core/query_encoder.py +0 -0
  22. {murf-1.2.2 → murf-1.2.3}/src/murf/core/remove_none_from_dict.py +0 -0
  23. {murf-1.2.2 → murf-1.2.3}/src/murf/core/request_options.py +0 -0
  24. {murf-1.2.2 → murf-1.2.3}/src/murf/core/serialization.py +0 -0
  25. {murf-1.2.2 → murf-1.2.3}/src/murf/dubbing/__init__.py +0 -0
  26. {murf-1.2.2 → murf-1.2.3}/src/murf/dubbing/client.py +0 -0
  27. {murf-1.2.2 → murf-1.2.3}/src/murf/dubbing/jobs/__init__.py +0 -0
  28. {murf-1.2.2 → murf-1.2.3}/src/murf/dubbing/jobs/client.py +0 -0
  29. {murf-1.2.2 → murf-1.2.3}/src/murf/dubbing/jobs/types/__init__.py +0 -0
  30. {murf-1.2.2 → murf-1.2.3}/src/murf/dubbing/jobs/types/jobs_create_request_priority.py +0 -0
  31. {murf-1.2.2 → murf-1.2.3}/src/murf/dubbing/jobs/types/jobs_create_with_project_id_request_priority.py +0 -0
  32. {murf-1.2.2 → murf-1.2.3}/src/murf/dubbing/languages/__init__.py +0 -0
  33. {murf-1.2.2 → murf-1.2.3}/src/murf/dubbing/languages/client.py +0 -0
  34. {murf-1.2.2 → murf-1.2.3}/src/murf/dubbing/projects/__init__.py +0 -0
  35. {murf-1.2.2 → murf-1.2.3}/src/murf/dubbing/projects/client.py +0 -0
  36. {murf-1.2.2 → murf-1.2.3}/src/murf/dubbing/projects/types/__init__.py +0 -0
  37. {murf-1.2.2 → murf-1.2.3}/src/murf/dubbing/projects/types/api_create_project_request_dubbing_type.py +0 -0
  38. {murf-1.2.2 → murf-1.2.3}/src/murf/environment.py +0 -0
  39. {murf-1.2.2 → murf-1.2.3}/src/murf/errors/__init__.py +0 -0
  40. {murf-1.2.2 → murf-1.2.3}/src/murf/errors/bad_request_error.py +0 -0
  41. {murf-1.2.2 → murf-1.2.3}/src/murf/errors/forbidden_error.py +0 -0
  42. {murf-1.2.2 → murf-1.2.3}/src/murf/errors/internal_server_error.py +0 -0
  43. {murf-1.2.2 → murf-1.2.3}/src/murf/errors/payment_required_error.py +0 -0
  44. {murf-1.2.2 → murf-1.2.3}/src/murf/errors/service_unavailable_error.py +0 -0
  45. {murf-1.2.2 → murf-1.2.3}/src/murf/errors/unauthorized_error.py +0 -0
  46. {murf-1.2.2 → murf-1.2.3}/src/murf/py.typed +0 -0
  47. {murf-1.2.2 → murf-1.2.3}/src/murf/text/__init__.py +0 -0
  48. {murf-1.2.2 → murf-1.2.3}/src/murf/text/client.py +0 -0
  49. {murf-1.2.2 → murf-1.2.3}/src/murf/text_to_speech/__init__.py +0 -0
  50. {murf-1.2.2 → murf-1.2.3}/src/murf/text_to_speech/types/__init__.py +0 -0
  51. {murf-1.2.2 → murf-1.2.3}/src/murf/text_to_speech/types/generate_speech_request_model_version.py +0 -0
  52. {murf-1.2.2 → murf-1.2.3}/src/murf/types/__init__.py +0 -0
  53. {murf-1.2.2 → murf-1.2.3}/src/murf/types/api_job_response.py +0 -0
  54. {murf-1.2.2 → murf-1.2.3}/src/murf/types/api_job_response_dubbing_type.py +0 -0
  55. {murf-1.2.2 → murf-1.2.3}/src/murf/types/api_job_response_priority.py +0 -0
  56. {murf-1.2.2 → murf-1.2.3}/src/murf/types/api_project_response.py +0 -0
  57. {murf-1.2.2 → murf-1.2.3}/src/murf/types/api_project_response_dubbing_type.py +0 -0
  58. {murf-1.2.2 → murf-1.2.3}/src/murf/types/api_voice.py +0 -0
  59. {murf-1.2.2 → murf-1.2.3}/src/murf/types/api_voice_gender.py +0 -0
  60. {murf-1.2.2 → murf-1.2.3}/src/murf/types/auth_token_response.py +0 -0
  61. {murf-1.2.2 → murf-1.2.3}/src/murf/types/character_count.py +0 -0
  62. {murf-1.2.2 → murf-1.2.3}/src/murf/types/dub_api_detail_response.py +0 -0
  63. {murf-1.2.2 → murf-1.2.3}/src/murf/types/dub_job_status_response.py +0 -0
  64. {murf-1.2.2 → murf-1.2.3}/src/murf/types/form_data_content_disposition.py +0 -0
  65. {murf-1.2.2 → murf-1.2.3}/src/murf/types/generate_speech_response.py +0 -0
  66. {murf-1.2.2 → murf-1.2.3}/src/murf/types/group_api_project_response.py +0 -0
  67. {murf-1.2.2 → murf-1.2.3}/src/murf/types/locale_response.py +0 -0
  68. {murf-1.2.2 → murf-1.2.3}/src/murf/types/locale_response_supports_item.py +0 -0
  69. {murf-1.2.2 → murf-1.2.3}/src/murf/types/metadata.py +0 -0
  70. {murf-1.2.2 → murf-1.2.3}/src/murf/types/murf_api_translation_response.py +0 -0
  71. {murf-1.2.2 → murf-1.2.3}/src/murf/types/pronunciation_detail.py +0 -0
  72. {murf-1.2.2 → murf-1.2.3}/src/murf/types/pronunciation_detail_type.py +0 -0
  73. {murf-1.2.2 → murf-1.2.3}/src/murf/types/source_locale_response.py +0 -0
  74. {murf-1.2.2 → murf-1.2.3}/src/murf/types/speech_to_speech_response.py +0 -0
  75. {murf-1.2.2 → murf-1.2.3}/src/murf/types/style_details.py +0 -0
  76. {murf-1.2.2 → murf-1.2.3}/src/murf/types/translation.py +0 -0
  77. {murf-1.2.2 → murf-1.2.3}/src/murf/types/word_duration_response.py +0 -0
  78. {murf-1.2.2 → murf-1.2.3}/src/murf/utils.py +0 -0
  79. {murf-1.2.2 → murf-1.2.3}/src/murf/version.py +0 -0
  80. {murf-1.2.2 → murf-1.2.3}/src/murf/voice_changer/__init__.py +0 -0
@@ -1,6 +1,6 @@
1
1
  Metadata-Version: 2.1
2
2
  Name: murf
3
- Version: 1.2.2
3
+ Version: 1.2.3
4
4
  Summary:
5
5
  Requires-Python: >=3.8,<4.0
6
6
  Classifier: Intended Audience :: Developers
@@ -3,7 +3,7 @@ name = "murf"
3
3
 
4
4
  [tool.poetry]
5
5
  name = "murf"
6
- version = "1.2.2"
6
+ version = "1.2.3"
7
7
  description = ""
8
8
  readme = "README.md"
9
9
  authors = []
@@ -3,6 +3,7 @@ from .environment import MurfEnvironment
3
3
  import typing
4
4
  import os
5
5
  import httpx
6
+ from .version import __version__
6
7
 
7
8
  class Murf(BaseClient):
8
9
  """
@@ -51,6 +52,10 @@ class Murf(BaseClient):
51
52
  follow_redirects: typing.Optional[bool] = True,
52
53
  httpx_client: typing.Optional[httpx.Client] = None,
53
54
  ):
55
+ default_params = {'origin': f'python_sdk_{__version__}'}
56
+ _defaulted_timeout = timeout if timeout is not None else 60 if httpx_client is None else None
57
+ httpx_client=httpx_client if httpx_client is not None else httpx.Client(params=default_params, timeout=_defaulted_timeout, follow_redirects=follow_redirects) if follow_redirects is not None else httpx.Client(params=default_params, timeout=_defaulted_timeout)
58
+
54
59
  super().__init__(
55
60
  base_url=base_url,
56
61
  environment=environment,
@@ -109,6 +114,10 @@ class AsyncMurf(AsyncBaseClient):
109
114
  follow_redirects: typing.Optional[bool] = True,
110
115
  httpx_client: typing.Optional[httpx.AsyncClient] = None,
111
116
  ):
117
+ default_params = {'origin': f'python_sdk_{__version__}'}
118
+ _defaulted_timeout = timeout if timeout is not None else 60 if httpx_client is None else None
119
+ httpx_client=httpx_client if httpx_client is not None else httpx.AsyncClient(params=default_params, timeout=_defaulted_timeout, follow_redirects=follow_redirects) if follow_redirects is not None else httpx.AsyncClient(params=default_params, timeout=_defaulted_timeout)
120
+
112
121
  super().__init__(
113
122
  base_url=base_url,
114
123
  environment=environment,
@@ -16,7 +16,7 @@ class BaseClientWrapper:
16
16
  headers: typing.Dict[str, str] = {
17
17
  "X-Fern-Language": "Python",
18
18
  "X-Fern-SDK-Name": "murf",
19
- "X-Fern-SDK-Version": "1.2.2",
19
+ "X-Fern-SDK-Version": "1.2.3",
20
20
  }
21
21
  if self._api_key is not None:
22
22
  headers["api-key"] = self._api_key
@@ -3,6 +3,7 @@ from .environment import MurfEnvironment
3
3
  import typing
4
4
  import os
5
5
  import httpx
6
+ from .version import __version__
6
7
 
7
8
  class MurfDub(BaseClient):
8
9
  """
@@ -51,6 +52,10 @@ class MurfDub(BaseClient):
51
52
  follow_redirects: typing.Optional[bool] = True,
52
53
  httpx_client: typing.Optional[httpx.Client] = None,
53
54
  ):
55
+ default_params = {'origin': f'python_sdk_{__version__}'}
56
+ _defaulted_timeout = timeout if timeout is not None else 60 if httpx_client is None else None
57
+ httpx_client=httpx_client if httpx_client is not None else httpx.Client(params=default_params, timeout=_defaulted_timeout, follow_redirects=follow_redirects) if follow_redirects is not None else httpx.Client(params=default_params, timeout=_defaulted_timeout)
58
+
54
59
  super().__init__(
55
60
  base_url=base_url,
56
61
  environment=environment,
@@ -109,6 +114,10 @@ class AsyncMurfDub(AsyncBaseClient):
109
114
  follow_redirects: typing.Optional[bool] = True,
110
115
  httpx_client: typing.Optional[httpx.AsyncClient] = None,
111
116
  ):
117
+ default_params = {'origin': f'python_sdk_{__version__}'}
118
+ _defaulted_timeout = timeout if timeout is not None else 60 if httpx_client is None else None
119
+ httpx_client=httpx_client if httpx_client is not None else httpx.AsyncClient(params=default_params, timeout=_defaulted_timeout, follow_redirects=follow_redirects) if follow_redirects is not None else httpx.AsyncClient(params=default_params, timeout=_defaulted_timeout)
120
+
112
121
  super().__init__(
113
122
  base_url=base_url,
114
123
  environment=environment,
@@ -54,7 +54,7 @@ class TextToSpeechClient:
54
54
  The text that is to be synthesised. e.g. 'Hello there [pause 1s] friend'
55
55
 
56
56
  voice_id : str
57
- Use the GET /v1/speech/voices api to find supported voiceIds.
57
+ Use the GET /v1/speech/voices API to find supported voiceIds. You can use either the voiceId (e.g. en-US-natalie) or just the voice actor's name (e.g. natalie).
58
58
 
59
59
  audio_duration : typing.Optional[float]
60
60
  This parameter allows specifying the duration (in seconds) for the generated audio. If the value is 0, this parameter will be ignored. Only available for Gen2 model.
@@ -234,7 +234,7 @@ class TextToSpeechClient:
234
234
  The text that is to be synthesised. e.g. 'Hello there [pause 1s] friend'
235
235
 
236
236
  voice_id : str
237
- Use the GET /v1/speech/voices api to find supported voiceIds.
237
+ Use the GET /v1/speech/voices API to find supported voiceIds. You can use either the voiceId (e.g. en-US-natalie) or just the voice actor's name (e.g. natalie).
238
238
 
239
239
  channel_type : typing.Optional[str]
240
240
  Valid values: STEREO, MONO
@@ -483,7 +483,7 @@ class AsyncTextToSpeechClient:
483
483
  The text that is to be synthesised. e.g. 'Hello there [pause 1s] friend'
484
484
 
485
485
  voice_id : str
486
- Use the GET /v1/speech/voices api to find supported voiceIds.
486
+ Use the GET /v1/speech/voices API to find supported voiceIds. You can use either the voiceId (e.g. en-US-natalie) or just the voice actor's name (e.g. natalie).
487
487
 
488
488
  audio_duration : typing.Optional[float]
489
489
  This parameter allows specifying the duration (in seconds) for the generated audio. If the value is 0, this parameter will be ignored. Only available for Gen2 model.
@@ -671,7 +671,7 @@ class AsyncTextToSpeechClient:
671
671
  The text that is to be synthesised. e.g. 'Hello there [pause 1s] friend'
672
672
 
673
673
  voice_id : str
674
- Use the GET /v1/speech/voices api to find supported voiceIds.
674
+ Use the GET /v1/speech/voices API to find supported voiceIds. You can use either the voiceId (e.g. en-US-natalie) or just the voice actor's name (e.g. natalie).
675
675
 
676
676
  channel_type : typing.Optional[str]
677
677
  Valid values: STEREO, MONO
@@ -109,7 +109,7 @@ class VoiceChangerClient:
109
109
  Higher values will add more variation in terms of Pause, Pitch, and Speed to the voice. Only available for Gen2 model.
110
110
 
111
111
  voice_id : typing.Optional[str]
112
- Use the GET /v1/speech/voices api to find supported voiceIds.
112
+ Use the GET /v1/speech/voices API to find supported voiceIds. You can use either the voiceId (e.g. en-US-natalie) or just the voice actor's name (e.g. natalie).
113
113
 
114
114
  request_options : typing.Optional[RequestOptions]
115
115
  Request-specific configuration.
@@ -311,7 +311,7 @@ class AsyncVoiceChangerClient:
311
311
  Higher values will add more variation in terms of Pause, Pitch, and Speed to the voice. Only available for Gen2 model.
312
312
 
313
313
  voice_id : typing.Optional[str]
314
- Use the GET /v1/speech/voices api to find supported voiceIds.
314
+ Use the GET /v1/speech/voices API to find supported voiceIds. You can use either the voiceId (e.g. en-US-natalie) or just the voice actor's name (e.g. natalie).
315
315
 
316
316
  request_options : typing.Optional[RequestOptions]
317
317
  Request-specific configuration.
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
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes