forked from fortypercnt/stream-translator
-
Notifications
You must be signed in to change notification settings - Fork 20
/
pyproject.toml
64 lines (59 loc) · 1.64 KB
/
pyproject.toml
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
[build-system]
requires = ["setuptools>=61.0"]
build-backend = "setuptools.build_meta"
[project]
name = "stream-translator-gpt"
version = "2024.11.11"
authors = [
{ name="ion", email="[email protected]" },
]
description = "Command line tool to transcribe & translate audio from livestreams in real time"
readme = "README_PyPI.md"
requires-python = ">=3.8"
keywords = [
"translator",
"translation",
"translate",
"transcribe",
"yt-dlp",
"vad",
"whisper",
"faster-whisper",
"whisper-api",
"gpt",
"gemini",
]
classifiers = [
"Topic :: Multimedia :: Sound/Audio :: Analysis",
"Development Status :: 5 - Production/Stable",
"Environment :: Console",
"Programming Language :: Python :: 3",
"Programming Language :: Python :: 3 :: Only",
"Programming Language :: Python :: 3.8",
"Programming Language :: Python :: 3.9",
"Programming Language :: Python :: 3.10",
"Programming Language :: Python :: 3.11",
"Programming Language :: Python :: 3.12",
"License :: OSI Approved :: MIT License",
"Operating System :: OS Independent",
]
dependencies = [
"numpy",
"scipy",
"yt-dlp",
"ffmpeg-python>=0.2.0,<0.3",
"sounddevice<1.0",
"openai-whisper<=20240930",
"faster-whisper>=1.0.0,<2.0.0",
"openai>=1.0,<2.0",
"google-generativeai<1.0",
]
[project.scripts]
stream-translator-gpt = "stream_translator_gpt.translator:cli"
[project.urls]
Homepage = "https://github.com/ionic-bond/stream-translator-gpt"
Issues = "https://github.com/ionic-bond/stream-translator-gpt/issues"
[tool.setuptools.packages.find]
where = ["."]
[tool.setuptools.package-data]
stream_translator_gpt = ["*.jit"]