forked from sustainable-computing-io/kepler-model-server
-
Notifications
You must be signed in to change notification settings - Fork 0
/
pyproject.toml
101 lines (87 loc) · 2.13 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
[build-system]
requires = ["hatchling"]
build-backend = "hatchling.build"
[project]
name = "kepler-model-server"
dynamic = ["version"]
description = "kepler model server for serving kepler models"
readme = "README.md"
requires-python = ">= 3.10"
license = "Apache-2.0"
keywords = [
"kepler", "models",
"model-server", "estimator"
]
authors = [
{ name = "Sunyanan Choochotkaew", email = "[email protected]" },
{ name = "Sunil Thaha", email = "[email protected]" },
]
classifiers = [
"Programming Language :: Python",
"Programming Language :: Python :: 3",
"Programming Language :: Python :: 3.10",
]
dependencies = [
"flask==3.0.3",
"joblib==1.4.2",
"numpy==2.0.1",
"pandas==2.2.2",
"prometheus-api-client==0.5.5",
"prometheus-client==0.20.0",
"protobuf==5.27.2",
"psutil==6.0.0",
"py-cpuinfo==9.0.0",
"pyudev==0.24.3",
"pyyaml_env_tag==0.1",
"scikit-learn==1.5.1",
"scipy==1.14.0",
"seaborn==0.13.2",
"Werkzeug==3.0.3",
"xgboost==2.1.0",
]
[project.scripts]
model-server = "server.model_server:run"
estimator = "estimate.estimator:run"
[project.urls]
Documentation = "https://github.com/sustainable-computing-io/kepler-model-server#readme"
Issues = "https://github.com/sustainable-computing-io/kepler-model-server/issues"
Source = "https://github.com/sustainable-computing-io/kepler-model-server"
[tool.hatch.version]
path = "src/__about__.py"
[tool.hatch.build.targets.wheel]
packages = [
"src/server",
"src/estimate",
"src/util",
"src/train",
]
[tool.hatch.envs.default]
python = "3.10"
extra-dependencies = [
"ipython",
"ipdb",
]
[tool.hatch.envs.types]
extra-dependencies = [
"mypy>=1.0.0",
]
[tool.hatch.envs.types.scripts]
check = "mypy --install-types --non-interactive {args:src/kepler_model_server tests}"
[tool.coverage.run]
source_pkgs = ["server", "tests"]
branch = true
parallel = true
omit = [
"src/server/__about__.py",
]
[tool.coverage.paths]
server = ["src/server", "*/kepler-model-server/src"]
tests = ["tests", "*/kepler-model-server/tests"]
[tool.coverage.report]
exclude_lines = [
"no cov",
"if __name__ == .__main__.:",
"if TYPE_CHECKING:",
]
[tool.ruff]
line-length = 320