-
Notifications
You must be signed in to change notification settings - Fork 1
/
pyproject.toml
135 lines (116 loc) · 3.08 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
[build-system]
requires = ["setuptools>=42.0", "wheel"]
build-backend = "setuptools.build_meta"
[project]
name = "fundus-evaluation"
version = "0.2.0"
authors = [
{ name = "Max Dallabetta", email = "max.dallabetta@googlemail.com" },
{ name = "Conrad Dobberstein" },
{ name = "Adrian Breiding" },
{ name = "Alan Akbik" },
]
description = "Evaluation of the Fundus news crawler"
readme = "README.md"
requires-python = ">=3.8"
classifiers = [
"License :: OSI Approved :: MIT License",
"Operating System :: OS Independent",
"Intended Audience :: Developers",
"Intended Audience :: Education",
"Intended Audience :: Science/Research",
"Programming Language :: Python :: 3",
"Programming Language :: Python :: 3.8",
"Programming Language :: Python :: 3.9",
]
keywords = ["web scraping", "web crawling", "evaluation"]
dependencies = [
"more-itertools==9.1.0",
"numpy<=2.0.0",
"pandas==2.0.3",
"resiliparse==0.14.5",
"seaborn==0.13.2",
"tqdm==4.66.2",
"typing-extensions==4.10.0",
# News crawler dependencies
"boilerpipe3==1.3.0",
"fundus==0.4.1",
"justext==3.0.1",
"news-please==1.6.13",
"trafilatura==1.12.0",
# BoilerNet dependencies
"html5lib==1.1",
"scikit-learn==1.2.1",
"tensorflow==2.11.0",
# Scorer dependencies
"jiwer==3.0.3",
"rouge-score==0.1.2",
]
[project.urls]
"Repository" = "https://github.com/dobbersc/fundus-evaluation"
"Fundus Repository" = "https://github.com/flairNLP/fundus"
[project.optional-dependencies]
dev = [
"mypy==1.8.0",
"isort==5.13.2",
"black==24.2.0",
# Type stubs
"pandas-stubs==2.0.3.230814",
"types-tqdm==4.66.0.20240106",
]
[project.scripts]
evaluate = "fundus_evaluation:__main__.main"
[tool.mypy]
check_untyped_defs = true
disallow_any_generics = true
disallow_untyped_defs = true
no_implicit_optional = true
no_implicit_reexport = true
show_error_codes = true
strict_equality = true
warn_redundant_casts = true
warn_return_any = true
warn_unreachable = true
warn_unused_configs = true
warn_unused_ignores = true
[[tool.mypy.overrides]]
module = "boilerpipe.*"
ignore_missing_imports = true
[[tool.mypy.overrides]]
module = "fundus_evaluation.scrapers.boilernet.*"
ignore_errors = true
[[tool.mypy.overrides]]
module = "fundus_evaluation.scrapers.bte"
ignore_errors = true
[[tool.mypy.overrides]]
module = "jiwer.*"
ignore_missing_imports = true
[[tool.mypy.overrides]]
module = "justext.*"
ignore_missing_imports = true
[[tool.mypy.overrides]]
module = "matplotlib.*"
ignore_missing_imports = true
[[tool.mypy.overrides]]
module = "newsplease.*"
ignore_missing_imports = true
[[tool.mypy.overrides]]
module = "nltk.*"
ignore_missing_imports = true
[[tool.mypy.overrides]]
module = "resiliparse.*"
ignore_missing_imports = true
[[tool.mypy.overrides]]
module = "rouge_score.*"
ignore_missing_imports = true
[[tool.mypy.overrides]]
module = "seaborn.*"
ignore_missing_imports = true
[[tool.mypy.overrides]]
module = "trafilatura.*"
ignore_missing_imports = true
[tool.black]
line-length = 120
target-version = ['py38']
[tool.isort]
profile = "black"