forked from ZJUEarthData/Geochemistrypi
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathpyproject.toml
78 lines (70 loc) · 2.39 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
[build-system]
requires = ["hatchling"]
build-backend = "hatchling.build"
[project]
name = "geochemistrypi"
version = "0.4.0.dev2"
authors = [
{ name="Can He", email="[email protected]" },
]
maintainers = []
description = "A highly automated machine learning Python framework for data-driven geochemistry discovery"
readme = "README.md"
license = { file="LICENSE" }
requires-python = "~=3.9"
classifiers = [
"Programming Language :: Python :: 3.9",
"License :: OSI Approved :: MIT License",
"Operating System :: OS Independent",
]
dependencies = [
"typer==0.7.0",
"ray==2.2.0",
"ray[tune]",
"optuna",
"pydantic<2.0.0",
"scikit-learn==1.1.3",
"seaborn==0.11.0",
"multipledispatch==0.6.0",
"statsmodels==0.13.2",
"scipy",
"openpyxl==3.0.10",
"pandas==1.5.2",
"joblib==1.2.0",
"flaml==1.0.14", # required to run Xgboost + FLMAL
"numpy==1.23.5", # required to run Xgboost + FLMAL
"xgboost==1.6.2", # required to run Xgboost + FLAML and be compatible with M2 chip on Mac
"threadpoolctl==3.1.0", # required to draw 3d plot for KMeans
"matplotlib==3.5.2", # required to draw 3d plot for KMeans
"fastapi", # backend framework
"uvicorn", # required to run uvicorn
"python-multipart", # required to run uvicorn
"dash", # required to run dash
"sqlalchemy", # required to run sqlalchemy
"passlib", # required to run passlib
"python-jose[cryptography]", # required to run python-jose
"bcrypt", # required to run bcrypt
"python-dotenv", # required to run python-dotenv
"rich", # color print
"mlflow", # required to run mlflow
"imblearn",
]
[tool.black]
line-length = "200"
[tool.isort]
line_length = "200"
profile = "black"
[tool.flake8]
max-line-length = "200"
max-complexity = "20"
ignore = "F811,W605"
[project.optional-dependencies]
test = [
"pytest"
]
[project.urls]
"Homepage" = "https://github.com/ZJUEarthData/geochemistrypi"
"Bug Tracker" = "https://github.com/ZJUEarthData/geochemistrypi/issues"
"Online Documentation" = "https://geochemistrypi.readthedocs.io/en/latest/"
[project.scripts]
geochemistrypi = "geochemistrypi.cli:app"