aurora-wake-model / code /pyproject.toml
thucdangvan020999's picture
Initial upload: releases, checkpoints, code, docs
a1fe2e2 verified
Raw History Blame Contribute Delete
1.42 kB
[build-system]
requires = ["setuptools>=68"]
build-backend = "setuptools.build_meta"
[project]
name = "vitakws"
version = "0.1.0"
description = "BC-ResNet wake-word training pipeline for Vietnamese (Hey Vita)"
readme = "README.md"
requires-python = ">=3.10"
dependencies = [
"torch>=2.3",
"numpy>=1.26",
"scipy>=1.11",
"soundfile>=0.12",
"pyyaml>=6.0",
"tqdm>=4.66",
]
[project.optional-dependencies]
train = ["wandb>=0.17", "matplotlib>=3.8"]
export = ["onnx>=1.16", "onnxruntime>=1.18"]
synth = ["edge-tts>=6.1", "piper-tts>=1.2"]
dev = ["pytest>=8.0", "ruff>=0.5"]
live = ["fastapi>=0.110", "uvicorn[standard]>=0.29", "python-multipart>=0.0.9", "onnxruntime>=1.18"]
all = ["vitakws[train,export,synth,dev,live]"]
[project.scripts]
vitakws-train = "vitakws.train:main"
vitakws-eval = "vitakws.evaluate:main"
vitakws-export = "vitakws.export:main"
vitakws-data = "vitakws.tools.data:main"
vitakws-phrases = "vitakws.tools.phrases:main"
vitakws-synth = "vitakws.tools.synth:main"
vitakws-mine = "vitakws.tools.mine:main"
vitakws-dummy = "vitakws.tools.dummy:main"
vitakws-live = "vitakws.tools.live:main"
[tool.setuptools.packages.find]
where = ["src"]
[tool.ruff]
line-length = 100
target-version = "py310"
[tool.ruff.lint]
select = ["E", "F", "I", "B", "UP"]
ignore = ["E741", "E501"] # line length is the formatter's job
[tool.pytest.ini_options]
testpaths = ["tests"]
addopts = "-q"