-
Notifications
You must be signed in to change notification settings - Fork 1
Expand file tree
/
Copy pathpyproject.toml
More file actions
111 lines (100 loc) · 2.8 KB
/
Copy pathpyproject.toml
File metadata and controls
111 lines (100 loc) · 2.8 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
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
[build-system]
requires = ["setuptools>=45", "wheel", "setuptools_scm[toml]>=6.2"]
build-backend = "setuptools.build_meta"
[project]
name = "echr-extractor"
dynamic = ["version"]
description = "Python library for extracting case law data from the European Court of Human Rights (ECHR) HUDOC database"
readme = "README.md"
license = {text = "Apache-2.0"}
authors = [
{name = "LawTech Lab", email = "lawtech@maastrichtuniversity.nl"},
]
classifiers = [
"Development Status :: 4 - Beta",
"Intended Audience :: Developers",
"Intended Audience :: Legal Industry",
"Intended Audience :: Science/Research",
"License :: OSI Approved :: Apache Software License",
"Operating System :: OS Independent",
"Programming Language :: Python :: 3",
"Programming Language :: Python :: 3.8",
"Programming Language :: Python :: 3.9",
"Programming Language :: Python :: 3.10",
"Programming Language :: Python :: 3.11",
"Topic :: Scientific/Engineering :: Information Analysis",
"Topic :: Software Development :: Libraries :: Python Modules",
"Topic :: Text Processing :: Markup :: HTML",
]
keywords = [
"echr", "extractor", "european", "convention", "human", "rights",
"court", "case-law", "legal", "hudoc", "data-extraction"
]
requires-python = ">=3.8"
dependencies = [
"requests>=2.26.0",
"pandas>=1.3.0",
"beautifulsoup4>=4.9.3",
"dateparser>=1.0.0",
"tqdm>=4.60.0",
]
[project.optional-dependencies]
dev = [
"pytest>=6.0",
"pytest-cov>=2.10",
"black>=21.0.0",
"isort>=5.0.0",
"flake8>=3.8.0",
"mypy>=0.910",
]
docs = [
"sphinx>=4.0.0",
"sphinx-rtd-theme>=0.5.0",
]
[project.urls]
Homepage = "https://github.com/maastrichtlawtech/echr-extractor"
Repository = "https://github.com/maastrichtlawtech/echr-extractor"
"Bug Reports" = "https://github.com/maastrichtlawtech/echr-extractor/issues"
Documentation = "https://github.com/maastrichtlawtech/echr-extractor"
[project.scripts]
echr-extractor = "echr_extractor.cli:main"
[tool.setuptools.packages.find]
where = ["src"]
[tool.setuptools.package-dir]
"" = "src"
[tool.black]
line-length = 88
target-version = ['py38']
include = '\.pyi?$'
extend-exclude = '''
/(
# directories
\.eggs
| \.git
| \.hg
| \.mypy_cache
| \.tox
| \.venv
| build
| dist
)/
'''
[tool.isort]
profile = "black"
multi_line_output = 3
line_length = 88
known_first_party = ["echr_extractor"]
[tool.pytest.ini_options]
testpaths = ["tests"]
python_files = ["test_*.py"]
python_classes = ["Test*"]
python_functions = ["test_*"]
addopts = "-v --cov=src/echr_extractor --cov-report=term-missing --cov-report=xml"
[tool.mypy]
python_version = "3.8"
warn_return_any = true
warn_unused_configs = true
disallow_untyped_defs = true
[tool.setuptools_scm]
write_to = "src/echr_extractor/_version.py"
local_scheme = "no-local-version"