-
Notifications
You must be signed in to change notification settings - Fork 66
/
pyproject.toml
138 lines (124 loc) · 4.57 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
[tool.poetry]
name = "deutschland"
version = "0.4.2"
description = ""
license = "Apache-2.0"
authors = ["Lilith Wittmann <[email protected]>"]
readme = "README.md"
repository = "https://github.com/bundesAPI/deutschland"
include = ["src/deutschland/bundesanzeiger/assets/model.onnx"]
packages = [
{ include = "deutschland", from = "src" },
]
[tool.poetry.dependencies]
python = ">=3.8,<4"
requests = "^2.26.0"
dateparser = "^1.0.0"
beautifulsoup4 = "^4.9.3"
more-itertools = "^8.10.0"
numpy = [
{version = "^1.19.0", python = ">=3.8,<3.12"},
{version = "^1.26.2", python = ">=3.12"}
]
pillow = "^10.0.0"
mapbox-vector-tile = "^2.0.1"
lxml = "^4.9.3"
pandas = [
{version = "*", python = ">=3.8,<3.12"},
{version = ">2.1.2", python = ">=3.12"}
]
# 1.16.0 problem: https://github.com/microsoft/onnxruntime/issues/17631
onnxruntime = ">1.10.0,!=1.16.0"
# Those are packages which were included in previous release so not optional
de-autobahn = {version = "^1.0.4"}
de-bundesrat = {version="^0.1.0"}
de-bundestag = {version="^0.1.0"}
de-dwd = {version = "^1.0.1"}
de-interpol = {version="^0.1.0"}
de-jobsuche = {version="^0.1.0"}
de-ladestationen = {version="^1.0.5"}
de-mudab = {version="^0.1.0"}
de-nina = {version= "^1.0.1"}
de-polizei-brandenburg= {version= "^0.1.0"}
de-risikogebiete = {version= "^0.1.0"}
de-smard = {version= "^0.1.0"}
de-strahlenschutz = {version= "^1.0.0"}
de-travelwarning= {version= "^0.1.0"}
de-zoll= {version= "^0.1.0"}
# Optional packages
de-ausbildungssuche = {version= "^0.1.0", optional = true}
de-berufssprachkurssuche = {version= "^0.1.0", optional = true}
de-bundestag-lobbyregister = {version= "^0.1.0", optional = true}
de-coachingangebote = {version= "^0.1.0", optional = true}
de-dip-bundestag = {version= "^0.1.0", optional = true}
de-entgeltatlas = {version= "^0.1.0", optional = true}
de-hochwasserzentralen = {version= "^0.1.0", optional = true}
de-pegel-online = {version= "^0.1.0", optional = true}
de-pflanzenschutzmittelzulassung = {version= "^0.1.0", optional = true}
de-studiensuche = {version= "^0.1.0", optional = true}
de-tagesschau = {version= "^0.1.0", optional = true}
de-weiterbildungssuche = {version= "^0.1.0", optional = true}
de-feiertage = {version= "^1.0.1", optional = true}
de-marktstammdaten = {version= "^0.1.0", optional = true}
de-vag = {version= "^0.1.0", optional = true}
de-abfallnavi = {version= "^0.1.0", optional = true}
de-bundeshaushalt = {version= "^1.0.0", optional = true}
de-ecovisio = {version= "^0.1.0", optional = true}
de-dashboarddeutschland = {version= "^0.1.0", optional = true}
de-destatis = {version= "^0.1.0", optional = true}
# Tests are for non openapi version of this package. Leave out for now.
#de-lebensmittelwarnung = {version="^0.1.0",optional=true}
[tool.poetry.urls]
"Bug Tracker" = "https://github.com/bundesAPI/deutschland/issues"
[tool.poetry.extras]
bundestag_lobbyregister = ["de-bundestag-lobbyregister"]
dip_bundestag = ["de-dip-bundestag"]
pegel_online= ["de-pegel-online"]
ausbildungssuche = ["de-ausbildungssuche"]
berufssprachkurssuche = ["de-berufssprachkurssuche"]
coachingangebote = ["de-coachingangebote"]
entgeltatlas = ["de-entgeltatlas"]
hochwasserzentralen = ["de-hochwasserzentralen"]
pflanzenschutzmittelzulassung = ["de-pflanzenschutzmittelzulassung"]
studiensuche = ["de-studiensuche"]
tagesschau = ["de-tagesschau"]
feiertage = ["de-feiertage"]
marktstammdaten = ["de-marktstammdaten"]
weiterbildungssuche =["de-weiterbildungssuche"]
vag =["de-vag"]
abfallnavi =["de-abfallnavi"]
bundeshaushalt =["de-bundeshaushalt"]
ecovisio =["de-ecovisio"]
dashboarddeutschland=["de-dashboarddeutschland"]
destatis = ["de-destatis"]
all = ["de-bundestag-lobbyregister","de-dip-bundestag","de-pegel-online","de-ausbildungssuche",
"de-berufssprachkurssuche","de-coachingangebote","de-dip-bundestag","de-entgeltatlas",
"de-hochwasserzentralen","de-pflanzenschutzmittelzulassung","de-studiensuche",
"de-tagesschau", "de-weiterbildungssuche","de-feiertage","de-marktstammdaten","de-vag","de-abfallnavi","de-bundeshaushalt",
"de-ecovisio","de-dashboarddeutschland","de-destatis"]
#lebensmittelwarnung = ["de-lebensmittelwarnung"]
[tool.poetry.group.dev.dependencies]
pytest = "^7.4.2"
black = "22.8.0"
isort = "5.12.0"
[build-system]
requires = ["poetry-core>=1.0.0"]
build-backend = "poetry.core.masonry.api"
[tool.tox]
legacy_tox_ini = """
[tox]
envlist = py37,py38,py39,py310
isolated_build = True
[tox:.package]
basepython = python3
[testenv]
poetry_experimental_add_locked_dependencies = True
deps = pytest
usedevelop = true
extras =
all
commands =
pytest
"""
[tool.isort]
profile = "black"