[build-system] requires = ["setuptools>=75", "wheel"] build-backend = "setuptools.build_meta" [project] name = "buddi-asr" version = "0.2.0" description = "Privacy-aware child Arabic and English Whisper fine-tuning pipeline for Buddi" readme = "README.md" requires-python = ">=3.10,<3.14" license = { text = "MIT" } authors = [{ name = "Buddi contributors" }] keywords = ["asr", "whisper", "arabic", "gulf-arabic", "children", "raspberry-pi"] classifiers = [ "Development Status :: 3 - Alpha", "License :: OSI Approved :: MIT License", "Programming Language :: Python :: 3", "Programming Language :: Python :: 3.10", "Programming Language :: Python :: 3.11", "Programming Language :: Python :: 3.12", "Programming Language :: Python :: 3.13", "Topic :: Scientific/Engineering :: Artificial Intelligence", ] dependencies = [] [project.optional-dependencies] data = [ "huggingface-hub>=0.27,<2", "soundfile>=0.12,<1", ] train = [ "accelerate>=1.2,<2", "librosa>=0.10.2,<1", "numpy>=1.26,<3", "peft>=0.14,<1", "safetensors>=0.4,<1", "soundfile>=0.12,<1", "tensorboard>=2.18,<3", "torch>=2.4,<3", # Not imported here. PEFT's LoRA dispatcher probes torchao for every module it # replaces, and its probe raises rather than returning False when an older one # is installed -- so an image shipping torchao 0.10 (Kaggle's) fails at # get_peft_model with an ImportError. Declaring the floor is the only way to # keep that path working. "torchao>=0.16", "transformers>=4.48,<6", ] dev = [ "ruff>=0.9,<1", ] [project.scripts] buddi-asr = "buddi_asr.cli:main" [project.urls] Documentation = "https://github.com/your-org/buddi-asr#readme" Issues = "https://github.com/your-org/buddi-asr/issues" [tool.setuptools] package-dir = { "" = "src" } [tool.setuptools.packages.find] where = ["src"] [tool.ruff] line-length = 100 target-version = "py310" [tool.ruff.lint] select = ["E", "F", "I", "UP", "B", "SIM"] ignore = ["E501"]