-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathpyproject.toml
63 lines (54 loc) · 1.36 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
[build-system]
requires = [
"setuptools>=45",
"setuptools_scm[toml]>=6.2",
]
build-backend = "setuptools.build_meta"
[project]
name = "miade"
authors = [
{name = "James Brandreth", email = "[email protected]"},
{name = "Jennifer Jiang", email= "[email protected]"}
]
description = "A set of tools for extracting formattable data from clinical notes stored in electronic health record systems."
requires-python = ">=3.8"
dynamic = ["version"]
dependencies = [
"medcat==1.9.3",
"spacy>=3.4.2, <3.5.0", # need to be compatible with latest med7 model
"numpy>=1.22.0",
"pandas>=1.4.2", # support 2.0.0
"gensim>=4.3.0",
"typer>=0.7.0",
'typing>=3.7.4',
"pathlib>=1.0.1",
"pydantic>=1.10.0", # compatibility with spacy
"negspacy>=1.0.3",
]
[project.optional-dependencies]
dev = [
"pytest>=7.1.3",
"jupyterlab>=3.4.7",
"black>=22.12.0",
]
dashboard = [
"streamlit>=1.20.0",
"streamlit-aggrid>=0.3.4.post3",
"spacy-streamlit>=1.0.5",
"seaborn>=0.12.2",
"python-dotenv>=1.0.0"
]
[project.scripts]
miade = "scripts.miade:app"
[tool.setuptools_scm]
write_to = "src/_version.py"
[tool.setuptools]
package-dir = {"" = "src"}
[tool.setuptools.packages.find]
where = ["src"]
[tool.setuptools.package-data]
miade = ["data/*.csv"]
[tool.ruff]
line-length = 120
[tool.ruff.lint]
ignore = ["E721"]