-
Notifications
You must be signed in to change notification settings - Fork 1
Expand file tree
/
Copy pathpyproject.toml
More file actions
88 lines (79 loc) · 1.78 KB
/
Copy pathpyproject.toml
File metadata and controls
88 lines (79 loc) · 1.78 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
[build-system]
requires = ["hatchling"]
build-backend = "hatchling.build"
[project]
name = "stt-server"
version = "0.8.0"
description = "Real-time Speech-to-Text WebSocket server for conversational agents"
readme = "README.md"
requires-python = ">=3.10"
dependencies = [
# Core ML
"numpy",
"torch",
"torchaudio",
"transformers",
"peft",
"safetensors",
"librosa",
# Server
"fastapi",
"uvicorn",
"pydantic",
"websockets",
"loguru",
"click",
# Client
"rich",
# VAD
"pysilero-vad",
]
[project.urls]
Homepage = "https://github.com/breakds/stt-server"
Repository = "https://github.com/breakds/stt-server"
[project.scripts]
stt-server = "stt_server.server:main"
stt-client = "stt_server.scripts.stt_client:main"
[tool.hatch.build.targets.wheel]
packages = ["stt_server", "nemo_lite"]
[tool.hatch.build.targets.sdist]
include = [
"/stt_server",
"/nemo_lite",
"/strops-rs",
"/examples",
"/exploration",
"/README.md",
"/LICENSE",
"/pyproject.toml",
]
exclude = [
"*.pyc",
"__pycache__",
".git",
".env",
"*.db",
]
[tool.ruff]
line-length = 120
target-version = "py313"
exclude = ["strops-rs"]
[tool.basedpyright]
pythonVersion = "3.13"
typeCheckingMode = "standard"
useLibraryCodeForTypes = true
reportMissingImports = "error"
reportMissingTypeStubs = false
reportOptionalMemberAccess = false
reportGeneralTypeIssues = "error"
reportOptionalCall = false
reportOptionalIterable = false
reportOptionalContextManager = false
reportOptionalOperand = false
reportTypedDictNotRequiredAccess = false
reportUnnecessaryTypeIgnoreComment = "warning"
reportUnusedImport = "warning"
reportUnusedClass = "warning"
reportUnusedFunction = "warning"
reportUnusedVariable = "warning"
reportDuplicateImport = "warning"