| 123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051 |
- [build-system]
- requires = ["hatchling"]
- build-backend = "hatchling.build"
- [project]
- name = "stt-daemon"
- version = "0.1.0"
- description = "Always-on speech-to-text daemon with pre-roll buffer and a voice assistant layer"
- readme = "README.md"
- license = "ISC"
- license-files = ["LICENSE.md"]
- requires-python = ">=3.11"
- authors = [{name = "Efren", email = "efren@example.com"}]
- dependencies = [
- "numpy>=1.26",
- "faster-whisper>=1.1.0",
- "webrtcvad-wheels>=2.0.14",
- "questionary>=2.0",
- "textual>=0.80",
- # Vendored local CUDA build (cp313-only); see docs/PYWHISPERCPP.md.
- "pywhispercpp>=1.5.1 ; python_full_version == '3.13.*'",
- ]
- [project.optional-dependencies]
- portaudio = ["sounddevice>=0.4.6"]
- [dependency-groups]
- dev = ["pytest>=8", "ruff"]
- [tool.uv.sources]
- pywhispercpp = { path = "vendor/pywhispercpp-1.5.1-cp313-cp313-linux_x86_64.whl" }
- [project.scripts]
- stt-daemon = "stt_daemon.cli:main"
- stt-assistant = "stt_daemon.assistant.runner:main"
- stt-ctl = "stt_daemon.ctl:main"
- stt-tui = "stt_daemon.tui.app:main"
- [tool.hatch.build.targets.wheel]
- packages = ["src/stt_daemon"]
- [tool.ruff]
- target-version = "py311"
- line-length = 100
- [tool.ruff.lint]
- select = ["E", "F", "W"]
- [tool.pytest.ini_options]
- testpaths = ["tests"]
- python_files = ["test_*.py"]
|