-
Notifications
You must be signed in to change notification settings - Fork 10
/
Copy pathpyproject.toml
84 lines (75 loc) · 2.17 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
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
[build-system]
requires = ["setuptools>=45", "wheel", "build"]
build-backend = "setuptools.build_meta"
[project]
name = "whisperchain"
version = "0.1.3"
description = "Voice control using Whisper.cpp with LangChain cleanup"
readme = "README.md"
requires-python = ">=3.8"
keywords = ["whisper", "langchain", "voice-control", "speech-to-text"]
classifiers = [
"Development Status :: 3 - Alpha",
"Intended Audience :: Developers",
"License :: OSI Approved :: MIT License",
"Programming Language :: Python :: 3",
"Programming Language :: Python :: 3.8",
"Programming Language :: Python :: 3.9",
"Programming Language :: Python :: 3.10",
"Topic :: Software Development :: Libraries :: Python Modules",
"Topic :: Multimedia :: Sound/Audio :: Speech",
]
license = { text = "MIT" }
authors = [
{ name="Chris Choy", email="[email protected]" }
]
dependencies = [
"click>=8.0.0",
"pydantic>=2.0.0",
"pynput>=1.7.7",
"pyperclip",
"openai>=1.0.0",
"pywhispercpp>=1.3.0",
"fastapi>=0.100.0",
"uvicorn>=0.22.0",
"pyaudio>=0.2.11",
"langchain>=0.1.0",
"langchain-openai>=0.1.0",
"websockets>=11.0.0",
"streamlit>=1.20.0",
]
[project.optional-dependencies]
test = [
"pytest>=7.0.0",
"pytest-asyncio>=0.21.0", # Change from trio to asyncio
"httpx>=0.24.0", # For testing FastAPI
]
dev = [
"pre-commit>=3.0.0",
"black>=22.0.0",
"isort>=5.0.0",
"build>=0.10.0",
"twine>=4.0.0",
]
[project.scripts]
whisperchain = "whisperchain.cli.run:main"
whisperchain-client = "whisperchain.cli.run_client:main"
whisperchain-server = "whisperchain.cli.run_server:main"
[project.urls]
Homepage = "https://github.com/chrischoy/whisperchain"
"Bug Tracker" = "https://github.com/chrischoy/whisperchain/issues"
[tool.black]
line-length = 99
target-version = ['py38']
[tool.isort]
profile = "black"
multi_line_output = 3
[tool.setuptools]
package-dir = {"" = "src"} # Tells setuptools that packages are under src
[tool.setuptools.packages.find]
where = ["src"]
include = ["whisperchain*"]
exclude = ["tests*"]
[tool.pytest.ini_options]
asyncio_mode = "auto"
asyncio_default_fixture_loop_scope = "function"