forked from aphp/eds-pseudo
-
Notifications
You must be signed in to change notification settings - Fork 0
/
pyproject.toml
155 lines (141 loc) · 4.21 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
[tool.poetry]
name = "eds-pseudonymisation"
version = "0.2.0"
description = ""
authors = ["Perceval Wajsburt <[email protected]>", "Alice Calliger <[email protected]>", "Basile Dura <[email protected]>"]
include = ["eds_pseudonymisation/resources/*.csv.gz"]
[tool.poetry.plugins."spacy_factories"]
"structured-data-matcher" = "eds_pseudonymisation.pipelines.structured:StructuredDataMatcher"
"pseudonymisation-rules" = "eds_pseudonymisation.pipelines.pseudonymisation.pseudonymisation:Pseudonymisation"
"pseudonymisation-dates" = "eds_pseudonymisation.pipelines.dates.factory:create_component"
"pseudonymisation-addresses" = "eds_pseudonymisation.pipelines.addresses.addresses:PseudonymisationAddresses"
"clean-entities" = "eds_pseudonymisation.pipelines.clean_entities:CleanEntities"
[tool.poetry.plugins."spacy_readers"]
"eds-pseudonymisation.Corpus.v1" = "eds_pseudonymisation.corpus_reader:PseudoCorpus"
[tool.poetry.dependencies]
python = "^3.9"
spacy = "^3.2.4"
spacy-transformers = "^1.1.5"
thinc = "^8.0.13"
edsnlp = "^0.7.2"
sentencepiece = "^0.1.96"
cupy = {version = "^11.0.0", optional = true}
cupy-cuda80 = {version = "^7.8.0", optional = true}
cupy-cuda90 = {version = "^8.6.0", optional = true}
cupy-cuda91 = {version = "^7.8.0", optional = true}
cupy-cuda92 = {version = "^8.6.0", optional = true}
cupy-cuda100 = {version = "^9.6.0", optional = true}
cupy-cuda101 = {version = "^9.6.0", optional = true}
cupy-cuda102 = {version = "^11.0.0", optional = true}
cupy-cuda110 = {version = "^11.0.0", optional = true}
cupy-cuda111 = {version = "^10.6.0", optional = true}
cupy-cuda112 = {version = "^10.6.0", optional = true}
cupy-cuda113 = {version = "^10.6.0", optional = true}
cupy-cuda114 = {version = "^10.6.0", optional = true}
cupy-cuda115 = {version = "^10.6.0", optional = true}
cupy-cuda116 = {version = "^10.6.0", optional = true}
cupy-cuda117 = {version = "^10.6.0", optional = true}
thinc-apple-ops = {version = "^0.1.0", optional = true}
torch = ">=1.0"
scipy = [
{version = "^1.10.1", markers="python_version >= '3.8'"},
{version = "^1.6.1", markers="python_version < '3.8'"},
]
[tool.poetry.group.dev.dependencies]
dvc = {version = "^2.37.0", markers="python_version >= '3.8'"}
loguru = "^0.6.0"
typer = "^0.4.1"
pandas = "^1.3.0"
pyarrow = "^7.0.0"
fsspec = "^2022.3.0"
black = "22.6.0"
flake8 = ">=3.0"
pre-commit = "^2.18.1"
pytest = "^7.1.1"
pytest-cov = "^3.0.0"
mypy = "^0.950"
coverage = "^6.5.0"
toml = "^0.10.2"
wheel = "^0.40.0"
[tool.poetry.group.docs]
optional = true
[tool.poetry.group.docs.dependencies]
mike = "^1.1.2"
mkdocs-bibtex = "^2.0.3"
mkdocs-gen-files = "^0.3.4"
mkdocs-literate-nav = "^0.4.1"
mkdocs-material = "^8.2.8"
mkdocstrings = "^0.18.1"
mkdocstrings-python = "^0.6.6"
mkdocs-glightbox = "^0.1.6"
mkdocs-autorefs = "^0.4.1"
mkdocs-charts-plugin = "^0.0.8"
[tool.poetry.extras]
cuda = ["cupy"]
cuda80 = ["cupy-cuda80"]
cuda90 = ["cupy-cuda90"]
cuda91 = ["cupy-cuda91"]
cuda92 = ["cupy-cuda92"]
cuda100 = ["cupy-cuda100"]
cuda101 = ["cupy-cuda101"]
cuda102 = ["cupy-cuda102"]
cuda110 = ["cupy-cuda110"]
cuda111 = ["cupy-cuda111"]
cuda112 = ["cupy-cuda112"]
cuda113 = ["cupy-cuda113"]
cuda114 = ["cupy-cuda114"]
cuda115 = ["cupy-cuda115"]
cuda116 = ["cupy-cuda116"]
cuda117 = ["cupy-cuda117"]
apple = ["thinc-apple-ops"]
[tool.poetry.group.spark]
optional = true
[tool.poetry.group.spark.dependencies]
pyspark = "2.4.3"
[tool.interrogate]
ignore-init-method = true
ignore-init-module = true
ignore-magic = false
ignore-semiprivate = false
ignore-private = false
ignore-property-decorators = false
ignore-module = true
ignore-nested-functions = false
ignore-nested-classes = true
ignore-setters = false
fail-under = 10
exclude = ["docs", "build", "tests"]
verbose = 0
quiet = false
whitelist-regex = []
color = true
omit-covered-files = false
[tool.pytest.ini_options]
testpaths = [
"tests",
]
[tool.mypy]
plugins = "pydantic.mypy"
[tool.ruff]
fix = true
exclude = [
".git",
"__pycache__",
"__init__.py",
".mypy_cache",
".pytest_cache",
".venv",
"build",
]
ignore = []
line-length = 88
select = [
"E",
"F",
"W",
"I001"
]
fixable = ["E", "F", "W", "I"]
[build-system]
requires = ["poetry-core>=1.0.0", "pypandoc<1.8.0"]
build-backend = "poetry.core.masonry.api"