Repository navigation
Expand file tree
/
Copy pathpyproject.toml
More file actions
132 lines (119 loc) · 2.46 KB
/
Copy pathpyproject.toml
File metadata and controls
132 lines (119 loc) · 2.46 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
124
125
126
127
128
129
130
131
132
[build-system]
requires = ["setuptools>=80", "wheel", "setuptools_scm[toml]>=6.0"]
build-backend = "setuptools.build_meta"
[project]
name = "l9gpu"
readme = "README.md"
description = "Last9 GPU Telemetry: Vendor-Agnostic GPU Monitoring for AI Clusters"
requires-python = ">=3.10"
dependencies = [
# TODO: Unpin the requests version
"requests==2.34.2",
"pynvml==11.4.*",
"typing_extensions",
"click==8.0.4",
"typeguard==4.6.0",
"click-option-group",
"pydantic==2.13.4",
"omegaconf~=2.2",
"tomli~=2.0",
"certifi>=2024.02.02",
"opentelemetry-api",
"opentelemetry-sdk",
"opentelemetry-exporter-otlp",
"gni>=0.1.3",
"psutil",
"cffi",
"python-daemon",
]
dynamic = ["version"]
license = { text = "MIT" }
[project.urls]
Homepage = "https://last9.io"
Documentation = "https://last9.io/docs/"
Source = "https://github.com/last9/gpu-telemetry"
Issues = "https://github.com/last9/gpu-telemetry/issues"
[project.optional-dependencies]
amd = ["amdsmi"]
gaudi = [] # no Python package, pure CLI parsing
k8s = ["kubernetes>=29.0.0"]
dev = [
"parameterized",
"virtualenv>=20.28.1",
"flake8==7.1.1",
"black>=24.3.0",
"ufmt==2.5.0",
"usort==1.0.5",
"nox==2024.04.15",
"isort",
"twine",
"pip-tools",
"pre-commit",
"pytest",
"pytest-mock",
"mypy==1.20.1",
"requests-mock",
"pytest-subprocess",
"types-requests",
"build",
"toml",
"types-toml",
"pep8-naming",
"flake8-tidy-imports",
"python-dotenv",
"pytest-xdist[psutil]",
"cryptography>=43.0.1",
"types-psutil",
]
[project.scripts]
l9gpu = "l9gpu.monitoring.cli.l9gpu:main"
health_checks = "l9gpu.health_checks.cli.health_checks:health_checks"
[tool.setuptools]
zip-safe = false
[tool.setuptools.packages.find]
where = ["."]
include = ["l9gpu*"]
exclude = [
"l9gpu/tests",
"l9gpu/tests.*",
]
[tool.setuptools.dynamic]
version = { attr = "l9gpu._version.__version__" }
[tool.setuptools.package-data]
l9gpu = ["py.typed", "version.txt"]
[tool.usort]
first_party_detection = false
[tool.black]
line-length = 88
target_version = ['py310']
include = '\.pyi?$'
exclude = '''
(
/(
\.eggs # exclude a few common directories in the
| \.git # root of the project
| \.hg
| \.mypy_cache
| \.tox
| \.venv
| _build
| buck-out
| build
| dist
| l9gpu/gen
)/
)
'''
[tool.pyright]
include = [
"bin",
"l9gpu",
"l9gpu_exporters",
"l9gpu_schemas",
"health_checks",
"tests",
]
exclude = [
"build",
"**/__pycache__",
]