This repository was archived by the owner on Jan 19, 2026. It is now read-only.
-
Notifications
You must be signed in to change notification settings - Fork 17
Expand file tree
/
Copy pathpyproject.toml
More file actions
95 lines (89 loc) · 2.69 KB
/
pyproject.toml
File metadata and controls
95 lines (89 loc) · 2.69 KB
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
[tool.poetry]
name = "lyrics-transcriber"
version = "0.81.0"
description = "Automatically create synchronised lyrics files in ASS and MidiCo LRC formats with word-level timestamps, using Whisper and lyrics from Genius and Spotify"
authors = ["Andrew Beveridge <andrew@beveridge.uk>"]
license = "MIT"
readme = "README.md"
packages = [{ include = "lyrics_transcriber" }]
include = [
"lyrics_transcriber/frontend/web_assets",
"lyrics_transcriber/frontend/web_assets/**/*",
"lyrics_transcriber/output/fonts/*",
"lyrics_transcriber/output/cdgmaker/images/*",
"lyrics_transcriber/output/cdgmaker/transitions/*"
]
homepage = "https://github.com/nomadkaraoke/python-lyrics-transcriber"
repository = "https://github.com/nomadkaraoke/python-lyrics-transcriber"
documentation = "https://github.com/nomadkaraoke/python-lyrics-transcriber/blob/main/README.md"
# Dependencies section - to find missing dependencies, install the package and run it
# If ModuleNotFoundError occurs, add the missing module to the dependencies
[tool.poetry.dependencies]
python = ">=3.10,<3.14"
python-slugify = ">=8"
lyricsgenius = ">=0.1.0"
syrics = ">=0"
karaoke-lyrics-processor = ">=0.6"
dropbox = ">=12"
python-dotenv = ">=1"
pydub = ">=0.25"
spacy = ">=3.8.7"
srsly = ">=2.5.1"
tqdm = ">=4.67"
python-levenshtein = ">=0.26"
transformers = ">=4.47"
torch = ">=2.7,<3.0"
metaphone = ">=0.6"
nltk = ">=3.9"
spacy-syllables = ">=3"
syllables = ">=1"
fastapi = ">=0.115"
uvicorn = ">=0.34"
fonttools = ">=4.55"
ollama = ">=0.4.7"
shortuuid = ">=1.0.13"
openai = ">=1.63.2"
pillow = ">=10.0.0"
toml = ">=0.10.0"
ffmpeg-python = ">=0.2.0"
attrs = ">=23.0.0"
cattrs = ">=23.0.0"
langgraph = ">=0.2.0"
langchain = ">=0.3.0"
langchain-core = ">=0.3.0"
langchain-openai = ">=0.2.0"
langchain-anthropic = ">=0.2.0"
langchain-ollama = ">=0.2.0"
langfuse = ">=3.0.0"
pydantic = ">=2.7.0"
jiwer = ">=3.0.0"
[tool.poetry.group.dev.dependencies]
black = ">=23"
pytest = ">=7.0"
pytest-cov = ">=4.0"
pytest-mock = ">=3.10"
pytest-asyncio = ">=0.21.0"
numpy = ">=1.26.0"
[tool.black]
line-length = 140
[tool.poetry.scripts]
lyrics-transcriber = 'lyrics_transcriber.cli.cli_main:main'
test-cov = "tests.conftest:main"
cdgmaker = 'lyrics_transcriber.output.cdgmaker.composer:main'
lrc2cdg = 'lyrics_transcriber.output.lrc_to_cdg:cli_main'
[build-system]
requires = ["poetry-core"]
build-backend = "poetry.core.masonry.api"
[tool.pytest.ini_options]
testpaths = ["tests/unit", "tests/integration"]
python_files = ["test_*.py"]
addopts = [
"--cov=lyrics_transcriber",
"--cov-report=term-missing",
"--cov-report=html:htmlcov",
"--asyncio-mode=auto"
]
filterwarnings = [
"ignore::DeprecationWarning",
"ignore:'audioop' is deprecated:DeprecationWarning"
]