-
Notifications
You must be signed in to change notification settings - Fork 1
Expand file tree
/
Copy pathpyproject.toml
More file actions
123 lines (107 loc) · 3.13 KB
/
Copy pathpyproject.toml
File metadata and controls
123 lines (107 loc) · 3.13 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
117
118
119
120
121
122
123
[project]
name = "umik-base-app"
version = "0.10.1"
description = "Base framework and utilities for working with digital microphone in Python applications."
authors = [
{name = "Daniel Collier", email = "danielfcollier@gmail.com"}
]
readme = "README.md"
requires-python = ">=3.9, <3.14"
# Production Dependencies
dependencies = [
"numpy>=1.26.0",
"scipy>=1.12.0",
"pydantic>=2.5.0",
"sounddevice>=0.4.6",
"librosa>=0.10.0",
"pyloudnorm>=0.1.1",
"pydantic-settings>=2.1.0",
"pydub>=0.25.1",
"noisereduce>=3.0.0",
"matplotlib>=3.9.0",
"pandas>=2.2.0",
"python-dotenv>=1.2.1",
"pyzmq>=24.0.0",
"textual>=0.60.0",
"websockets>=12.0",
"aiohttp>=3.9.0",
"soundfile>=0.12.0",
]
[build-system]
requires = ["hatchling"]
build-backend = "hatchling.build"
[tool.hatch.build.targets.wheel]
packages = ["src/umik_base_app"]
[tool.setuptools]
packages = { find = { where = ["src"], include = ["umik_base_app*"] } }
[tool.setuptools.package-data]
"*" = ["*.sh", "*.json", "*.sql", "*.npy"]
[dependency-groups]
dev = [
"ruff>=0.1.0",
"mypy>=1.4.0",
"pytest>=7.4.0",
"pytest-cov>=4.0.0",
"pytest-timeout>=2.1.0",
"stdeb>=0.11.0",
"setuptools>=80.0",
]
publish = [
"boto3>=1.35",
"python-debian>=0.1.49",
"python-gnupg>=0.5",
]
[project.urls]
"Homepage" = "https://github.com/danielfcollier/py-umik-base-app"
"Bug Tracker" = "https://github.com/danielfcollier/py-umik-base-app/issues"
[project.scripts]
audio-tools = "umik_base_app.cli:main"
audio-tools-calibrate = "umik_base_app.apps.umik1_calibrator:main"
audio-tools-devices = "umik_base_app.apps.list_audio_devices:main"
audio-tools-meter = "umik_base_app.apps.real_time_meter:main"
audio-tools-record = "umik_base_app.apps.basic_recorder:main"
audio-tools-analyze = "umik_base_app.apps.metrics_analyzer:main"
audio-tools-plot = "umik_base_app.apps.metrics_plotter:main"
audio-tools-batch = "umik_base_app.scripts.audio_batch_analysis:main"
audio-tools-enhance = "umik_base_app.scripts.enhance_voice:main"
audio-tools-convert = "umik_base_app.scripts.convert_audio:main"
audio-tools-spectrum = "umik_base_app.apps.spectrum_analyzer:main"
audio-tools-play = "umik_base_app.apps.audio_player:main"
audio-clip = "umik_base_app.apps.audio_clip:main"
audio-tools-clip = "umik_base_app.apps.audio_clip_ui:main"
[tool.pytest.ini_options]
minversion = "6.0"
addopts = "-ra -q"
testpaths = [
"src/tests",
]
pythonpath = "src"
markers = [
"integration: marks tests as integration tests (deselect with '-m \"not integration\"')"
]
[tool.ruff]
line-length = 120
target-version = "py39"
exclude = [
".venv",
".git",
"__pycache__",
".github",
"src/umik_base_app/_version.py",
]
[tool.ruff.lint]
select = ["E", "F", "W", "I", "C90", "UP"]
[tool.ruff.lint.per-file-ignores]
"src/umik_base_app/__init__.py" = ["E402"]
"src/umik_base_app/apps/real_time_meter_tui.py" = ["E402"]
[tool.ruff.lint.mccabe]
max-complexity = 30
[tool.ruff.lint.isort]
combine-as-imports = true
[tool.ruff.format]
quote-style = "double"
[tool.mypy]
plugins = ['pydantic.mypy']
ignore_missing_imports = true
check_untyped_defs = true
namespace_packages = true