forked from asreview/asreview
-
Notifications
You must be signed in to change notification settings - Fork 0
/
pyproject.toml
198 lines (174 loc) · 5.27 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
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
196
197
198
[build-system]
build-backend = 'setuptools.build_meta'
requires = ["setuptools>=45", "setuptools_scm[toml]>=6.2"]
[tool.setuptools]
packages = ["asreview"]
[tool.setuptools.package-data]
asreview = [
"webapp/build/*",
"webapp/build/static/*/*",
]
[tool.setuptools.exclude-package-data]
asreview = [
".gitignore",
"docs",
"asreview/webapp/node_modules",
"build",
"*.tests.*",
]
[tool.setuptools_scm]
write_to = "asreview/_version.py"
[project]
name = "asreview"
description = "ASReview LAB - A tool for AI-assisted systematic reviews"
authors = [
{ name = "ASReview LAB developers", email = "[email protected]" }
]
keywords=["systematic review", "machine-learning"]
readme = "README.md"
classifiers = [
"Development Status :: 5 - Production/Stable",
"License :: OSI Approved :: Apache Software License",
"Programming Language :: Python :: 3",
"Programming Language :: Python :: 3.8",
"Programming Language :: Python :: 3.9",
"Programming Language :: Python :: 3.10",
"Programming Language :: Python :: 3.11",
"Topic :: Scientific/Engineering :: Artificial Intelligence",
"Topic :: Scientific/Engineering :: Information Analysis",
"Topic :: Text Processing :: General",
"Framework :: Flask",
]
license = {text = "Apache 2.0"}
dependencies = [
"numpy",
"pandas>=2,<3",
"scikit-learn",
"rispy~=0.7.0",
"setuptools",
"flask>=2.3.0",
"flask_cors",
"flask-login>=0.6.3",
"flask-mail",
"Werkzeug>=2.3.2",
"openpyxl>=3.0.3",
"xlsxwriter>=3",
"jsonschema",
"filelock",
"Flask-SQLAlchemy>=3.0.2",
"requests",
"tqdm",
"rich",
"gevent>=20",
"datahugger>=0.2",
"synergy_dataset",
"sqlalchemy-utils",
"tomli; python_version < '3.11'",
]
dynamic = ["version"]
requires-python = ">=3.10"
[project.scripts]
asreview = "asreview.__main__:main"
[project.entry-points."asreview.entry_points"]
lab = "asreview.webapp.entry_points.lab:lab_entry_point"
auth-tool = "asreview.webapp.entry_points.auth_tool:AuthTool"
simulate = "asreview.simulation.cli:_cli_simulate"
algorithms = "asreview.models.cli:cli_algorithms"
[project.entry-points."asreview.entry_points_internal"]
task-manager = "asreview.webapp.entry_points.task_manager:main"
[project.entry-points."asreview.readers"]
".csv" = "asreview.data:CSVReader"
".tab" = "asreview.data:CSVReader"
".tsv" = "asreview.data:CSVReader"
".ris" = "asreview.data:RISReader"
".txt" = "asreview.data:RISReader"
".xlsx" = "asreview.data:ExcelReader"
[project.entry-points."asreview.writers"]
".csv" = "asreview.data:CSVWriter"
".tab" = "asreview.data:TSVWriter"
".tsv" = "asreview.data:TSVWriter"
".ris" = "asreview.data:RISWriter"
".txt" = "asreview.data:RISWriter"
".xlsx" = "asreview.data:ExcelWriter"
[project.entry-points."asreview.datasets"]
synergy = "asreview.datasets:SynergyDataGroup"
[project.entry-points."asreview.models.classifiers"]
svm = "asreview.models.classifiers:SVMClassifier"
nb = "asreview.models.classifiers:NaiveBayesClassifier"
rf = "asreview.models.classifiers:RandomForestClassifier"
logistic = "asreview.models.classifiers:LogisticClassifier"
[project.entry-points."asreview.models.feature_extraction"]
tfidf = "asreview.models.feature_extraction:Tfidf"
onehot = "asreview.models.feature_extraction:OneHot"
[project.entry-points."asreview.models.balance"]
balanced = "asreview.models.balance:Balanced"
[project.entry-points."asreview.models.query"]
max = "asreview.models.query.max_prob:MaxQuery"
random = "asreview.models.query.random:RandomQuery"
uncertainty = "asreview.models.query.uncertainty:UncertaintyQuery"
cluster = "asreview.models.query.cluster:ClusterQuery"
max_random = "asreview.models.query.mixed:MaxRandomQuery"
max_uncertainty = "asreview.models.query.mixed:MaxUncertaintyQuery"
[project.optional-dependencies]
lint = ["ruff", "check-manifest"]
test = [
"coverage",
"pytest",
"pytest-random-order",
"pytest-selenium"
]
docs = [
"ipython",
"sphinx",
"pydata-sphinx-theme",
"sphinx-reredirects",
"sphinxcontrib-youtube",
"nbsphinx",
"sphinx-design",
"myst-parser",
]
dev = [
"asreview[lint]",
"asreview[test]",
"asreview[docs]"
]
[project.urls]
"Bug Tracker" = "https://github.com/asreview/asreview/issues"
Documentation = "https://asreview.readthedocs.io/en/stable//"
Downloads = "https://github.com/asreview/asreview/releases"
Homepage = "https://asreview.ai/"
"Release Notes" = "https://github.com/asreview/asreview/releases"
"Slack Chat" = "https://asreviewcommunity.slack.com"
"Source Code" = "https://github.com/asreview/asreview"
YouTube = "https://www.youtube.com/@ASReview"
[ruff.lint]
select = ["E", "F", "UP", "I", "B"]
ignore = ["B904", "B008"]
exclude = [
".venv",
".vscode",
"_build",
"build",
"dist",
"node_modules",
"site-packages",
"venv",
"versioneer.py",
"docs/source/conf.py",
"asreview/_version.py",
]
line-length = 88
indent-width = 4
[tool.ruff.lint.per-file-ignores]
"asreview/config.py" = ["E501"]
[tool.ruff.lint.isort]
force-single-line = true
case-sensitive = true
[tool.ruff.format]
docstring-code-format = true
docstring-code-line-length = "dynamic"
[tool.pytest.ini_options]
addopts = "--ignore=asreview/webapp/tests/integration_tests"
markers = [
"internet_required: requires internet connection to run",
]