-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathpyproject.toml
More file actions
94 lines (82 loc) · 2.17 KB
/
pyproject.toml
File metadata and controls
94 lines (82 loc) · 2.17 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
[build-system]
requires = ["hatchling"]
build-backend = "hatchling.build"
[project]
name = "lfeats"
authors = [{ name = "Takenori Yoshimura" }]
maintainers = [
{ name = "Takenori Yoshimura", email = "takenori@sp.nitech.ac.jp" },
]
description = "A unified interface to extract hidden representations from speech foundation models"
readme = "README.md"
requires-python = ">=3.10"
keywords = ["pytorch", "speech-processing", "self-supervised-learning"]
license = { text = "MIT" }
classifiers = [
"License :: OSI Approved :: MIT License",
"Programming Language :: Python",
"Programming Language :: Python :: 3.10",
"Programming Language :: Python :: 3.11",
"Programming Language :: Python :: 3.12",
"Programming Language :: Python :: 3.13",
"Programming Language :: Python :: 3.14",
"Programming Language :: Python :: 3 :: Only",
]
dependencies = [
"numpy >= 1.23.0",
"torch >= 2.6.0",
"torchaudio >= 2.6.0",
"transformers >= 4.30.0",
"onnxruntime >= 1.19.0",
"hydra-core >= 1.3.0",
"hyperpyyaml >= 0.0.1",
"huggingface-hub >= 0.23.0",
"requests >= 2.27.0",
"parfive >= 2.1.0",
"platformdirs >= 2.0.0",
"lilfilter >= 0.0.1",
"soxr >= 0.4.0",
"soundfile >= 0.10.2",
]
dynamic = ["version"]
[project.optional-dependencies]
dev = [
"build",
"matplotlib",
"mdformat",
"numpydoc",
"pkginfo",
"pydata-sphinx-theme",
"pyright",
"pytest",
"pytest-cov",
"ruff",
"sphinx",
"twine",
]
[project.urls]
Documentation = "https://takenori-y.github.io/lfeats/stable/"
Source = "https://github.com/takenori-y/lfeats"
[project.scripts]
lfeats = "lfeats.cli:main"
[tool.hatch.build.targets.sdist]
only-include = ["lfeats"]
[tool.hatch.metadata]
allow-direct-references = true
[tool.hatch.version]
path = "lfeats/version.py"
[tool.ruff]
exclude = ["third_party"]
target-version = "py310"
[tool.ruff.lint]
extend-select = ["D", "E", "I", "UP"]
ignore = [
"D203", # 1 blank line required before class docstring
"D213", # Multi-line docstring summary should start at the second line
]
[tool.coverage.report]
exclude_lines = ["pragma: no cover", "except", "raise", "verbose"]
[tool.pyright]
exclude = ["**/third_party"]
[tool.pytest.ini_options]
addopts = "-s -x"