-
Notifications
You must be signed in to change notification settings - Fork 14
/
pyproject.toml
115 lines (97 loc) · 2.5 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
[tool.poetry]
name = "deepsearch-examples"
version = "0.2.0"
description = "Showcase some common usage of Deep Search for Document conversion as well as Data and Knowledge exploration."
authors = ["Michele Dolfi <dol@zurich.ibm.com>"]
license = "MIT"
readme = "README.md"
packages = [
{ include = "dsnotebooks" }
]
[tool.poetry.dependencies]
python = ">= 3.8, <3.11"
deepsearch-toolkit = "0.48.0"
jupyter = "^1.0.0"
ipywidgets = "^7" # previous major release is needed bcause of mols2grid
numpy = "^1.23.4"
matplotlib = "^3.6.2"
pillow = "^10.0.1"
wordcloud = "^1.8.2.2"
numerize = "^0.12"
openpyxl = "^3.0.10"
rdkit-pypi = "^2022.9.2"
mols2grid = "^2.0.0"
python-slugify = "^8.0.1"
torch-geometric = "^2.2"
torch = "^1.13.0"
spacy = "^3.5.2"
pydantic = "^2.0.3"
python-dotenv = "^1.0.0"
nbclient = "^0.9.0"
pandas = "^1.5.1"
argilla = "^1.24.0"
deepsearch-glm = {version = "v0.16.2", markers = "sys_platform != 'win32'"}
[tool.poetry.group.dev.dependencies]
black = {extras = ["jupyter"], version = "^22.1.0"}
pre-commit = "^2.17.0"
isort = "^5.10.1"
[build-system]
requires = ["poetry-core"]
build-backend = "poetry.core.masonry.api"
[tool.black]
line-length = 88
target-version = ["py38"]
include = '\.pyi?$'
extend-exclude = """
# Exclude generated API code
^/deepsearch/cps/apis/.+$
"""
[tool.isort]
profile = "black"
line_length = 88
skip_glob = ["docs", "deepsearch/cps/apis"]
py_version=38
known_first_party = ["cps"]
[tool.mypy]
pretty = true
# strict = true
no_implicit_optional = true
python_version = 3.8
# We are not going to bother about generated code...
[[tool.mypy.overrides]]
module = "deepsearch.cps.apis.*"
ignore_errors = true
# https://stackoverflow.com/a/60744115
implicit_reexport = true
# Silence errors for third-party packages that don't have
# typings available.
[[tool.mypy.overrides]]
module = "jose.*"
ignore_missing_imports = true
[[tool.mypy.overrides]]
module = "IPython.*"
ignore_missing_imports = true
[[tool.mypy.overrides]]
module = "ipywidgets.*"
ignore_missing_imports = true
[[tool.mypy.overrides]]
module = "ipython_blocking.*"
ignore_missing_imports = true
[[tool.mypy.overrides]]
module = "rdkit.*"
ignore_missing_imports = true
[[tool.mypy.overrides]]
module = "numpy.*"
ignore_missing_imports = true
[[tool.mypy.overrides]]
module = "pandas.*"
ignore_missing_imports = true
[[tool.mypy.overrides]]
module = "mhfp.*"
ignore_missing_imports = true
[[tool.mypy.overrides]]
module = "appdirs.*"
ignore_missing_imports = true
[[tool.mypy.overrides]]
module = "pluggy.*"
ignore_missing_imports = true