apyefa 0.0.1__tar.gz → 0.0.3__tar.gz
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Potentially problematic release.
This version of apyefa might be problematic. Click here for more details.
- {apyefa-0.0.1 → apyefa-0.0.3}/PKG-INFO +6 -6
- {apyefa-0.0.1 → apyefa-0.0.3}/apyefa/data_classes.py +4 -0
- {apyefa-0.0.1 → apyefa-0.0.3}/apyefa.egg-info/PKG-INFO +6 -6
- apyefa-0.0.3/apyefa.egg-info/requires.txt +11 -0
- {apyefa-0.0.1 → apyefa-0.0.3}/pyproject.toml +6 -6
- apyefa-0.0.1/apyefa.egg-info/requires.txt +0 -11
- {apyefa-0.0.1 → apyefa-0.0.3}/.github/workflows/python-package.yml +0 -0
- {apyefa-0.0.1 → apyefa-0.0.3}/.gitignore +0 -0
- {apyefa-0.0.1 → apyefa-0.0.3}/.vscode/settings.json +0 -0
- {apyefa-0.0.1 → apyefa-0.0.3}/LICENSE +0 -0
- {apyefa-0.0.1 → apyefa-0.0.3}/README.md +0 -0
- {apyefa-0.0.1 → apyefa-0.0.3}/apyefa/__init__.py +0 -0
- {apyefa-0.0.1 → apyefa-0.0.3}/apyefa/client.py +0 -0
- {apyefa-0.0.1 → apyefa-0.0.3}/apyefa/commands/__init__.py +0 -0
- {apyefa-0.0.1 → apyefa-0.0.3}/apyefa/commands/command.py +0 -0
- {apyefa-0.0.1 → apyefa-0.0.3}/apyefa/commands/command_departures.py +0 -0
- {apyefa-0.0.1 → apyefa-0.0.3}/apyefa/commands/command_serving_lines.py +0 -0
- {apyefa-0.0.1 → apyefa-0.0.3}/apyefa/commands/command_stop_finder.py +0 -0
- {apyefa-0.0.1 → apyefa-0.0.3}/apyefa/commands/command_system_info.py +0 -0
- {apyefa-0.0.1 → apyefa-0.0.3}/apyefa/commands/command_trip.py +0 -0
- {apyefa-0.0.1 → apyefa-0.0.3}/apyefa/commands/parsers/__init__.py +0 -0
- {apyefa-0.0.1 → apyefa-0.0.3}/apyefa/commands/parsers/parser.py +0 -0
- {apyefa-0.0.1 → apyefa-0.0.3}/apyefa/commands/parsers/rapid_json_parser.py +0 -0
- {apyefa-0.0.1 → apyefa-0.0.3}/apyefa/commands/parsers/xml_parser.py +0 -0
- {apyefa-0.0.1 → apyefa-0.0.3}/apyefa/exceptions.py +0 -0
- {apyefa-0.0.1 → apyefa-0.0.3}/apyefa/helpers.py +0 -0
- {apyefa-0.0.1 → apyefa-0.0.3}/apyefa.egg-info/SOURCES.txt +0 -0
- {apyefa-0.0.1 → apyefa-0.0.3}/apyefa.egg-info/dependency_links.txt +0 -0
- {apyefa-0.0.1 → apyefa-0.0.3}/apyefa.egg-info/top_level.txt +0 -0
- {apyefa-0.0.1 → apyefa-0.0.3}/examples.py +0 -0
- {apyefa-0.0.1 → apyefa-0.0.3}/setup.cfg +0 -0
- {apyefa-0.0.1 → apyefa-0.0.3}/tests/commands/__init__.py +0 -0
- {apyefa-0.0.1 → apyefa-0.0.3}/tests/commands/parsers/__init__.py +0 -0
- {apyefa-0.0.1 → apyefa-0.0.3}/tests/commands/parsers/test_json_parser.py +0 -0
- {apyefa-0.0.1 → apyefa-0.0.3}/tests/commands/parsers/test_xml_parser.py +0 -0
- {apyefa-0.0.1 → apyefa-0.0.3}/tests/commands/test_cmd.py +0 -0
- {apyefa-0.0.1 → apyefa-0.0.3}/tests/commands/test_cmd_departures.py +0 -0
- {apyefa-0.0.1 → apyefa-0.0.3}/tests/commands/test_cmd_serving_lines.py +0 -0
- {apyefa-0.0.1 → apyefa-0.0.3}/tests/commands/test_cmd_stop_finder.py +0 -0
- {apyefa-0.0.1 → apyefa-0.0.3}/tests/commands/test_cmd_system_info.py +0 -0
- {apyefa-0.0.1 → apyefa-0.0.3}/tests/commands/test_commands.py +0 -0
- {apyefa-0.0.1 → apyefa-0.0.3}/tests/conftest.py +0 -0
- {apyefa-0.0.1 → apyefa-0.0.3}/tests/data_classes/__init__.py +0 -0
- {apyefa-0.0.1 → apyefa-0.0.3}/tests/data_classes/test_departure.py +0 -0
- {apyefa-0.0.1 → apyefa-0.0.3}/tests/data_classes/test_location.py +0 -0
- {apyefa-0.0.1 → apyefa-0.0.3}/tests/data_classes/test_system_info.py +0 -0
- {apyefa-0.0.1 → apyefa-0.0.3}/tests/data_classes/test_transportation.py +0 -0
- {apyefa-0.0.1 → apyefa-0.0.3}/tests/test_client.py +0 -0
- {apyefa-0.0.1 → apyefa-0.0.3}/tests/test_helpers.py +0 -0
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
Metadata-Version: 2.1
|
|
2
2
|
Name: apyefa
|
|
3
|
-
Version: 0.0.
|
|
3
|
+
Version: 0.0.3
|
|
4
4
|
Summary: Python API for EFA(Elektronische Fahrplanauskunft) async requests
|
|
5
5
|
Author-email: Alex Jung <jungdevelop@gmail.com>
|
|
6
6
|
License: MIT License
|
|
@@ -32,16 +32,16 @@ Keywords: efa,vgn,gtfs,public transport,traffic
|
|
|
32
32
|
Requires-Python: >=3.11
|
|
33
33
|
Description-Content-Type: text/markdown
|
|
34
34
|
License-File: LICENSE
|
|
35
|
-
Requires-Dist: aiohttp
|
|
36
|
-
Requires-Dist: voluptuous
|
|
37
|
-
Requires-Dist: tzdata
|
|
35
|
+
Requires-Dist: aiohttp>=3.11.7
|
|
36
|
+
Requires-Dist: voluptuous>=0.15.2
|
|
37
|
+
Requires-Dist: tzdata>=2024.2
|
|
38
38
|
Provides-Extra: tests
|
|
39
39
|
Requires-Dist: coverage>=5.0.3; extra == "tests"
|
|
40
40
|
Requires-Dist: pytest-cov; extra == "tests"
|
|
41
41
|
Requires-Dist: pytest; extra == "tests"
|
|
42
|
-
Requires-Dist: pytest-asyncio
|
|
42
|
+
Requires-Dist: pytest-asyncio>=0.24.0; extra == "tests"
|
|
43
43
|
Requires-Dist: pytest-benchmark[histogram]>=3.2.1; extra == "tests"
|
|
44
|
-
Requires-Dist: requests
|
|
44
|
+
Requires-Dist: requests>=2.32.3; extra == "tests"
|
|
45
45
|
|
|
46
46
|
# apyefa
|
|
47
47
|
[](https://github.com/alex-jung/apyefa/actions/workflows/python-package.yml)
|
|
@@ -180,6 +180,7 @@ SCHEMA_DEPARTURE: Final = vol.Schema(
|
|
|
180
180
|
vol.Optional("departureTimeEstimated"): vol.Datetime("%Y-%m-%dT%H:%M:%S%z"),
|
|
181
181
|
vol.Required("transportation"): SCHEMA_TRANSPORTATION,
|
|
182
182
|
vol.Optional("infos"): list,
|
|
183
|
+
vol.Optional("hints"): list,
|
|
183
184
|
}
|
|
184
185
|
)
|
|
185
186
|
|
|
@@ -293,6 +294,7 @@ class Departure(_Base):
|
|
|
293
294
|
planned_time: datetime
|
|
294
295
|
estimated_time: datetime | None = None
|
|
295
296
|
infos: list[dict] = field(default_factory=[])
|
|
297
|
+
hints: list[dict] = field(default_factory=[])
|
|
296
298
|
|
|
297
299
|
_schema = SCHEMA_DEPARTURE
|
|
298
300
|
|
|
@@ -311,6 +313,7 @@ class Departure(_Base):
|
|
|
311
313
|
planned_time = parse_datetime(data.get("departureTimePlanned", None))
|
|
312
314
|
estimated_time = parse_datetime(data.get("departureTimeEstimated", None))
|
|
313
315
|
infos = data.get("infos")
|
|
316
|
+
hints = data.get("hints")
|
|
314
317
|
|
|
315
318
|
line = Line.from_dict(data.get("transportation"))
|
|
316
319
|
line_name = line.name
|
|
@@ -330,6 +333,7 @@ class Departure(_Base):
|
|
|
330
333
|
planned_time,
|
|
331
334
|
estimated_time,
|
|
332
335
|
infos,
|
|
336
|
+
hints,
|
|
333
337
|
)
|
|
334
338
|
|
|
335
339
|
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
Metadata-Version: 2.1
|
|
2
2
|
Name: apyefa
|
|
3
|
-
Version: 0.0.
|
|
3
|
+
Version: 0.0.3
|
|
4
4
|
Summary: Python API for EFA(Elektronische Fahrplanauskunft) async requests
|
|
5
5
|
Author-email: Alex Jung <jungdevelop@gmail.com>
|
|
6
6
|
License: MIT License
|
|
@@ -32,16 +32,16 @@ Keywords: efa,vgn,gtfs,public transport,traffic
|
|
|
32
32
|
Requires-Python: >=3.11
|
|
33
33
|
Description-Content-Type: text/markdown
|
|
34
34
|
License-File: LICENSE
|
|
35
|
-
Requires-Dist: aiohttp
|
|
36
|
-
Requires-Dist: voluptuous
|
|
37
|
-
Requires-Dist: tzdata
|
|
35
|
+
Requires-Dist: aiohttp>=3.11.7
|
|
36
|
+
Requires-Dist: voluptuous>=0.15.2
|
|
37
|
+
Requires-Dist: tzdata>=2024.2
|
|
38
38
|
Provides-Extra: tests
|
|
39
39
|
Requires-Dist: coverage>=5.0.3; extra == "tests"
|
|
40
40
|
Requires-Dist: pytest-cov; extra == "tests"
|
|
41
41
|
Requires-Dist: pytest; extra == "tests"
|
|
42
|
-
Requires-Dist: pytest-asyncio
|
|
42
|
+
Requires-Dist: pytest-asyncio>=0.24.0; extra == "tests"
|
|
43
43
|
Requires-Dist: pytest-benchmark[histogram]>=3.2.1; extra == "tests"
|
|
44
|
-
Requires-Dist: requests
|
|
44
|
+
Requires-Dist: requests>=2.32.3; extra == "tests"
|
|
45
45
|
|
|
46
46
|
# apyefa
|
|
47
47
|
[](https://github.com/alex-jung/apyefa/actions/workflows/python-package.yml)
|
|
@@ -7,7 +7,7 @@ build-backend = "setuptools.build_meta"
|
|
|
7
7
|
|
|
8
8
|
[project]
|
|
9
9
|
name = "apyefa"
|
|
10
|
-
version = "0.0.
|
|
10
|
+
version = "0.0.3"
|
|
11
11
|
requires-python = ">= 3.11"
|
|
12
12
|
description = "Python API for EFA(Elektronische Fahrplanauskunft) async requests"
|
|
13
13
|
authors = [
|
|
@@ -18,9 +18,9 @@ license = {file = "LICENSE"}
|
|
|
18
18
|
keywords = ["efa", "vgn", "gtfs", "public transport", "traffic"]
|
|
19
19
|
|
|
20
20
|
dependencies = [
|
|
21
|
-
"aiohttp
|
|
22
|
-
"voluptuous
|
|
23
|
-
"tzdata
|
|
21
|
+
"aiohttp>=3.11.7",
|
|
22
|
+
"voluptuous>=0.15.2",
|
|
23
|
+
"tzdata>=2024.2"
|
|
24
24
|
]
|
|
25
25
|
|
|
26
26
|
[project.optional-dependencies]
|
|
@@ -28,9 +28,9 @@ tests = [
|
|
|
28
28
|
'coverage>=5.0.3',
|
|
29
29
|
'pytest-cov',
|
|
30
30
|
'pytest',
|
|
31
|
-
'pytest-asyncio
|
|
31
|
+
'pytest-asyncio>=0.24.0',
|
|
32
32
|
'pytest-benchmark[histogram]>=3.2.1',
|
|
33
|
-
'requests
|
|
33
|
+
'requests>=2.32.3'
|
|
34
34
|
]
|
|
35
35
|
|
|
36
36
|
[tool.pytest.ini_options]
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|