-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathpyproject.toml
More file actions
133 lines (104 loc) · 2.42 KB
/
pyproject.toml
File metadata and controls
133 lines (104 loc) · 2.42 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
133
[build-system]
requires = ["setuptools>=68", "wheel", "build"]
build-backend = "setuptools.build_meta"
[project]
name = "ezyml"
version = "2"
description = "From dataset to production ML system — in one command."
readme = "README.md"
requires-python = ">=3.9"
license = { text = "MIT" }
authors = [
{ name = "Raktim Kalita", email = "raktimkalita.ai@gmail.com" }
]
keywords = [
"machine-learning",
"ml",
"mlops",
"automation",
"scikit-learn",
"deployment",
"fastapi",
"streamlit",
"kubernetes"
]
classifiers = [
"Development Status :: 4 - Beta",
"Intended Audience :: Developers",
"Intended Audience :: Science/Research",
"License :: OSI Approved :: MIT License",
"Programming Language :: Python :: 3",
"Programming Language :: Python :: 3.9",
"Programming Language :: Python :: 3.10",
"Programming Language :: Python :: 3.11",
"Programming Language :: Python :: 3.12",
"Topic :: Scientific/Engineering :: Artificial Intelligence"
]
# -----------------------------
# CORE DEPENDENCIES
# -----------------------------
dependencies = [
"numpy>=1.23",
"pandas>=1.5",
"scikit-learn>=1.3",
"scipy>=1.9",
"xgboost>=1.7",
"pyyaml>=6.0",
]
# -----------------------------
# OPTIONAL DEPENDENCIES
# -----------------------------
[project.optional-dependencies]
demo = [
"streamlit>=1.30"
]
api = [
"fastapi>=0.110",
"uvicorn>=0.25"
]
deploy = [
"docker",
"kubernetes"
]
dev = [
"pytest",
"black",
"ruff",
"mypy",
"twine"
]
all = [
"streamlit>=1.30",
"fastapi>=0.110",
"uvicorn>=0.25",
"docker",
"kubernetes"
]
# -----------------------------
# CLI ENTRY POINT
# -----------------------------
[project.scripts]
ezyml = "ezyml.cli:main"
# -----------------------------
# SETUPTOOLS PACKAGE DISCOVERY
# -----------------------------
[tool.setuptools]
packages = { find = { where = ["."] } }
[tool.setuptools.package-dir]
"" = "."
# -----------------------------
# INCLUDE NON-PY FILES
# -----------------------------
[tool.setuptools.package-data]
ezyml = ["**/*.yaml", "**/*.yml", "**/*.json"]
# -----------------------------
# TOOLING CONFIGS (OPTIONAL)
# -----------------------------
[tool.black]
line-length = 100
target-version = ["py39"]
[tool.ruff]
select = ["E", "F", "I"]
ignore = ["E501"]
[tool.mypy]
ignore_missing_imports = true