-
Notifications
You must be signed in to change notification settings - Fork 1
/
Copy pathpyproject.toml
138 lines (122 loc) · 3.22 KB
/
pyproject.toml
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
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
[build-system]
requires = ["hatchling"]
build-backend = "hatchling.build"
[tool.hatch.build.targets.wheel]
packages = ["src/qoa4ml"]
[tool.hatch.build.targets.sdist]
include = ["src/qoa4ml"]
[project]
name = "qoa4ml"
version = "0.3.18"
description = "Quality of Analysis for Machine Learning"
readme = "README.md"
authors = [
{ name = "AaltoSEA", email = "tri.m.nguyen@aalto.fi" },
{ name = "nguu0123", email = "nguu0123@gmail.com" },
]
license = { text = "Apache-2.0" }
keywords = ["Monitoring", "Machine Learning"]
homepage = "https://rdsea.github.io/"
repository = "https://github.com/rdsea/QoA4ML"
documentation = "https://rdsea.github.io/QoA4ML/"
requires-python = ">=3.9"
classifiers = [
"License :: OSI Approved :: Apache Software License",
"Development Status :: 3 - Alpha",
"Programming Language :: Python :: 3.9",
"Programming Language :: Python :: 3.10",
"Programming Language :: Python :: 3.11",
"Programming Language :: Python :: 3.12",
"Topic :: Software Development :: Libraries",
"Topic :: Software Development :: Libraries :: Python Modules",
"Topic :: System :: Monitoring",
"Topic :: Utilities",
"Operating System :: POSIX :: Linux",
]
dependencies = [
"pika>=1.3.2",
"psutil>=5.9.2",
"PyYAML>=6.0.1",
"requests>=2.31.0",
"fastapi>=0.110.2",
"flatten_dict>=0.4.2",
"pydantic>=2.7.4,<2.8",
"tinyflux>=1.0.0",
"uvicorn>=0.29.0",
"docker==7.1.0",
"numpy>=1.23.5",
"eval-type-backport>=0.2.0",
"devtools",
"lazy-import>=0.2.2",
]
optional-dependencies.kafka = ["confluent-kafka>=2.4.0"]
optional-dependencies.ml = [
"paho-mqtt==1.6.1",
"Pillow>=10.0.0",
"prometheus-client==0.16.0",
"tensorflow>=2.15.0",
"pandas>=2.2.2",
# "ydata-quality==0.1.0",
]
optional-dependencies.otel = [
"opentelemetry-api>=1.26.0",
"opentelemetry-sdk>=1.26.0",
"opentelemetry-instrumentation-system-metrics>=0.47b0",
]
optional-dependencies.docs = [
"mkdocs-material[recommended,imaging]>=9.5.17 ",
"mkdocstrings-python",
"cairosvg",
"mkdocs-gen-files",
"mkdocs-literate-nav",
"mkdocs-section-index",
]
[project.urls]
Repository = "https://github.com/rdsea/QoA4ML"
Documentation = "https://rdsea.github.io/QoA4ML/"
AaltoSEA = "https://rdsea.github.io/"
[tool.rye]
dev-dependencies = [
"pre-commit",
"ruff",
"codespell",
"pip>=24.2",
"pytest>=8.3.2",
"tox>=4.18.0",
"pytest-sugar>=1.0.0",
"tox-uv>=1.11.2",
"tox-gh-actions>=3.2.0",
]
managed = true
universal = true
[tool.ruff.format]
docstring-code-format = true
docstring-code-line-length = 10
[tool.ruff.lint.pydocstyle]
convention = "pep257" # Accepts: "google", "numpy", or "pep257".
[tool.ruff.lint]
exclude = ["src/qoa4ml/utils/pynvml_forked.py"]
select = [
"F", # Pyflakes
"E", # Pycode styles
"W", # Pycode styles
"N", # Pep8 naming
"I", # Isort
"UP", # Pyupgrade
"C4", # Flake8 comprehension
"ISC", # Flake8 implicit str concat
"B", # Flake8 bugbear
"PGH", # Pygrep hook
"RUF", # Ruff specific rules
]
ignore = [
"E501", # Line too long
"RET504", # Unnecessary assignment
"RET505", # Unnecessary else after return
"C901", # Too complex function
"B904", # raise-without-from-inside-except, enable when understand more
"PLR",
"ISC001",
]
[tool.rye.lint.pylint]
max-args = 10