-
Notifications
You must be signed in to change notification settings - Fork 48
Expand file tree
/
Copy pathpyproject.toml
More file actions
121 lines (105 loc) · 2.74 KB
/
Copy pathpyproject.toml
File metadata and controls
121 lines (105 loc) · 2.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
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
[project]
name = "metascreener"
version = "2.0.0a5"
description = "Open-source multi-LLM ensemble tool for systematic review workflows"
readme = "README.md"
license = { text = "Apache-2.0" }
authors = [
{name = "Chaokun Hong"},
]
keywords = [
"systematic-review", "screening", "llm",
"meta-analysis", "evidence-synthesis",
]
classifiers = [
"Development Status :: 3 - Alpha",
"Intended Audience :: Science/Research",
"License :: OSI Approved :: Apache Software License",
"Programming Language :: Python :: 3.11",
"Programming Language :: Python :: 3.12",
"Topic :: Scientific/Engineering :: Medical Science Apps.",
]
requires-python = ">=3.11"
dependencies = [
"litellm>=1.50",
"httpx>=0.27",
"pydantic>=2.0",
"pydantic-settings>=2.0",
"plotly>=5.0",
"pymupdf>=1.24",
"rispy>=0.8",
"bibtexparser>=2.0.0b9",
"pandas>=2.2",
"numpy>=1.26",
"scikit-learn>=1.5",
"scipy>=1.13",
"structlog>=24.0",
"pyyaml>=6.0",
"openpyxl>=3.1",
"fastapi>=0.115",
"jinja2>=3.1",
"python-multipart>=0.0.9",
"uvicorn[standard]>=0.32",
]
[project.optional-dependencies]
dev = [
"pytest>=8.0",
"pytest-asyncio>=0.24",
"pytest-cov>=5.0",
"ruff>=0.6",
"mypy>=1.11",
"pre-commit>=3.8",
"types-PyYAML>=6.0",
]
gpu = ["vllm>=0.6"]
viz = ["matplotlib>=3.9", "seaborn>=0.13", "kaleido>=0.2"]
[project.urls]
Homepage = "https://github.com/ChaokunHong/MetaScreener"
Repository = "https://github.com/ChaokunHong/MetaScreener"
Issues = "https://github.com/ChaokunHong/MetaScreener/issues"
[build-system]
requires = ["hatchling"]
build-backend = "hatchling.build"
[tool.hatch.build.targets.wheel]
packages = ["src/metascreener"]
[tool.hatch.build.targets.sdist]
include = ["src/", "configs/", "README.md", "pyproject.toml"]
[tool.ruff]
line-length = 100
src = ["src"]
[tool.ruff.lint]
select = ["E", "F", "I", "N", "W", "UP", "ANN", "B", "C4", "PT"]
[tool.mypy]
python_version = "3.11"
strict = true
warn_return_any = true
warn_unused_configs = true
plugins = ["pydantic.mypy"]
[tool.pydantic-mypy]
init_forbid_extra = true
init_typed = true
warn_required_dynamic_aliases = true
[[tool.mypy.overrides]]
module = ["plotly", "plotly.*", "pandas", "pandas.*", "kaleido"]
ignore_missing_imports = true
[[tool.mypy.overrides]]
module = ["uvicorn", "uvicorn.*"]
ignore_missing_imports = true
[[tool.mypy.overrides]]
module = ["openpyxl", "openpyxl.*"]
ignore_missing_imports = true
[tool.pytest.ini_options]
asyncio_mode = "auto"
testpaths = ["tests"]
addopts = "--tb=short"
[tool.coverage.run]
source = ["src/metascreener"]
branch = true
omit = [
"src/metascreener/__main__.py",
]
[tool.coverage.report]
show_missing = true
fail_under = 80
[tool.uv]
prerelease = "if-necessary-or-explicit"