apyefa 0.0.1__tar.gz → 0.0.2__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.

Files changed (48) hide show
  1. {apyefa-0.0.1 → apyefa-0.0.2}/PKG-INFO +1 -1
  2. {apyefa-0.0.1 → apyefa-0.0.2}/apyefa/data_classes.py +4 -0
  3. {apyefa-0.0.1 → apyefa-0.0.2}/apyefa.egg-info/PKG-INFO +1 -1
  4. {apyefa-0.0.1 → apyefa-0.0.2}/pyproject.toml +1 -1
  5. {apyefa-0.0.1 → apyefa-0.0.2}/.github/workflows/python-package.yml +0 -0
  6. {apyefa-0.0.1 → apyefa-0.0.2}/.gitignore +0 -0
  7. {apyefa-0.0.1 → apyefa-0.0.2}/.vscode/settings.json +0 -0
  8. {apyefa-0.0.1 → apyefa-0.0.2}/LICENSE +0 -0
  9. {apyefa-0.0.1 → apyefa-0.0.2}/README.md +0 -0
  10. {apyefa-0.0.1 → apyefa-0.0.2}/apyefa/__init__.py +0 -0
  11. {apyefa-0.0.1 → apyefa-0.0.2}/apyefa/client.py +0 -0
  12. {apyefa-0.0.1 → apyefa-0.0.2}/apyefa/commands/__init__.py +0 -0
  13. {apyefa-0.0.1 → apyefa-0.0.2}/apyefa/commands/command.py +0 -0
  14. {apyefa-0.0.1 → apyefa-0.0.2}/apyefa/commands/command_departures.py +0 -0
  15. {apyefa-0.0.1 → apyefa-0.0.2}/apyefa/commands/command_serving_lines.py +0 -0
  16. {apyefa-0.0.1 → apyefa-0.0.2}/apyefa/commands/command_stop_finder.py +0 -0
  17. {apyefa-0.0.1 → apyefa-0.0.2}/apyefa/commands/command_system_info.py +0 -0
  18. {apyefa-0.0.1 → apyefa-0.0.2}/apyefa/commands/command_trip.py +0 -0
  19. {apyefa-0.0.1 → apyefa-0.0.2}/apyefa/commands/parsers/__init__.py +0 -0
  20. {apyefa-0.0.1 → apyefa-0.0.2}/apyefa/commands/parsers/parser.py +0 -0
  21. {apyefa-0.0.1 → apyefa-0.0.2}/apyefa/commands/parsers/rapid_json_parser.py +0 -0
  22. {apyefa-0.0.1 → apyefa-0.0.2}/apyefa/commands/parsers/xml_parser.py +0 -0
  23. {apyefa-0.0.1 → apyefa-0.0.2}/apyefa/exceptions.py +0 -0
  24. {apyefa-0.0.1 → apyefa-0.0.2}/apyefa/helpers.py +0 -0
  25. {apyefa-0.0.1 → apyefa-0.0.2}/apyefa.egg-info/SOURCES.txt +0 -0
  26. {apyefa-0.0.1 → apyefa-0.0.2}/apyefa.egg-info/dependency_links.txt +0 -0
  27. {apyefa-0.0.1 → apyefa-0.0.2}/apyefa.egg-info/requires.txt +0 -0
  28. {apyefa-0.0.1 → apyefa-0.0.2}/apyefa.egg-info/top_level.txt +0 -0
  29. {apyefa-0.0.1 → apyefa-0.0.2}/examples.py +0 -0
  30. {apyefa-0.0.1 → apyefa-0.0.2}/setup.cfg +0 -0
  31. {apyefa-0.0.1 → apyefa-0.0.2}/tests/commands/__init__.py +0 -0
  32. {apyefa-0.0.1 → apyefa-0.0.2}/tests/commands/parsers/__init__.py +0 -0
  33. {apyefa-0.0.1 → apyefa-0.0.2}/tests/commands/parsers/test_json_parser.py +0 -0
  34. {apyefa-0.0.1 → apyefa-0.0.2}/tests/commands/parsers/test_xml_parser.py +0 -0
  35. {apyefa-0.0.1 → apyefa-0.0.2}/tests/commands/test_cmd.py +0 -0
  36. {apyefa-0.0.1 → apyefa-0.0.2}/tests/commands/test_cmd_departures.py +0 -0
  37. {apyefa-0.0.1 → apyefa-0.0.2}/tests/commands/test_cmd_serving_lines.py +0 -0
  38. {apyefa-0.0.1 → apyefa-0.0.2}/tests/commands/test_cmd_stop_finder.py +0 -0
  39. {apyefa-0.0.1 → apyefa-0.0.2}/tests/commands/test_cmd_system_info.py +0 -0
  40. {apyefa-0.0.1 → apyefa-0.0.2}/tests/commands/test_commands.py +0 -0
  41. {apyefa-0.0.1 → apyefa-0.0.2}/tests/conftest.py +0 -0
  42. {apyefa-0.0.1 → apyefa-0.0.2}/tests/data_classes/__init__.py +0 -0
  43. {apyefa-0.0.1 → apyefa-0.0.2}/tests/data_classes/test_departure.py +0 -0
  44. {apyefa-0.0.1 → apyefa-0.0.2}/tests/data_classes/test_location.py +0 -0
  45. {apyefa-0.0.1 → apyefa-0.0.2}/tests/data_classes/test_system_info.py +0 -0
  46. {apyefa-0.0.1 → apyefa-0.0.2}/tests/data_classes/test_transportation.py +0 -0
  47. {apyefa-0.0.1 → apyefa-0.0.2}/tests/test_client.py +0 -0
  48. {apyefa-0.0.1 → apyefa-0.0.2}/tests/test_helpers.py +0 -0
@@ -1,6 +1,6 @@
1
1
  Metadata-Version: 2.1
2
2
  Name: apyefa
3
- Version: 0.0.1
3
+ Version: 0.0.2
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
@@ -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.1
3
+ Version: 0.0.2
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
@@ -7,7 +7,7 @@ build-backend = "setuptools.build_meta"
7
7
 
8
8
  [project]
9
9
  name = "apyefa"
10
- version = "0.0.1"
10
+ version = "0.0.2"
11
11
  requires-python = ">= 3.11"
12
12
  description = "Python API for EFA(Elektronische Fahrplanauskunft) async requests"
13
13
  authors = [
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