feat(schema): implement pydantic schemas and tempo conversion logic

This commit is contained in:
2026-11-02 10:04:53 +01:00
parent ccbbc3685f
commit 945391ff23
11 changed files with 735 additions and 0 deletions

42
pyproject.toml Normal file
View File

@ -0,0 +1,42 @@
[project]
name = "songsplit"
version = "0.1.0"
description = "Song-Paket Audioanalyse-Pipeline (Stems, Lyrics, Vocals, Tempo, Chords, Strumming)"
readme = "README.md"
requires-python = ">=3.11,<3.13"
dependencies = [
"pydantic>=2.7.0",
"typer>=0.12.0",
"rich>=13.7.0",
]
[project.optional-dependencies]
dev = [
"pytest>=8.0.0",
"pytest-cov>=5.0.0",
"ruff>=0.4.0",
]
[project.scripts]
songsplit = "songsplit.cli:app"
[build-system]
requires = ["hatchling"]
build-backend = "hatchling.build"
[tool.hatch.build.targets.wheel]
packages = ["src/songsplit"]
[tool.pytest.ini_options]
testpaths = ["tests"]
pythonpath = ["src"]
[tool.ruff]
line-length = 120
target-version = "py312"
[tool.ruff.lint]
select = ["E", "F", "I", "UP", "B"]
ignore = ["B008", "E501"]