-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathpyproject.toml
More file actions
83 lines (71 loc) · 1.93 KB
/
pyproject.toml
File metadata and controls
83 lines (71 loc) · 1.93 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
[build-system]
requires = ["setuptools>=75", "wheel"]
build-backend = "setuptools.build_meta"
[project]
name = "fek-extractor"
version = "0.1.0"
description = "Extract structured data from FEK PDFs."
readme = "README.md"
requires-python = ">=3.10"
license = "Apache-2.0"
authors = [{ name = "Dimitrios S. Sfyris", email = "info@aspectsoft.gr" }]
dependencies = [
"pdfminer.six>=20221105",
"beautifulsoup4>=4.12",
]
classifiers = [
"Programming Language :: Python :: 3",
"Programming Language :: Python :: 3.10",
"Programming Language :: Python :: 3.11",
"Programming Language :: Python :: 3.12",
"Operating System :: OS Independent",
"Natural Language :: Greek",
"Topic :: Text Processing :: Linguistic",
"Intended Audience :: Developers",
]
keywords = ["FEK", "Greek", "Government Gazette", "NLP", "PDF", "information extraction"]
[project.urls]
Homepage = "https://github.com/dmsfiris/fek-extractor"
Repository = "https://github.com/dmsfiris/fek-extractor"
Issues = "https://github.com/dmsfiris/fek-extractor/issues"
Changelog = "https://github.com/dmsfiris/fek-extractor/blob/master/CHANGELOG.md"
[project.optional-dependencies]
dev = [
"pytest>=8",
"pytest-cov>=5",
"ruff>=0.5",
"black>=24.8",
"mypy>=1.10",
"pre-commit>=3.7",
"mkdocs>=1.5",
"mkdocs-material>=9.5",
"build>=1.2.1",
"types-beautifulsoup4>=4.12",
]
[project.scripts]
fek-extractor = "fek_extractor.cli:main"
[tool.setuptools]
package-dir = { "" = "src" }
[tool.setuptools.packages.find]
where = ["src"]
[tool.ruff]
line-length = 100
target-version = "py310"
src = ["src"]
[tool.ruff.lint]
select = ["E","F","I","UP","B","SIM"]
[tool.ruff.lint.isort]
known-first-party = ["fek_extractor"]
[tool.black]
line-length = 100
target-version = ["py310"]
[tool.mypy]
python_version = "3.10"
strict = true
mypy_path = ["src"]
[[tool.mypy.overrides]]
module = "pdfminer.*"
ignore_missing_imports = true
[tool.pytest.ini_options]
addopts = "-q"
testpaths = ["tests"]