-
Notifications
You must be signed in to change notification settings - Fork 1
Expand file tree
/
Copy pathpyproject.toml
More file actions
104 lines (93 loc) · 2.29 KB
/
pyproject.toml
File metadata and controls
104 lines (93 loc) · 2.29 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
[build-system]
requires = ["setuptools"]
build-backend = "setuptools.build_meta"
[tool.setuptools]
license-files = []
[tool.setuptools.packages.find]
include = ["netmedex*", "webapp*"]
[tool.setuptools.package-data]
webapp = [
"assets/*.js",
"assets/*.svg",
"assets/*.css",
"assets/*.ico",
"assets/*.png",
]
[project]
name = "netmedex"
version = "0.9.5"
authors = [{ name = "Zheng-Xiang Ye", email = "r12b48005@ntu.edu.tw" }, { name = "Chung-Yen Lin", email = "cylin@iis.sinica.edu.tw" }, { name = "Shu-Hwa Chen", email = "sophia0715@tmu.edu.tw" }]
description = "A tool to extract BioConcept entities (e.g., genes, diseases, chemicals, and species) from Pubtator3 and generate a co-mention network for interactive use."
readme = "README.md"
requires-python = ">=3.9"
dependencies = [
"requests",
"aiohttp",
"aiometer",
"tenacity",
"tqdm",
"networkx[default]~=3.2.1",
"lxml",
"python-dotenv",
"openai",
"dash[diskcache]~=2.17",
"dash-cytoscape~=1.0.2",
"dash-bootstrap_components~=1.7.1",
"chromadb>=0.4.0",
"tiktoken",
]
classifiers = [
"Development Status :: 5 - Production/Stable",
"Programming Language :: Python :: 3",
"Programming Language :: Python :: 3.11",
"Programming Language :: Python :: 3.12",
"License :: OSI Approved :: MIT License",
"Operating System :: OS Independent",
]
[project.optional-dependencies]
dev = [
"pytest~=8.3.2",
"pytest-xdist",
"pytest-cov",
"requests-mock",
"pytest-mock",
"ruff==0.8.0",
"pre-commit",
"mkdocs",
]
api = [
"fastapi",
"uvicorn",
]
ui = [
"gradio",
]
[project.scripts]
netmedex = "netmedex.cli:main"
[tool.ruff]
line-length = 99
target-version = "py311"
# exclude = [""]
[tool.ruff.lint]
select = [
"E", # pycodestyle errors
"W", # pycodestyle warnings
"F", # pyflakes
"I", # isort
"B", # flake8-bugbear
"C4", # flake8-comprehensions
"UP", # pyupgrade
# "ARG001", # unused arguments in functions
]
ignore = [
"E402", # module level import not at top of file
"E501", # line too long, handled by black
"B008", # do not perform function calls in argument defaults
"W191", # indentation contains tabs
"B904", # Allow raising exceptions without from e, for HTTPException
]
[tool.ruff.format]
quote-style = "double"
[tool.pyright]
include = ["./netmedex"]
typeCheckingMode = "standard"