pipecat-respeecher 0.1.0__tar.gz → 0.1.2__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. pipecat_respeecher-0.1.2/CHANGELOG.md +24 -0
  2. {pipecat_respeecher-0.1.0/src/pipecat_respeecher.egg-info → pipecat_respeecher-0.1.2}/PKG-INFO +17 -5
  3. {pipecat_respeecher-0.1.0 → pipecat_respeecher-0.1.2}/README.md +12 -1
  4. {pipecat_respeecher-0.1.0 → pipecat_respeecher-0.1.2}/example-ukrainian.py +1 -0
  5. {pipecat_respeecher-0.1.0 → pipecat_respeecher-0.1.2}/example.py +1 -0
  6. {pipecat_respeecher-0.1.0 → pipecat_respeecher-0.1.2}/pyproject.toml +5 -4
  7. {pipecat_respeecher-0.1.0 → pipecat_respeecher-0.1.2}/src/pipecat_respeecher/tts.py +9 -1
  8. {pipecat_respeecher-0.1.0 → pipecat_respeecher-0.1.2/src/pipecat_respeecher.egg-info}/PKG-INFO +17 -5
  9. {pipecat_respeecher-0.1.0 → pipecat_respeecher-0.1.2}/src/pipecat_respeecher.egg-info/SOURCES.txt +1 -0
  10. {pipecat_respeecher-0.1.0 → pipecat_respeecher-0.1.2}/uv.lock +2 -2
  11. {pipecat_respeecher-0.1.0 → pipecat_respeecher-0.1.2}/.gitignore +0 -0
  12. {pipecat_respeecher-0.1.0 → pipecat_respeecher-0.1.2}/.python-version +0 -0
  13. {pipecat_respeecher-0.1.0 → pipecat_respeecher-0.1.2}/LICENSE +0 -0
  14. {pipecat_respeecher-0.1.0 → pipecat_respeecher-0.1.2}/env.example +0 -0
  15. {pipecat_respeecher-0.1.0 → pipecat_respeecher-0.1.2}/setup.cfg +0 -0
  16. {pipecat_respeecher-0.1.0 → pipecat_respeecher-0.1.2}/src/pipecat_respeecher/__init__.py +0 -0
  17. {pipecat_respeecher-0.1.0 → pipecat_respeecher-0.1.2}/src/pipecat_respeecher.egg-info/dependency_links.txt +0 -0
  18. {pipecat_respeecher-0.1.0 → pipecat_respeecher-0.1.2}/src/pipecat_respeecher.egg-info/requires.txt +0 -0
  19. {pipecat_respeecher-0.1.0 → pipecat_respeecher-0.1.2}/src/pipecat_respeecher.egg-info/top_level.txt +0 -0
@@ -0,0 +1,24 @@
1
+ # Changelog
2
+
3
+ All notable changes to this project will be documented in this file.
4
+
5
+ The format is based on [Keep a Changelog](https://keepachangelog.com/en/1.1.0/),
6
+ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0.html).
7
+
8
+ ## [0.1.2] - 2026-01-26
9
+
10
+ ### Changed
11
+
12
+ - Made the reconnection logic more robust.
13
+
14
+ ## [0.1.1] - 2026-01-16
15
+
16
+ ### Changed
17
+
18
+ - Adjusted the README and the publishing metadata.
19
+
20
+ ## [0.1.0] - 2026-01-16
21
+
22
+ ### Added
23
+
24
+ - Initial release.
@@ -1,13 +1,14 @@
1
1
  Metadata-Version: 2.4
2
2
  Name: pipecat-respeecher
3
- Version: 0.1.0
3
+ Version: 0.1.2
4
4
  Summary: Respeecher real-time TTS plugin for Pipecat
5
5
  Author-email: Respeecher <nv@respeecher.com>
6
6
  Maintainer-email: Respeecher <nv@respeecher.com>
7
7
  License-Expression: BSD-2-Clause
8
- Project-URL: homepage, https://www.respeecher.com/real-time-tts-api
9
- Project-URL: documentation, https://space.respeecher.com/docs
10
- Project-URL: source, https://github.com/respeecher/pipecat-respeecher
8
+ Project-URL: Homepage, https://www.respeecher.com/real-time-tts-api
9
+ Project-URL: Documentation, https://space.respeecher.com/docs
10
+ Project-URL: Source, https://github.com/respeecher/pipecat-respeecher
11
+ Project-URL: Changelog, https://github.com/respeecher/pipecat-respeecher/blob/main/CHANGELOG.md
11
12
  Keywords: tts,pipecat-ai,pipecat
12
13
  Classifier: Intended Audience :: Developers
13
14
  Classifier: Operating System :: OS Independent
@@ -25,6 +26,8 @@ Dynamic: license-file
25
26
 
26
27
  # Pipecat Respeecher Real-Time TTS Integration
27
28
 
