[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" 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", ] [project.optional-dependencies] portaudio = ["sounddevice>=0.4.6"] [dependency-groups] dev = ["pytest>=8", "ruff"] [project.scripts] stt-daemon = "stt_daemon.cli: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"]