-
-
Notifications
You must be signed in to change notification settings - Fork 1
Expand file tree
/
Copy pathpyproject.toml
More file actions
116 lines (104 loc) · 2.83 KB
/
pyproject.toml
File metadata and controls
116 lines (104 loc) · 2.83 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
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
[build-system]
requires = ["hatchling"]
build-backend = "hatchling.build"
[project]
name = "Jabberjay"
version = "0.0.10"
description = "🦜 Synthetic Voice Detection"
readme = "README.md"
requires-python = ">=3.11"
license = {text = "MIT"}
authors = [
{ name = "Matthew Boakes", email = "Matthew.Boakes@Gmail.com" },
]
keywords = [
"synthetic voice detection",
"deepfake detection",
"anti-spoofing",
"audio classification",
"speech",
"ASVspoof",
"bonafide",
"spoof",
"transformers",
"ViT",
"HuBERT",
"Wav2Vec2",
"WavLM",
"RawNet2",
"machine learning",
]
classifiers = [
"Programming Language :: Python :: 3",
"Programming Language :: Python :: 3 :: Only",
"Programming Language :: Python :: 3.11",
"Programming Language :: Python :: 3.12",
"Programming Language :: Python :: 3.13",
"Programming Language :: Python :: 3.14",
"License :: OSI Approved :: MIT License",
"Operating System :: OS Independent",
"Intended Audience :: Science/Research",
"Intended Audience :: Developers",
"Topic :: Scientific/Engineering :: Artificial Intelligence",
"Topic :: Multimedia :: Sound/Audio :: Analysis",
"Topic :: Multimedia :: Sound/Audio :: Speech",
"Topic :: Security",
]
dependencies = [
"huggingface-hub>=1.10.2",
"joblib>=1.5.3",
"loguru>=0.7.3",
"librosa>=0.11.0",
"matplotlib>=3.10.8",
"numpy>=2.4.4",
"pillow>=12.2.0",
"PyYAML>=6.0.3",
"scikit-learn>=1.8.0",
"soundfile>=0.13.1",
"torch>=2.11.0",
"torchaudio>=2.11.0",
"transformers>=5.5.4",
]
[project.urls]
"Homepage" = "https://github.com/MattyB95/Jabberjay"
"Bug Tracker" = "https://github.com/MattyB95/Jabberjay/issues"
"Changelog" = "https://github.com/MattyB95/Jabberjay/blob/main/CHANGELOG.md"
"Source" = "https://github.com/MattyB95/Jabberjay"
[project.scripts]
jabberjay = "Jabberjay.jabberjay:main"
[dependency-groups]
dev = [
"black>=26.3.1",
"mkdocs-material>=9.7.6",
"mkdocstrings[python]>=1.0.3",
"pre-commit>=4.5.1",
"pytest>=9.0.3",
"pytest-cov>=7.1.0",
"ruff>=0.15.10",
"ty>=0.0.30",
]
[tool.pytest.ini_options]
addopts = "--cov=src/Jabberjay --cov-report=term-missing --cov-report=xml"
[tool.coverage.run]
source = ["src/Jabberjay"]
omit = [
"*/__pycache__/*",
"*/Models/RawNet2/model.py", # third-party neural network architecture
]
[tool.coverage.report]
exclude_lines = [
"pragma: no cover",
"if __name__ == .__main__.:",
]
[tool.black]
line-length = 88
target-version = ["py311", "py312", "py313", "py314"]
[tool.ruff]
line-length = 88
[tool.ruff.lint]
# E4/E7/E9 and F are safe alongside black; I adds isort; avoid E1-E3/W which overlap with black
select = ["E4", "E7", "E9", "F", "I"]
[tool.ty.environment]
python-version = "3.14"
[tool.hatch.build.targets.wheel]
packages = ["src/Jabberjay"]