2
2
build-backend = " poetry.core.masonry.api"
3
3
requires = [" poetry-core" ]
4
4
5
- [tool . poetry ]
5
+ [project ]
6
6
name = " presidio_analyzer"
7
7
version = " 2.2.357"
8
8
description = " Presidio Analyzer package"
9
- authors = [" Presidio < presidio@microsoft.com> " ]
9
+ authors = [{ name = " Presidio" , email = " presidio@microsoft.com" } ]
10
10
license = " MIT"
11
11
classifiers = [
12
12
" License :: OSI Approved :: MIT License" ,
@@ -21,34 +21,26 @@ urls = {Homepage = "https://github.com/Microsoft/presidio"}
21
21
readme = " README.md"
22
22
include = [" conf/*" ,]
23
23
24
- [tool .poetry .dependencies ]
25
- python = " >=3.9,<4.0"
26
- spacy = " >=3.4.4, <4.0.0, !=3.7.0"
27
- regex = " *"
28
- tldextract = " *"
29
- pyyaml = " *"
30
- phonenumbers = " >=8.12,<9.0.0"
31
- flask = { version = " >=1.1" , optional = true }
32
- spacy_huggingface_pipelines = { version = " *" , optional = true }
33
- stanza = { version = " >=1.10.1,<2.0.0" , optional = true }
34
- azure-ai-textanalytics = { version = " *" , optional = true }
35
- azure-core = { version = " *" , optional = true }
36
- gliner = {version = " >=0.2.13,<1.0.0" , markers = " python_version >= '3.10'" , optional = true }
37
- transformers = { version = " *" , optional = true }
38
- huggingface_hub = { version = " *" , optional = true }
39
- gunicorn = {version = " *" , optional = true }
40
- onnxruntime = [
41
- {version = " >=1.19" , markers = " python_version >= '3.10'" , optional = true },
24
+ requires-python = " >=3.9,<4.0"
25
+ dependencies = [
26
+ " spacy (>=3.4.4, <4.0.0, !=3.7.0)" ,
27
+ " regex" ,
28
+ " tldextract" ,
29
+ " pyyaml" ,
30
+ " phonenumbers (>=8.12,<9.0.0)"
42
31
]
43
32
44
- [tool .poetry .extras ]
45
- server = [" flask" , " gunicorn" ]
33
+ [project .optional-dependencies ]
34
+ server = [
35
+ " flask (>=1.1)" ,
36
+ " gunicorn"
37
+ ]
46
38
transformers = [
47
39
" transformers" ,
48
40
" huggingface_hub" ,
49
41
" spacy_huggingface_pipelines" ]
50
42
stanza = [
51
- " stanza" ,
43
+ " stanza (>=1.10.1,<2.0.0) " ,
52
44
]
53
45
azure-ai-language = [
54
46
" azure-ai-textanalytics" ,
@@ -57,8 +49,8 @@ azure-ai-language = [
57
49
gliner = [
58
50
" transformers" ,
59
51
" huggingface_hub" ,
60
- " gliner" ,
61
- " onnxruntime"
52
+ " gliner (>=0.2.13,<1.0.0) ; python_version >= '3.10' " ,
53
+ " onnxruntime (>=1.19) ; python_version >= '3.10' "
62
54
]
63
55
64
56
[tool .poetry .group .dev .dependencies ]
0 commit comments