29
+ [![PyPI - Version](https://img.shields.io/pypi/v/pipecat-respeecher)](https://pypi.python.org/pypi/pipecat-respeecher)
30
+
28
31
  This is an official Respeecher integration for [Pipecat](https://pipecat.ai).
29
32
 
30
33
  [Learn more](https://www.respeecher.com/real-time-tts-api) about our real-time TTS API
@@ -34,7 +37,9 @@ This is an official Respeecher integration for [Pipecat](https://pipecat.ai).
34
37
 
35
38
  ## Installation
36
39
 
37
- To be published.
40
+ ```
41
+ pip install pipecat-respeecher
42
+ ```
38
43
 
39
44
  ## Running the Example
40
45
 
@@ -66,6 +71,9 @@ other [supported Pipecat service](https://docs.pipecat.ai/server/services/suppor
66
71
 
67
72
  ## Example Snippets
68
73
 
74
+ **Note:** we recommend setting `audio_out_sample_rate=22050` in `PipelineParams`
75
+ like in [`example.py`](./example.py) for best results.
76
+
69
77
  ### Minimal Example
70
78
 
71
79
  ```python
@@ -108,3 +116,7 @@ tts = RespeecherTTSService(
108
116
  voice_id="olesia-conversation",
109
117
  )
110
118
  ```
119
+
120
+ ## Compatibility
121
+
122
+ This integration requires Pipecat v0.0.99 or newer and has been tested with v0.0.99.
@@ -1,5 +1,7 @@
1
1
  # Pipecat Respeecher Real-Time TTS Integration
2
2
 
3
+ [![PyPI - Version](https://img.shields.io/pypi/v/pipecat-respeecher)](https://pypi.python.org/pypi/pipecat-respeecher)
4
+
3
5
  This is an official Respeecher integration for [Pipecat](https://pipecat.ai).
4
6
 
5
7
  [Learn more](https://www.respeecher.com/real-time-tts-api) about our real-time TTS API
@@ -9,7 +11,9 @@ This is an official Respeecher integration for [Pipecat](https://pipecat.ai).
9
11
 
10
12
  ## Installation
11
13
 
12
- To be published.
14
+ ```
15
+ pip install pipecat-respeecher
16
+ ```
13
17
 
14
18
  ## Running the Example
15
19
 
@@ -41,6 +45,9 @@ other [supported Pipecat service](https://docs.pipecat.ai/server/services/suppor
41
45
 
42
46
  ## Example Snippets
43
47
 
48
+ **Note:** we recommend setting `audio_out_sample_rate=22050` in `PipelineParams`
49
+ like in [`example.py`](./example.py) for best results.
50
+
44
51
  ### Minimal Example
45
52
 
46
53
  ```python
@@ -83,3 +90,7 @@ tts = RespeecherTTSService(
83
90
  voice_id="olesia-conversation",
84
91
  )
85
92
  ```
93
+
94
+ ## Compatibility
95
+
96
+ This integration requires Pipecat v0.0.99 or newer and has been tested with v0.0.99.
@@ -148,6 +148,7 @@ async def run_bot(transport: BaseTransport, runner_args: RunnerArguments):
148
148
  params=PipelineParams(
149
149
  enable_metrics=True,
150
150
  enable_usage_metrics=True,
151
+ audio_out_sample_rate=22050,
151
152
  ),
152
153
  idle_timeout_secs=runner_args.pipeline_idle_timeout_secs,
153
154
  observers=[RTVIObserver(rtvi), whisker],
@@ -143,6 +143,7 @@ async def run_bot(transport: BaseTransport, runner_args: RunnerArguments):
143
143
  params=PipelineParams(
144
144
  enable_metrics=True,
145
145
  enable_usage_metrics=True,
146
+ audio_out_sample_rate=22050,
146
147
  ),
147
148
  idle_timeout_secs=runner_args.pipeline_idle_timeout_secs,
148
149
  observers=[RTVIObserver(rtvi), whisker],
@@ -1,6 +1,6 @@
1
1
  [project]
2
2
  name = "pipecat-respeecher"
3
- version = "0.1.0"
3
+ version = "0.1.2"
4
4
  description = "Respeecher real-time TTS plugin for Pipecat"
5
5
  license = "BSD-2-Clause"
6
6
  license-files = ["LICENSE"]
@@ -35,9 +35,10 @@ dev = [
35
35
  ]
36
36
 
37
37
  [project.urls]
38
- homepage = "https://www.respeecher.com/real-time-tts-api"
39
- documentation = "https://space.respeecher.com/docs"
40
- source = "https://github.com/respeecher/pipecat-respeecher"
38
+ Homepage = "https://www.respeecher.com/real-time-tts-api"
39
+ Documentation = "https://space.respeecher.com/docs"
40
+ Source = "https://github.com/respeecher/pipecat-respeecher"
41
+ Changelog = "https://github.com/respeecher/pipecat-respeecher/blob/main/CHANGELOG.md"
41
42
 
42
43
  [tool.ruff.lint]
43
44
  ignore = ["E402"]
@@ -198,7 +198,14 @@ class RespeecherTTSService(AudioContextTTSService, TTSService):
198
198
 
199
199
  url += f"/tts/websocket?api_key={self._api_key}"
200
200
 
201
- self._websocket = await websocket_connect(url)
201
+ self._websocket = await websocket_connect(
202
+ url,
203
+ compression=None,
204
+ ping_interval=2.5,
205
+ ping_timeout=2.5,
206
+ close_timeout=2,
207
+ )
208
+
202
209
  await self._call_event_handler("on_connected")
203
210
  except Exception as e:
204
211
  logger.error(f"{self} initialization error: {e}")
@@ -302,6 +309,7 @@ class RespeecherTTSService(AudioContextTTSService, TTSService):
302
309
  while True:
303
310
  await self._receive_messages_until_closed()
304
311
  logger.info(f"{self} Respeecher disconnected, reconnecting")
312
+ await self._disconnect_websocket()
305
313
  await self._connect_websocket()
306
314
 
307
315
  @traced_tts
@@ -1,13 +1,14 @@
1
1
  Metadata-Version: 2.4
2
2
  Name: pipecat-respeecher
3
- Version: 0.1.0
3
+ Version: 0.1.2
4
4
  Summary: Respeecher real-time TTS plugin for Pipecat
5
5
  Author-email: Respeecher <nv@respeecher.com>
6
6
  Maintainer-email: Respeecher <nv@respeecher.com>
7
7
  License-Expression: BSD-2-Clause
8
- Project-URL: homepage, https://www.respeecher.com/real-time-tts-api
9
- Project-URL: documentation, https://space.respeecher.com/docs
10
- Project-URL: source, https://github.com/respeecher/pipecat-respeecher
8
+ Project-URL: Homepage, https://www.respeecher.com/real-time-tts-api
9
+ Project-URL: Documentation, https://space.respeecher.com/docs
10
+ Project-URL: Source, https://github.com/respeecher/pipecat-respeecher
11
+ Project-URL: Changelog, https://github.com/respeecher/pipecat-respeecher/blob/main/CHANGELOG.md
11
12
  Keywords: tts,pipecat-ai,pipecat
12
13
  Classifier: Intended Audience :: Developers
13
14
  Classifier: Operating System :: OS Independent
@@ -25,6 +26,8 @@ Dynamic: license-file
25
26
 
26
27
  # Pipecat Respeecher Real-Time TTS Integration
27
28
 
29
+ [![PyPI - Version](https://img.shields.io/pypi/v/pipecat-respeecher)](https://pypi.python.org/pypi/pipecat-respeecher)
30
+
28
31
  This is an official Respeecher integration for [Pipecat](https://pipecat.ai).
29
32
 
30
33
  [Learn more](https://www.respeecher.com/real-time-tts-api) about our real-time TTS API
@@ -34,7 +37,9 @@ This is an official Respeecher integration for [Pipecat](https://pipecat.ai).
34
37
 
35
38
  ## Installation
36
39
 
37
- To be published.
40
+ ```
41
+ pip install pipecat-respeecher
42
+ ```
38
43
 
39
44
  ## Running the Example
40
45
 
@@ -66,6 +71,9 @@ other [supported Pipecat service](https://docs.pipecat.ai/server/services/suppor
66
71
 
67
72
  ## Example Snippets
68
73
 
74
+ **Note:** we recommend setting `audio_out_sample_rate=22050` in `PipelineParams`
75
+ like in [`example.py`](./example.py) for best results.
76
+
69
77
  ### Minimal Example
70
78
 
71
79
  ```python
@@ -108,3 +116,7 @@ tts = RespeecherTTSService(
108
116
  voice_id="olesia-conversation",
109
117
  )
110
118
  ```
119
+
120
+ ## Compatibility
121
+
122
+ This integration requires Pipecat v0.0.99 or newer and has been tested with v0.0.99.
@@ -1,5 +1,6 @@
1
1
  .gitignore
2
2
  .python-version
3
+ CHANGELOG.md
3
4
  LICENSE
4
5
  README.md
5
6
  env.example
@@ -740,7 +740,7 @@ name = "exceptiongroup"
740
740
  version = "1.3.1"
741
741
  source = { registry = "https://pypi.org/simple" }
742
742
  dependencies = [
743
- { name = "typing-extensions", marker = "python_full_version < '3.13'" },
743
+ { name = "typing-extensions", marker = "python_full_version < '3.11'" },
744
744
  ]
745
745
  sdist = { url = "https://files.pythonhosted.org/packages/50/79/66800aadf48771f6b62f7eb014e352e5d06856655206165d775e675a02c9/exceptiongroup-1.3.1.tar.gz", hash = "sha256:8b412432c6055b0b7d14c310000ae93352ed6754f70fa8f7c34141f91c4e3219", size = 30371, upload-time = "2025-11-21T23:01:54.787Z" }
746
746
  wheels = [
@@ -2444,7 +2444,7 @@ wheels = [
2444
2444
 
2445
2445
  [[package]]
2446
2446
  name = "pipecat-respeecher"
2447
- version = "0.1.0"
2447
+ version = "0.1.1"
2448
2448
  source = { editable = "." }
2449
2449
  dependencies = [
2450
2450
  { name = "pipecat-ai" },