-
Notifications
You must be signed in to change notification settings - Fork 29
/
pyproject.toml
131 lines (115 loc) · 3.11 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
[tool.poetry]
name = "numalogic"
version = "0.13.3"
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",
"Programming Language :: Python :: 3.11",
"Programming Language :: Python :: 3.12"
]
repository = "https://github.com/numaproj/numalogic"
documentation = "https://numalogic.numaproj.io/"
homepage = "https://numalogic.numaproj.io/"
[tool.poetry.dependencies]
python = ">=3.9, <3.13"
numpy = "^1.26"
pandas = { version = "^2.0", extras = ["performance"] }
scikit-learn = "^1.3"
omegaconf = "^2.3.0"
cachetools = "^5.3.0"
orjson = "^3.9"
pynumaflow = "~0.8"
prometheus_client = "^0.18.0"
structlog = "^24.1.0"
numalogic-prometheus = { version = "^0.8", allow-prereleases = true }
wavefront-api-client = "^2.202.2"
# extras
mlflow-skinny = { version = "^2.0", optional = true }
redis = { extras = ["hiredis"], version = "^5.0", optional = true }
boto3 = { version = "^1.24.64", optional = true }
pydruid = { version = "^0.6", optional = true }
PyMySQL = { version = "^1.1.0", optional = true }
[tool.poetry.extras]
mlflow = ["mlflow-skinny"]
redis = ["redis"]
dynamodb = ["boto3"]
druid = ["pydruid"]
rds = ["PyMySQL", "boto3"]
[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.275"
pre-commit = "^3.3.1"
fakeredis = "^2.11.2"
freezegun = "^1.2.2"
pympler = "^1.0.1"
moto = "~4.1"
deepdiff = "^6.5.0"
pytest-mock = "^3.12.0"
[tool.poetry.group.jupyter]
optional = true
[tool.poetry.group.jupyter.dependencies]
jupyter = "^1.0.0"
ipykernel = "^6.15.1"
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", "D105", "PLW0603", "PLR0915", "UP035"]
target-version = "py39"
show-fixes = true
show-source = true
[tool.ruff.per-file-ignores]
"tests/*" = ["D101", "D103"]
[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"