-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathpyproject.toml
More file actions
52 lines (44 loc) · 1.57 KB
/
Copy pathpyproject.toml
File metadata and controls
52 lines (44 loc) · 1.57 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
[build-system]
requires = ["setuptools>=61.0"]
build-backend = "setuptools.build_meta"
[project]
name = "denoise-stream"
version = "0.1.0"
description = "Real-time microphone noise suppression streamed over WebSocket, with a pluggable denoising backend."
readme = "README.md"
requires-python = ">=3.10"
license = { text = "MIT" }
authors = [{ name = "Ajaneeshwar" }]
keywords = ["audio", "denoising", "noise-suppression", "websocket", "dsp", "streaming", "deepfilternet"]
classifiers = [
"Programming Language :: Python :: 3",
"License :: OSI Approved :: MIT License",
"Topic :: Multimedia :: Sound/Audio :: Speech",
"Intended Audience :: Developers",
]
# Core runtime: just numpy. Everything heavy is optional, below.
dependencies = ["numpy>=1.23"]
[project.optional-dependencies]
# Run the server (WebSocket + HTTP).
server = ["aiohttp>=3.9"]
# Run the mic client (capture/playback + WebSocket).
client = ["sounddevice>=0.4", "websocket-client>=1.6"]
# Optional learned backend (large; pulls in torch).
deepfilternet = ["deepfilternet>=0.5", "torch>=2.0"]
# Dev / test.
dev = ["pytest>=7", "aiohttp>=3.9", "websockets>=12"]
[project.scripts]
denoisestream-server = "denoisestream.server.__main__:main"
denoisestream-client = "denoisestream.client.__main__:main"
[project.urls]
Homepage = "https://github.com/Ajaneeshwar/DenoiseStream"
Repository = "https://github.com/Ajaneeshwar/DenoiseStream"
[tool.setuptools.packages.find]
where = ["src"]
[tool.pytest.ini_options]
pythonpath = ["src"]
testpaths = ["tests"]
addopts = "-q"
[tool.ruff]
line-length = 110
target-version = "py310"