forked from numaproj/numalogic
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathpyproject.toml
117 lines (101 loc) · 2.58 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
[tool.poetry]
name = "numalogic"
version = "0.4.0.post1"
description = "Collection of operational Machine Learning models and tools."
authors = ["Numalogic Developers"]
packages = [{ include = "numalogic" }]
readme = "README.md"
license = "Apache-2.0"
maintainers = [
"Avik Basu <[email protected]>",
"Vigith Maurice <[email protected]>",
]
classifiers = [
"Topic :: Software Development :: Libraries",
"License :: OSI Approved :: Apache Software License",
"Intended Audience :: Developers",
"Topic :: Scientific/Engineering :: Artificial Intelligence",
"Programming Language :: Python :: 3.9",
"Programming Language :: Python :: 3.10"
]
repository = "https://github.com/numaproj/numalogic"
documentation = "https://numalogic.numaproj.io/"
homepage = "https://numalogic.numaproj.io/"
[tool.poetry.dependencies]
python = ">=3.9, <3.11"
numpy = "^1.23"
pandas = "^2.0"
scikit-learn = "^1.2"
omegaconf = "^2.3.0"
cachetools = "^5.3.0"
# extras
mlflow-skinny = { version = ">2.0, <3.0", optional = true }
redis = {extras = ["hiredis"], version = "^4.5.4", optional = true}
pynumaflow = { version = "~0.4", optional = true }
[tool.poetry.extras]
mlflow = ["mlflow-skinny"]
redis = ["redis"]
numaflow = ["pynumaflow"]
[tool.poetry.group.torch]
optional = true
[tool.poetry.group.torch.dependencies]
pytorch-lightning = "^2.0"
[tool.poetry.group.dev]
optional = true
[tool.poetry.group.dev.dependencies]
matplotlib = "^3.4.2"
black = "^23.0"
pytest = "^7.1"
pytest-cov = "^4.0"
torchinfo = "^1.7.2"
ruff = "^0.0.264"
pre-commit = "^3.3.1"
fakeredis = "^2.11.2"
freezegun = "^1.2.2"
pympler = "^1.0.1"
[tool.poetry.group.jupyter]
optional = true
[tool.poetry.group.jupyter.dependencies]
jupyter = "^1.0.0"
ipykernel = "^6.15.1"
nb-black = "^1.0.7"
ipympl = "^0.9.1"
ipython-autotime = "^0.3.1"
[tool.black]
line-length = 100
include = '\.pyi?$'
exclude = '''
/(
\.eggs
| \.git
| \.hg
| \.mypy_cache
| \.tox
| \.venv
| \.idea
| _build
| buck-out
| build
| dist
| examples/.*/venv
| tests/.*/setup.py
)/
'''
[tool.ruff]
line-length = 100
src = ["numalogic", "tests"]
select = ["E", "F", "W", "C901", "NPY", "RUF", "TRY", "G", "PLE", "PLW", "UP", "ICN", "RET", "Q" , "PLR", "D"]
ignore = ["TRY003", "TRY301", "RUF100", "D100", "D104", "PLR2004", "D102", "D401", "D107", "D205"]
target-version = "py39"
show-fixes = true
show-source = true
[tool.ruff.per-file-ignores]
"tests/*" = ["D101"]
[tool.ruff.pylint]
max-args = 15
max-statements = 30
[tool.ruff.pydocstyle]
convention = "numpy"
[build-system]
requires = ["poetry-core>=1.0.0"]
build-backend = "poetry.core.masonry.api"