livekit-plugins-speechify 1.0.14__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.
@@ -0,0 +1,168 @@
1
+ **/.vscode
2
+ **/.DS_Store
3
+
4
+ # Byte-compiled / optimized / DLL files
5
+ __pycache__/
6
+ *.py[cod]
7
+ *$py.class
8
+
9
+ # C extensions
10
+ *.so
11
+
12
+ # Distribution / packaging
13
+ .Python
14
+ build/
15
+ develop-eggs/
16
+ dist/
17
+ downloads/
18
+ eggs/
19
+ .eggs/
20
+ lib/
21
+ lib64/
22
+ parts/
23
+ sdist/
24
+ var/
25
+ wheels/
26
+ share/python-wheels/
27
+ *.egg-info/
28
+ .installed.cfg
29
+ *.egg
30
+ MANIFEST
31
+
32
+ # PyInstaller
33
+ # Usually these files are written by a python script from a template
34
+ # before PyInstaller builds the exe, so as to inject date/other infos into it.
35
+ *.manifest
36
+ *.spec
37
+
38
+ # Installer logs
39
+ pip-log.txt
40
+ pip-delete-this-directory.txt
41
+
42
+ # Unit test / coverage reports
43
+ htmlcov/
44
+ .tox/
45
+ .nox/
46
+ .coverage
47
+ .coverage.*
48
+ .cache
49
+ nosetests.xml
50
+ coverage.xml
51
+ *.cover
52
+ *.py,cover
53
+ .hypothesis/
54
+ .pytest_cache/
55
+ cover/
56
+
57
+ # Translations
58
+ *.mo
59
+ *.pot
60
+
61
+ # Django stuff:
62
+ *.log
63
+ local_settings.py
64
+ db.sqlite3
65
+ db.sqlite3-journal
66
+
67
+ # Flask stuff:
68
+ instance/
69
+ .webassets-cache
70
+
71
+ # Scrapy stuff:
72
+ .scrapy
73
+
74
+ # Sphinx documentation
75
+ docs/_build/
76
+
77
+ # PyBuilder
78
+ .pybuilder/
79
+ target/
80
+
81
+ # Jupyter Notebook
82
+ .ipynb_checkpoints
83
+
84
+ # IPython
85
+ profile_default/
86
+ ipython_config.py
87
+
88
+ # pyenv
89
+ # For a library or package, you might want to ignore these files since the code is
90
+ # intended to run in multiple environments; otherwise, check them in:
91
+ # .python-version
92
+
93
+ # pipenv
94
+ # According to pypa/pipenv#598, it is recommended to include Pipfile.lock in version control.
95
+ # However, in case of collaboration, if having platform-specific dependencies or dependencies
96
+ # having no cross-platform support, pipenv may install dependencies that don't work, or not
97
+ # install all needed dependencies.
98
+ #Pipfile.lock
99
+
100
+ # poetry
101
+ # Similar to Pipfile.lock, it is generally recommended to include poetry.lock in version control.
102
+ # This is especially recommended for binary packages to ensure reproducibility, and is more
103
+ # commonly ignored for libraries.
104
+ # https://python-poetry.org/docs/basic-usage/#commit-your-poetrylock-file-to-version-control
105
+ #poetry.lock
106
+
107
+ # pdm
108
+ # Similar to Pipfile.lock, it is generally recommended to include pdm.lock in version control.
109
+ #pdm.lock
110
+ # pdm stores project-wide configurations in .pdm.toml, but it is recommended to not include it
111
+ # in version control.
112
+ # https://pdm.fming.dev/#use-with-ide
113
+ .pdm.toml
114
+
115
+ # PEP 582; used by e.g. github.com/David-OConnor/pyflow and github.com/pdm-project/pdm
116
+ __pypackages__/
117
+
118
+ # Celery stuff
119
+ celerybeat-schedule
120
+ celerybeat.pid
121
+
122
+ # SageMath parsed files
123
+ *.sage.py
124
+
125
+ # Environments
126
+ .env
127
+ .venv
128
+ env/
129
+ venv/
130
+ ENV/
131
+ env.bak/
132
+ venv.bak/
133
+
134
+ # Spyder project settings
135
+ .spyderproject
136
+ .spyproject
137
+
138
+ # Rope project settings
139
+ .ropeproject
140
+
141
+ # mkdocs documentation
142
+ /site
143
+
144
+ # mypy
145
+ .mypy_cache/
146
+ .dmypy.json
147
+ dmypy.json
148
+
149
+ # Pyre type checker
150
+ .pyre/
151
+
152
+ # pytype static type analyzer
153
+ .pytype/
154
+
155
+ # Cython debug symbols
156
+ cython_debug/
157
+
158
+ # PyCharm
159
+ # JetBrains specific template is maintained in a separate JetBrains.gitignore that can
160
+ # be found at https://github.com/github/gitignore/blob/main/Global/JetBrains.gitignore
161
+ # and can be added to the global gitignore or merged into this file. For a more nuclear
162
+ # option (not recommended) you can uncomment the following to ignore the entire idea folder.
163
+ .idea/
164
+
165
+ node_modules
166
+
167
+ credentials.json
168
+ pyrightconfig.json
@@ -0,0 +1,36 @@
1
+ Metadata-Version: 2.4
2
+ Name: livekit-plugins-speechify
3
+ Version: 1.0.14
4
+ Summary: Agent Framework plugin for voice synthesis with Speechify's API.
5
+ Project-URL: Documentation, https://docs.livekit.io
6
+ Project-URL: Website, https://livekit.io/
7
+ Project-URL: Source, https://github.com/livekit/agents
8
+ Author-email: LiveKit <hello@livekit.io>
9
+ License-Expression: Apache-2.0
10
+ Keywords: audio,livekit,realtime,speechify,video,webrtc
11
+ Classifier: Intended Audience :: Developers
12
+ Classifier: License :: OSI Approved :: Apache Software License
13
+ Classifier: Programming Language :: Python :: 3
14
+ Classifier: Programming Language :: Python :: 3 :: Only
15
+ Classifier: Programming Language :: Python :: 3.9
16
+ Classifier: Programming Language :: Python :: 3.10
17
+ Classifier: Topic :: Multimedia :: Sound/Audio
18
+ Classifier: Topic :: Multimedia :: Video
19
+ Classifier: Topic :: Scientific/Engineering :: Artificial Intelligence
20
+ Requires-Python: >=3.9.0
21
+ Requires-Dist: livekit-agents[codecs]>=1.0.14
22
+ Description-Content-Type: text/markdown
23
+
24
+ # LiveKit Plugins Speechify
25
+
26
+ Agent Framework plugin for voice synthesis with [Speechify](https://www.speechify.ai/) API.
27
+
28
+ ## Installation
29
+
30
+ ```bash
31
+ pip install livekit-plugins-speechify
32
+ ```
33
+
34
+ ## Pre-requisites
35
+
36
+ You'll need an API key from Speechify. It can be set as an environment variable: `SPEECHIFY_API_KEY`
@@ -0,0 +1,13 @@
1
+ # LiveKit Plugins Speechify
2
+
3
+ Agent Framework plugin for voice synthesis with [Speechify](https://www.speechify.ai/) API.
4
+
5
+ ## Installation
6
+
7
+ ```bash
8
+ pip install livekit-plugins-speechify
9
+ ```
10
+
11
+ ## Pre-requisites
12
+
13
+ You'll need an API key from Speechify. It can be set as an environment variable: `SPEECHIFY_API_KEY`
@@ -0,0 +1,47 @@
1
+ # Copyright 2023 LiveKit, Inc.
2
+ #
3
+ # Licensed under the Apache License, Version 2.0 (the "License");
4
+ # you may not use this file except in compliance with the License.
5
+ # You may obtain a copy of the License at
6
+ #
7
+ # http://www.apache.org/licenses/LICENSE-2.0
8
+ #
9
+ # Unless required by applicable law or agreed to in writing, software
10
+ # distributed under the License is distributed on an "AS IS" BASIS,
11
+ # WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
12
+ # See the License for the specific language governing permissions and
13
+ # limitations under the License.
14
+
15
+ from .models import TTSEncoding, TTSModels
16
+ from .tts import DEFAULT_VOICE_ID, TTS, Voice
17
+ from .version import __version__
18
+
19
+ __all__ = [
20
+ "TTS",
21
+ "Voice",
22
+ "TTSEncoding",
23
+ "TTSModels",
24
+ "DEFAULT_VOICE_ID",
25
+ "__version__",
26
+ ]
27
+
28
+ from livekit.agents import Plugin
29
+
30
+ from .log import logger
31
+
32
+
33
+ class SpeechifyPlugin(Plugin):
34
+ def __init__(self):
35
+ super().__init__(__name__, __version__, __package__, logger)
36
+
37
+
38
+ Plugin.register_plugin(SpeechifyPlugin())
39
+
40
+ # Cleanup docs of unexported modules
41
+ _module = dir()
42
+ NOT_IN_ALL = [m for m in _module if m not in __all__]
43
+
44
+ __pdoc__ = {}
45
+
46
+ for n in NOT_IN_ALL:
47
+ __pdoc__[n] = False
@@ -0,0 +1,17 @@
1
+ # Copyright 2024 LiveKit, Inc.
2
+ #
3
+ # Licensed under the Apache License, Version 2.0 (the "License");
4
+ # you may not use this file except in compliance with the License.
5
+ # You may obtain a copy of the License at
6
+ #
7
+ # http://www.apache.org/licenses/LICENSE-2.0
8
+ #
9
+ # Unless required by applicable law or agreed to in writing, software
10
+ # distributed under the License is distributed on an "AS IS" BASIS,
11
+ # WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
12
+ # See the License for the specific language governing permissions and
13
+ # limitations under the License.
14
+
15
+ import logging
16
+
17
+ logger = logging.getLogger("livekit.plugins.speechify")
@@ -0,0 +1,29 @@
1
+ # Copyright 2024 LiveKit, Inc.
2
+ #
3
+ # Licensed under the Apache License, Version 2.0 (the "License");
4
+ # you may not use this file except in compliance with the License.
5
+ # You may obtain a copy of the License at
6
+ #
7
+ # http://www.apache.org/licenses/LICENSE-2.0
8
+ #
9
+ # Unless required by applicable law or agreed to in writing, software
10
+ # distributed under the License is distributed on an "AS IS" BASIS,
11
+ # WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
12
+ # See the License for the specific language governing permissions and
13
+ # limitations under the License.
14
+ from typing import Literal
15
+
16
+ TTSModels = Literal[
17
+ "simba-english",
18
+ "simba-multilingual",
19
+ ]
20
+
21
+ TTSEncoding = Literal[
22
+ "mp3_24000",
23
+ "wav_48000",
24
+ "ogg_24000",
25
+ "aac_24000",
26
+ ]
27
+
28
+ VoiceType = Literal["shared", "personal"]
29
+ Gender = Literal["male", "female", "neutral"]
@@ -0,0 +1,312 @@
1
+ # Copyright 2023 LiveKit, Inc.
2
+ #
3
+ # Licensed under the Apache License, Version 2.0 (the "License");
4
+ # you may not use this file except in compliance with the License.
5
+ # You may obtain a copy of the License at
6
+ #
7
+ # http://www.apache.org/licenses/LICENSE-2.0
8
+ #
9
+ # Unless required by applicable law or agreed to in writing, software
10
+ # distributed under the License is distributed on an "AS IS" BASIS,
11
+ # WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
12
+ # See the License for the specific language governing permissions and
13
+ # limitations under the License.
14
+
15
+ from __future__ import annotations
16
+
17
+ import asyncio
18
+ import os
19
+ from dataclasses import dataclass
20
+
21
+ import aiohttp
22
+
23
+ from livekit.agents import (
24
+ APIConnectionError,
25
+ APIConnectOptions,
26
+ APIStatusError,
27
+ APITimeoutError,
28
+ tts,
29
+ utils,
30
+ )
31
+ from livekit.agents.types import (
32
+ DEFAULT_API_CONNECT_OPTIONS,
33
+ NOT_GIVEN,
34
+ NotGivenOr,
35
+ )
36
+ from livekit.agents.utils import is_given
37
+
38
+ from .log import logger
39
+ from .models import Gender, TTSEncoding, TTSModels, VoiceType
40
+
41
+ _DefaultEncoding: TTSEncoding = "ogg_24000"
42
+
43
+
44
+ def _sample_rate_from_encoding(output_encoding: TTSEncoding) -> int:
45
+ split = output_encoding.split("_")
46
+ return int(split[1])
47
+
48
+
49
+ def _audio_format_from_encoding(encoding: TTSEncoding) -> str:
50
+ split = encoding.split("_")
51
+ return split[0]
52
+
53
+
54
+ DEFAULT_VOICE_ID = "jack"
55
+ API_BASE_URL_V1 = "https://api.sws.speechify.com/v1"
56
+ AUTHORIZATION_HEADER = "Authorization"
57
+ CALLER_HEADER = "x-caller"
58
+
59
+
60
+ @dataclass
61
+ class Voice:
62
+ id: str
63
+ type: VoiceType
64
+ display_name: str
65
+ gender: Gender
66
+ avatar_image: str | None
67
+ models: list[TTSModels]
68
+ locale: str
69
+
70
+
71
+ @dataclass
72
+ class _TTSOptions:
73
+ base_url: NotGivenOr[str]
74
+ token: NotGivenOr[str]
75
+ voice_id: str
76
+ encoding: TTSEncoding
77
+ language: NotGivenOr[str]
78
+ model: NotGivenOr[TTSModels]
79
+ loudness_normalization: NotGivenOr[bool]
80
+ text_normalization: NotGivenOr[bool]
81
+ follow_redirects: bool
82
+ sample_rate: int
83
+
84
+
85
+ class TTS(tts.TTS):
86
+ def __init__(
87
+ self,
88
+ *,
89
+ voice_id: NotGivenOr[str] = DEFAULT_VOICE_ID,
90
+ encoding: NotGivenOr[TTSEncoding] = NOT_GIVEN,
91
+ model: NotGivenOr[TTSModels] = NOT_GIVEN,
92
+ base_url: NotGivenOr[str] = NOT_GIVEN,
93
+ api_key: NotGivenOr[str] = NOT_GIVEN,
94
+ language: NotGivenOr[str] = NOT_GIVEN,
95
+ loudness_normalization: NotGivenOr[bool] = NOT_GIVEN,
96
+ text_normalization: NotGivenOr[bool] = NOT_GIVEN,
97
+ http_session: aiohttp.ClientSession | None = None,
98
+ follow_redirects: bool = True,
99
+ ) -> None:
100
+ """
101
+ Create a new instance of Speechify TTS.
102
+
103
+ Args:
104
+ voice_id (NotGivenOr[str]): Voice ID. Defaults to `cliff`.
105
+ encoding (NotGivenOr[TTSEncoding]): Audio encoding to use. Optional. Defaults to `wav_48000`.
106
+ model (NotGivenOr[TTSModels]): TTS model to use. Optional.
107
+ base_url (NotGivenOr[str]): Custom base URL for the API. Optional.
108
+ api_key (NotGivenOr[str]): Speechify API key. Can be set via argument or `SPEECHIFY_API_KEY` environment variable
109
+ language (NotGivenOr[str]): Language code for the TTS model. Optional.
110
+ loudness_normalization (NotGivenOr[bool]): Whether to normalize the loudness of the audio. Optional.
111
+ text_normalization (NotGivenOr[bool]): Whether to normalize the text. Optional.
112
+ http_session (aiohttp.ClientSession | None): Custom HTTP session for API requests. Optional.
113
+ follow_redirects (bool): Whether to follow redirects in HTTP requests. Defaults to True.
114
+ """ # noqa: E501
115
+
116
+ if not is_given(encoding):
117
+ encoding = _DefaultEncoding
118
+
119
+ super().__init__(
120
+ capabilities=tts.TTSCapabilities(
121
+ streaming=False,
122
+ ),
123
+ sample_rate=_sample_rate_from_encoding(encoding),
124
+ num_channels=1,
125
+ )
126
+
127
+ speechify_token = api_key if is_given(api_key) else os.environ.get("SPEECHIFY_API_KEY")
128
+ if not (speechify_token):
129
+ raise ValueError(
130
+ "Speechify API key is required, either as argument or set SPEECHIFY_API_KEY environment variable" # noqa: E501
131
+ )
132
+
133
+ self._opts = _TTSOptions(
134
+ model=model,
135
+ voice_id=voice_id,
136
+ language=language,
137
+ base_url=base_url if is_given(base_url) else API_BASE_URL_V1,
138
+ token=speechify_token,
139
+ follow_redirects=follow_redirects,
140
+ encoding=encoding,
141
+ sample_rate=_sample_rate_from_encoding(encoding),
142
+ loudness_normalization=loudness_normalization,
143
+ text_normalization=text_normalization,
144
+ )
145
+ self._session = http_session
146
+
147
+ def _ensure_session(self) -> aiohttp.ClientSession:
148
+ if not self._session:
149
+ self._session = utils.http_context.http_session()
150
+
151
+ return self._session
152
+
153
+ async def list_voices(self) -> list[Voice]:
154
+ async with self._ensure_session().get(
155
+ f"{self._opts.base_url}/voices",
156
+ headers=_get_headers(self._opts.token),
157
+ ) as resp:
158
+ return await resp.json()
159
+
160
+ def update_options(
161
+ self,
162
+ *,
163
+ voice_id: NotGivenOr[str] = NOT_GIVEN,
164
+ model: NotGivenOr[TTSModels] = NOT_GIVEN,
165
+ language: NotGivenOr[str] = NOT_GIVEN,
166
+ loudness_normalization: NotGivenOr[bool] = NOT_GIVEN,
167
+ text_normalization: NotGivenOr[bool] = NOT_GIVEN,
168
+ ) -> None:
169
+ """
170
+ Args:
171
+ voice_id (NotGivenOr[str]): Voice ID.
172
+ model (NotGivenOr[TTSModels | str]): TTS model to use.
173
+ language (NotGivenOr[str]): Language code for the TTS model.
174
+ """
175
+ if is_given(model):
176
+ self._opts.model = model
177
+ if is_given(voice_id):
178
+ self._opts.voice_id = voice_id
179
+ if is_given(language):
180
+ self._opts.language = language
181
+ if is_given(loudness_normalization):
182
+ self._opts.loudness_normalization = loudness_normalization
183
+ if is_given(text_normalization):
184
+ self._opts.text_normalization = text_normalization
185
+
186
+ def synthesize(
187
+ self,
188
+ text: str,
189
+ *,
190
+ conn_options: APIConnectOptions = DEFAULT_API_CONNECT_OPTIONS,
191
+ ) -> ChunkedStream:
192
+ return ChunkedStream(
193
+ tts=self,
194
+ input_text=text,
195
+ conn_options=conn_options,
196
+ opts=self._opts,
197
+ session=self._ensure_session(),
198
+ )
199
+
200
+
201
+ class ChunkedStream(tts.ChunkedStream):
202
+ """Synthesize using the chunked api endpoint"""
203
+
204
+ def __init__(
205
+ self,
206
+ *,
207
+ tts: TTS,
208
+ input_text: str,
209
+ opts: _TTSOptions,
210
+ conn_options: APIConnectOptions,
211
+ session: aiohttp.ClientSession,
212
+ ) -> None:
213
+ super().__init__(tts=tts, input_text=input_text, conn_options=conn_options)
214
+ self._opts, self._session = opts, session
215
+
216
+ async def _run(self) -> None:
217
+ request_id = utils.shortuuid()
218
+ data = {
219
+ "input": self._input_text,
220
+ "voice_id": self._opts.voice_id,
221
+ "language": self._opts.language if is_given(self._opts.language) else None,
222
+ "model": self._opts.model if is_given(self._opts.model) else None,
223
+ "audio_format": _audio_format_from_encoding(self._opts.encoding),
224
+ "options": {
225
+ "loudness_normalization": self._opts.loudness_normalization
226
+ if is_given(self._opts.loudness_normalization)
227
+ else None,
228
+ "text_normalization": self._opts.text_normalization
229
+ if is_given(self._opts.text_normalization)
230
+ else None,
231
+ },
232
+ }
233
+
234
+ decoder = utils.codecs.AudioStreamDecoder(
235
+ sample_rate=self._opts.sample_rate,
236
+ num_channels=1,
237
+ )
238
+
239
+ decode_task: asyncio.Task | None = None
240
+ try:
241
+ async with self._session.post(
242
+ _synthesize_url(self._opts),
243
+ headers=_get_headers(self._opts.token, encoding=self._opts.encoding),
244
+ json=data,
245
+ timeout=self._conn_options.timeout,
246
+ ) as resp:
247
+ if not resp.content_type.startswith("audio/"):
248
+ content = await resp.text()
249
+ logger.error("speechify returned non-audio data: %s", content)
250
+ return
251
+
252
+ async def _decode_loop():
253
+ try:
254
+ async for bytes_data, _ in resp.content.iter_chunks():
255
+ decoder.push(bytes_data)
256
+ finally:
257
+ decoder.end_input()
258
+
259
+ decode_task = asyncio.create_task(_decode_loop())
260
+ emitter = tts.SynthesizedAudioEmitter(
261
+ event_ch=self._event_ch,
262
+ request_id=request_id,
263
+ )
264
+ async for frame in decoder:
265
+ emitter.push(frame)
266
+ emitter.flush()
267
+ await decode_task
268
+ except asyncio.TimeoutError as e:
269
+ raise APITimeoutError() from e
270
+ except aiohttp.ClientResponseError as e:
271
+ raise APIStatusError(
272
+ message=e.message,
273
+ status_code=e.status,
274
+ request_id=None,
275
+ body=None,
276
+ ) from e
277
+ except Exception as e:
278
+ raise APIConnectionError() from e
279
+ finally:
280
+ if decode_task:
281
+ await utils.aio.gracefully_cancel(decode_task)
282
+ await decoder.aclose()
283
+
284
+
285
+ def _synthesize_url(opts: _TTSOptions) -> str:
286
+ """Construct the Speechify stream URL."""
287
+ return f"{opts.base_url}/audio/stream"
288
+
289
+
290
+ def _get_headers(token: str, *, encoding: TTSEncoding | None = None) -> dict[str, str]:
291
+ """Construct the headers for the Speechify API."""
292
+ headers = {
293
+ AUTHORIZATION_HEADER: f"Bearer {token}" if not token.startswith("Bearer ") else token
294
+ }
295
+
296
+ if encoding:
297
+ accept = ""
298
+ format = _audio_format_from_encoding(encoding)
299
+ if format == "ogg":
300
+ accept = "audio/ogg"
301
+ elif format == "mp3":
302
+ accept = "audio/mpeg"
303
+ elif format == "aac":
304
+ accept = "audio/aac"
305
+
306
+ # docs does not specify mime type for wav
307
+ # https://docs.sws.speechify.com/v1/api-reference/api-reference/tts/audio/stream
308
+
309
+ if accept:
310
+ headers["Accept"] = accept
311
+ headers[CALLER_HEADER] = "livekit"
312
+ return headers
@@ -0,0 +1,15 @@
1
+ # Copyright 2024 LiveKit, Inc.
2
+ #
3
+ # Licensed under the Apache License, Version 2.0 (the "License");
4
+ # you may not use this file except in compliance with the License.
5
+ # You may obtain a copy of the License at
6
+ #
7
+ # http://www.apache.org/licenses/LICENSE-2.0
8
+ #
9
+ # Unless required by applicable law or agreed to in writing, software
10
+ # distributed under the License is distributed on an "AS IS" BASIS,
11
+ # WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
12
+ # See the License for the specific language governing permissions and
13
+ # limitations under the License.
14
+
15
+ __version__ = "1.0.14"
@@ -0,0 +1,39 @@
1
+ [build-system]
2
+ requires = ["hatchling"]
3
+ build-backend = "hatchling.build"
4
+
5
+ [project]
6
+ name = "livekit-plugins-speechify"
7
+ dynamic = ["version"]
8
+ description = "Agent Framework plugin for voice synthesis with Speechify's API."
9
+ readme = "README.md"
10
+ license = "Apache-2.0"
11
+ requires-python = ">=3.9.0"
12
+ authors = [{ name = "LiveKit", email = "hello@livekit.io" }]
13
+ keywords = ["webrtc", "realtime", "audio", "video", "livekit", "speechify"]
14
+ classifiers = [
15
+ "Intended Audience :: Developers",
16
+ "License :: OSI Approved :: Apache Software License",
17
+ "Topic :: Multimedia :: Sound/Audio",
18
+ "Topic :: Multimedia :: Video",
19
+ "Topic :: Scientific/Engineering :: Artificial Intelligence",
20
+ "Programming Language :: Python :: 3",
21
+ "Programming Language :: Python :: 3.9",
22
+ "Programming Language :: Python :: 3.10",
23
+ "Programming Language :: Python :: 3 :: Only",
24
+ ]
25
+ dependencies = ["livekit-agents[codecs]>=1.0.14"]
26
+
27
+ [project.urls]
28
+ Documentation = "https://docs.livekit.io"
29
+ Website = "https://livekit.io/"
30
+ Source = "https://github.com/livekit/agents"
31
+
32
+ [tool.hatch.version]
33
+ path = "livekit/plugins/speechify/version.py"
34
+
35
+ [tool.hatch.build.targets.wheel]
36
+ packages = ["livekit"]
37
+
38
+ [tool.hatch.build.targets.sdist]
39
+ include = ["/livekit"]