Repository navigation
Expand file tree
/
Copy pathpyproject.toml
More file actions
76 lines (63 loc) · 2.05 KB
/
Copy pathpyproject.toml
File metadata and controls
76 lines (63 loc) · 2.05 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
[build-system]
requires = ["setuptools>=77.0.3", "wheel"]
build-backend = "setuptools.build_meta"
[project]
name = "akiki"
version = "0.3.0"
description = "Local audio and vision inference and decision models"
readme = "README.md"
requires-python = ">=3.10"
license = "Apache-2.0"
license-files = ["LICENSE", "THIRD_PARTY_NOTICES.txt"]
authors = [{name = "Akiki AI"}]
keywords = ["vad", "audio", "speech", "voice-activity-detection", "vision", "object-detection", "decision-models", "intent-classification", "minilm", "sentence-embeddings", "text-classification"]
classifiers = [
"Development Status :: 3 - Alpha",
"Programming Language :: Python :: 3",
"Topic :: Multimedia :: Sound/Audio :: Analysis",
"Topic :: Scientific/Engineering :: Artificial Intelligence",
]
dependencies = ["numpy>=1.24", "soundfile>=0.12"]
[project.optional-dependencies]
huggingface = ["huggingface-hub>=0.24"]
onnx = ["onnxruntime>=1.17"]
pytorch = ["torch>=2.1"]
ten-vad = ["huggingface-hub>=0.24", "onnx>=1.16"]
training = ["torch>=2.1", "transformers>=4.40,<6", "safetensors>=0.4"]
[project.urls]
Homepage = "https://huggingface.co/Akiki-AI"
[project.scripts]
akiki = "akiki.__main__:main"
[dependency-groups]
dev = [
"pre-commit>=4.0",
"pytest>=8.0",
"ruff==0.17.3",
"yamllint==1.38.0",
]
[tool.setuptools]
include-package-data = false
[tool.setuptools.packages.find]
where = ["src"]
include = ["akiki", "akiki.audio", "akiki.vision"]
namespaces = false
[tool.setuptools.package-data]
akiki = ["models/*.onnx", "models/*.pt", "models/*.json", "models/*.md", "models/*.txt", "models/akiki-vad-native/*.json", "models/akiki-vad-native/*.safetensors"]
[tool.pytest.ini_options]
pythonpath = ["src"]
testpaths = ["tests"]
[tool.ruff]
target-version = "py310"
line-length = 100
required-version = "==0.17.3"
extend-exclude = [".cache", "verification"]
force-exclude = true
[tool.ruff.lint]
select = ["E4", "E7", "E9", "F", "I"]
[tool.ruff.lint.isort]
known-first-party = ["akiki"]
[tool.ruff.format]
quote-style = "double"
indent-style = "space"
line-ending = "lf"
docstring-code-format = true