-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathpyproject.toml
More file actions
89 lines (83 loc) · 1.74 KB
/
pyproject.toml
File metadata and controls
89 lines (83 loc) · 1.74 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
[project]
name = "cathode-screening"
version = "1.4.0"
description = "AI-powered screening of lithium-ion battery cathode materials"
license = { text = "MIT" }
requires-python = ">=3.10,<3.13"
dependencies = [
"torch>=2.0,<3",
"numpy>=1.24,<2",
"pandas>=2.0,<3",
"scikit-learn>=1.3,<2",
"pymatgen>=2024.1.1,<2026",
"chgnet>=0.3.0,<1",
"mp-api>=0.37,<1",
"tqdm>=4.65",
"python-dotenv>=1.0",
"pyarrow>=14.0,<18",
"pyyaml>=6.0",
]
[project.optional-dependencies]
train = [
"tensorboard>=2.14",
"wandb>=0.16,<1",
]
mace = [
"mace-torch>=0.3.0",
]
api = [
"fastapi>=0.104,<1",
"uvicorn[standard]>=0.24,<1",
"opentelemetry-api>=1.20",
"opentelemetry-sdk>=1.20",
"opentelemetry-exporter-otlp-proto-http>=1.20",
"opentelemetry-instrumentation-fastapi>=0.40b0",
"opentelemetry-instrumentation-logging>=0.40b0",
]
queue = [
"celery[redis]>=5.3,<6",
"redis>=5.0,<6",
]
postgres = [
"psycopg2-binary>=2.9,<3",
]
registry = [
"mlflow>=2.10,<3",
]
loadtest = [
"locust>=2.20,<3",
]
sso = [
"pyjwt>=2.8,<3",
]
gcp = [
"google-cloud-storage>=2.0,<3",
]
dvc = [
"dvc>=3.0,<4",
"dvc-gs>=3.0,<4",
"dvc-s3>=3.0,<4",
]
dev = [
"pytest>=7.4",
"pytest-cov>=4.1",
"ruff>=0.1",
"httpx>=0.25",
]
[build-system]
requires = ["setuptools>=68"]
build-backend = "setuptools.build_meta"
[tool.setuptools.packages.find]
where = ["src"]
[tool.ruff]
line-length = 100
target-version = "py310"
[tool.ruff.lint]
select = ["E", "F", "W", "I", "UP", "B", "SIM"]
ignore = ["E501"]
[tool.pytest.ini_options]
testpaths = ["src/cathode_screening/tests", "tests"]
python_files = "test_*.py"
markers = [
"integration: End-to-end integration tests (require model artifacts)",
]