-
Notifications
You must be signed in to change notification settings - Fork 2.4k
Expand file tree
/
Copy pathpyproject.toml
More file actions
105 lines (97 loc) · 2.67 KB
/
pyproject.toml
File metadata and controls
105 lines (97 loc) · 2.67 KB
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
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
[build-system]
requires = ["setuptools>=77"]
build-backend = "setuptools.build_meta"
[project]
name = "SpeechRecognition"
dynamic = ["version"]
description = "Library for performing speech recognition, with support for several engines and APIs, online and offline."
readme = { file = "README.rst", content-type = "text/x-rst" }
requires-python = ">=3.9"
license = "BSD-3-Clause"
license-files = ["LICENSE.txt", "LICENSE-FLAC.txt"]
authors = [
{ name = "Anthony Zhang (Uberi)", email = "azhang9@gmail.com" },
]
maintainers = [
{ name = "nikkie", email = "takuyafjp+develop@gmail.com" },
]
keywords = ["speech", "recognition", "voice", "sphinx", "google", "wit", "bing", "api", "houndify", "ibm", "snowboy"]
classifiers = [
"Development Status :: 5 - Production/Stable",
"Intended Audience :: Developers",
"Natural Language :: English",
"Operating System :: Microsoft :: Windows",
"Operating System :: POSIX :: Linux",
"Operating System :: MacOS :: MacOS X",
"Operating System :: Other OS",
"Programming Language :: Python",
"Programming Language :: Python :: 3",
"Programming Language :: Python :: 3.9",
"Programming Language :: Python :: 3.10",
"Programming Language :: Python :: 3.11",
"Programming Language :: Python :: 3.12",
"Programming Language :: Python :: 3.13",
# "Programming Language :: Python :: 3.14",
# openai-whisper does not support Python 3.14 yet.
"Topic :: Software Development :: Libraries :: Python Modules",
"Topic :: Multimedia :: Sound/Audio :: Speech",
]
dependencies = [
"typing-extensions",
"standard-aifc; python_version >= '3.13'",
"audioop-lts; python_version >= '3.13'",
]
[project.urls]
Homepage = "https://github.com/Uberi/speech_recognition#readme"
[project.scripts]
sprc = "speech_recognition.cli:main"
[project.optional-dependencies]
dev = [
"pytest",
"pytest-randomly",
"respx",
"numpy",
"pytest-httpserver",
"mypy",
"types-requests",
]
audio = ["PyAudio >= 0.2.11"]
pocketsphinx = ["pocketsphinx"]
google-cloud = ["google-cloud-speech"]
whisper-local = [
"openai-whisper",
"soundfile",
]
faster-whisper = [
"faster-whisper",
"soundfile",
]
openai = [
"openai",
"httpx < 0.28",
]
groq = [
"groq",
"httpx < 0.28",
]
cohere-api = [
"cohere>=5.21.0",
]
assemblyai = ["requests"]
vosk = ["vosk"]
[tool.setuptools]
include-package-data = false
[tool.setuptools.package-data]
speech_recognition = [
"version.txt",
"flac-linux-x86",
"flac-linux-x86_64",
"flac-mac",
"flac-win32.exe",
"pocketsphinx-data/**/*",
]
[tool.setuptools.packages.find]
exclude = ["tests.*", "tests", "speech_recognition.models"]
namespaces = false
[tool.setuptools.dynamic]
version = { file = "speech_recognition/version.txt" }