-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathpyproject.toml
More file actions
75 lines (65 loc) · 2.16 KB
/
Copy pathpyproject.toml
File metadata and controls
75 lines (65 loc) · 2.16 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
[project]
name = "matgraph-cli"
version = "2.1.0"
description = "Complete computational materials science toolkit: ML predictions, DFT bridge, stability, band structure, elastic, dielectric, magnetic, and genetic algorithm discovery"
readme = "README.md"
requires-python = ">=3.9"
authors = [
{name = "Himan", email = "himan@trinetralabs.ai"}
]
dependencies = [
"typer>=0.9.0",
"rich>=13.0.0",
"strawberry-graphql>=0.210.0",
"fastapi>=0.103.0",
"uvicorn>=0.23.0",
"pymatgen>=2023.10.11",
"mp-api>=0.37.0",
"scikit-learn>=1.3.0",
"torch>=2.0.0",
"ase>=3.26.0",
"huggingface-hub>=1.8.0",
"gradio>=4.44.1",
"matgl>=1.2.1",
"pydantic>=2.0.0",
"pydantic-settings>=2.0.0",
"numpy>=1.24.0",
]
[project.optional-dependencies]
parquet = ["pandas>=2.0.0", "pyarrow>=12.0.0"]
polars = ["polars>=0.19.0"]
ml = ["matgl>=1.2.1", "torch>=2.0.0", "ase>=3.26.0"]
dft = ["pymatgen>=2023.10.11", "ase>=3.26.0"]
api = ["fastapi>=0.103.0", "strawberry-graphql>=0.210.0", "uvicorn>=0.23.0"]
ui = ["gradio>=4.44.1"]
all = ["matgraph-cli[parquet,polars,ml,dft,api,ui]"]
dev = ["pytest>=7.0.0", "pytest-cov>=4.0.0", "ruff>=0.2.0", "mypy>=1.8.0", "httpx>=0.24.0"]
[project.scripts]
matgraph = "matgraph.cli:app"
[project.urls]
Homepage = "https://github.com/Himan-D/matgraph-cli"
Documentation = "https://github.com/Himan-D/matgraph-cli/blob/main/README.md"
Repository = "https://github.com/Himan-D/matgraph-cli.git"
"Bug Tracker" = "https://github.com/Himan-D/matgraph-cli/issues"
"Try in Colab" = "https://colab.research.google.com/github/Himan-D/matgraph-cli/blob/main/notebooks/MatGraph_Tutorial.ipynb"
[build-system]
requires = ["hatchling"]
build-backend = "hatchling.build"
[tool.hatch.build.targets.wheel]
packages = ["matgraph"]
[dependency-groups]
dev = ["pytest>=7.0.0", "pytest-cov>=4.0.0", "ruff>=0.2.0", "mypy>=1.8.0", "httpx>=0.24.0"]
[tool.ruff]
line-length = 100
target-version = "py39"
[tool.ruff.lint]
select = ["E","F","I","B","UP","SIM"]
ignore = ["E501"]
[tool.mypy]
python_version = "3.9"
warn_return_any = true
warn_unused_configs = true
ignore_missing_imports = true
[tool.pytest.ini_options]
testpaths = ["tests"]
addopts = "-q"