apyefa 1.1.0__tar.gz → 1.1.1__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 (61) hide show
  1. {apyefa-1.1.0 → apyefa-1.1.1}/.github/workflows/python-package.yml +2 -2
  2. {apyefa-1.1.0 → apyefa-1.1.1}/PKG-INFO +3 -2
  3. {apyefa-1.1.0 → apyefa-1.1.1}/apyefa/data_classes.py +3 -0
  4. {apyefa-1.1.0 → apyefa-1.1.1}/apyefa.egg-info/PKG-INFO +3 -2
  5. {apyefa-1.1.0 → apyefa-1.1.1}/pyproject.toml +1 -1
  6. {apyefa-1.1.0 → apyefa-1.1.1}/.github/labeler.yml +0 -0
  7. {apyefa-1.1.0 → apyefa-1.1.1}/.github/release-drafter.yml +0 -0
  8. {apyefa-1.1.0 → apyefa-1.1.1}/.github/workflows/labeler.yml +0 -0
  9. {apyefa-1.1.0 → apyefa-1.1.1}/.github/workflows/release_drafter.yml +0 -0
  10. {apyefa-1.1.0 → apyefa-1.1.1}/.gitignore +0 -0
  11. {apyefa-1.1.0 → apyefa-1.1.1}/.vscode/settings.json +0 -0
  12. {apyefa-1.1.0 → apyefa-1.1.1}/LICENSE +0 -0
  13. {apyefa-1.1.0 → apyefa-1.1.1}/README.md +0 -0
  14. {apyefa-1.1.0 → apyefa-1.1.1}/apyefa/__init__.py +0 -0
  15. {apyefa-1.1.0 → apyefa-1.1.1}/apyefa/client.py +0 -0
  16. {apyefa-1.1.0 → apyefa-1.1.1}/apyefa/commands/__init__.py +0 -0
  17. {apyefa-1.1.0 → apyefa-1.1.1}/apyefa/commands/command.py +0 -0
  18. {apyefa-1.1.0 → apyefa-1.1.1}/apyefa/commands/command_add_info.py +0 -0
  19. {apyefa-1.1.0 → apyefa-1.1.1}/apyefa/commands/command_coord.py +0 -0
  20. {apyefa-1.1.0 → apyefa-1.1.1}/apyefa/commands/command_departures.py +0 -0
  21. {apyefa-1.1.0 → apyefa-1.1.1}/apyefa/commands/command_geoobject.py +0 -0
  22. {apyefa-1.1.0 → apyefa-1.1.1}/apyefa/commands/command_line_list.py +0 -0
  23. {apyefa-1.1.0 → apyefa-1.1.1}/apyefa/commands/command_line_stop.py +0 -0
  24. {apyefa-1.1.0 → apyefa-1.1.1}/apyefa/commands/command_serving_lines.py +0 -0
  25. {apyefa-1.1.0 → apyefa-1.1.1}/apyefa/commands/command_stop_finder.py +0 -0
  26. {apyefa-1.1.0 → apyefa-1.1.1}/apyefa/commands/command_stop_list.py +0 -0
  27. {apyefa-1.1.0 → apyefa-1.1.1}/apyefa/commands/command_system_info.py +0 -0
  28. {apyefa-1.1.0 → apyefa-1.1.1}/apyefa/commands/command_trip.py +0 -0
  29. {apyefa-1.1.0 → apyefa-1.1.1}/apyefa/commands/parsers/__init__.py +0 -0
  30. {apyefa-1.1.0 → apyefa-1.1.1}/apyefa/commands/parsers/parser.py +0 -0
  31. {apyefa-1.1.0 → apyefa-1.1.1}/apyefa/commands/parsers/rapid_json_parser.py +0 -0
  32. {apyefa-1.1.0 → apyefa-1.1.1}/apyefa/commands/parsers/xml_parser.py +0 -0
  33. {apyefa-1.1.0 → apyefa-1.1.1}/apyefa/exceptions.py +0 -0
  34. {apyefa-1.1.0 → apyefa-1.1.1}/apyefa/helpers.py +0 -0
  35. {apyefa-1.1.0 → apyefa-1.1.1}/apyefa.egg-info/SOURCES.txt +0 -0
  36. {apyefa-1.1.0 → apyefa-1.1.1}/apyefa.egg-info/dependency_links.txt +0 -0
  37. {apyefa-1.1.0 → apyefa-1.1.1}/apyefa.egg-info/requires.txt +0 -0
  38. {apyefa-1.1.0 → apyefa-1.1.1}/apyefa.egg-info/top_level.txt +0 -0
  39. {apyefa-1.1.0 → apyefa-1.1.1}/examples.py +0 -0
  40. {apyefa-1.1.0 → apyefa-1.1.1}/setup.cfg +0 -0
  41. {apyefa-1.1.0 → apyefa-1.1.1}/tests/conftest.py +0 -0
  42. {apyefa-1.1.0 → apyefa-1.1.1}/tests/integration/test_endpoints.py +0 -0
  43. {apyefa-1.1.0 → apyefa-1.1.1}/tests/unit/commands/__init__.py +0 -0
  44. {apyefa-1.1.0 → apyefa-1.1.1}/tests/unit/commands/parsers/__init__.py +0 -0
  45. {apyefa-1.1.0 → apyefa-1.1.1}/tests/unit/commands/parsers/test_json_parser.py +0 -0
  46. {apyefa-1.1.0 → apyefa-1.1.1}/tests/unit/commands/parsers/test_xml_parser.py +0 -0
  47. {apyefa-1.1.0 → apyefa-1.1.1}/tests/unit/commands/test_cmd.py +0 -0
  48. {apyefa-1.1.0 → apyefa-1.1.1}/tests/unit/commands/test_cmd_departures.py +0 -0
  49. {apyefa-1.1.0 → apyefa-1.1.1}/tests/unit/commands/test_cmd_line_list.py +0 -0
  50. {apyefa-1.1.0 → apyefa-1.1.1}/tests/unit/commands/test_cmd_line_stop.py +0 -0
  51. {apyefa-1.1.0 → apyefa-1.1.1}/tests/unit/commands/test_cmd_serving_lines.py +0 -0
  52. {apyefa-1.1.0 → apyefa-1.1.1}/tests/unit/commands/test_cmd_stop_finder.py +0 -0
  53. {apyefa-1.1.0 → apyefa-1.1.1}/tests/unit/commands/test_cmd_stop_list.py +0 -0
  54. {apyefa-1.1.0 → apyefa-1.1.1}/tests/unit/commands/test_cmd_system_info.py +0 -0
  55. {apyefa-1.1.0 → apyefa-1.1.1}/tests/unit/data_classes/__init__.py +0 -0
  56. {apyefa-1.1.0 → apyefa-1.1.1}/tests/unit/data_classes/test_departure.py +0 -0
  57. {apyefa-1.1.0 → apyefa-1.1.1}/tests/unit/data_classes/test_location.py +0 -0
  58. {apyefa-1.1.0 → apyefa-1.1.1}/tests/unit/data_classes/test_system_info.py +0 -0
  59. {apyefa-1.1.0 → apyefa-1.1.1}/tests/unit/data_classes/test_transportation.py +0 -0
  60. {apyefa-1.1.0 → apyefa-1.1.1}/tests/unit/test_client.py +0 -0
  61. {apyefa-1.1.0 → apyefa-1.1.1}/tests/unit/test_helpers.py +0 -0
@@ -37,9 +37,9 @@ jobs:
37
37
  - name: Install the code linting and formatting tool Ruff
38
38
  run: pipx install ruff
39
39
  - name: Lint code with Ruff
40
- run: ruff check --output-format=github --target-version=py39
40
+ run: ruff check --output-format=github --target-version=py311
41
41
  - name: Check code formatting with Ruff
42
- run: ruff format --diff --target-version=py39
42
+ run: ruff format --diff --target-version=py311
43
43
  continue-on-error: true
44
44
  - name: Test with pytest
45
45
  run: |
@@ -1,6 +1,6 @@
1
- Metadata-Version: 2.2
1
+ Metadata-Version: 2.4
2
2
  Name: apyefa
3
- Version: 1.1.0
3
+ Version: 1.1.1
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
@@ -42,6 +42,7 @@ Requires-Dist: pytest; extra == "tests"
42
42
  Requires-Dist: pytest-asyncio>=0.24.0; extra == "tests"
43
43
  Requires-Dist: pytest-benchmark[histogram]>=3.2.1; extra == "tests"
44
44
  Requires-Dist: requests>=2.32.3; extra == "tests"
45
+ Dynamic: license-file
45
46
 
46
47
  # apyefa
47
48
  [![Python package](https://github.com/alex-jung/apyefa/actions/workflows/python-package.yml/badge.svg)](https://github.com/alex-jung/apyefa/actions/workflows/python-package.yml)
@@ -350,6 +350,7 @@ class Location(_Base):
350
350
  @dataclass(frozen=True)
351
351
  class Departure(_Base):
352
352
  location: Location = field(repr=False)
353
+ line_id: str
353
354
  line_name: str
354
355
  route: str
355
356
  origin: Location
@@ -380,6 +381,7 @@ class Departure(_Base):
380
381
  hints = data.get("hints")
381
382
 
382
383
  line = Line.from_dict(data.get("transportation"))
384
+ line_id = line.id
383
385
  line_name = line.name
384
386
  transport = line.product
385
387
  origin = line.origin
@@ -389,6 +391,7 @@ class Departure(_Base):
389
391
  return Departure(
390
392
  data,
391
393
  location,
394
+ line_id,
392
395
  line_name,
393
396
  route,
394
397
  origin,
@@ -1,6 +1,6 @@
1
- Metadata-Version: 2.2
1
+ Metadata-Version: 2.4
2
2
  Name: apyefa
3
- Version: 1.1.0
3
+ Version: 1.1.1
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
@@ -42,6 +42,7 @@ Requires-Dist: pytest; extra == "tests"
42
42
  Requires-Dist: pytest-asyncio>=0.24.0; extra == "tests"
43
43
  Requires-Dist: pytest-benchmark[histogram]>=3.2.1; extra == "tests"
44
44
  Requires-Dist: requests>=2.32.3; extra == "tests"
45
+ Dynamic: license-file
45
46
 
46
47
  # apyefa
47
48
  [![Python package](https://github.com/alex-jung/apyefa/actions/workflows/python-package.yml/badge.svg)](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 = "1.1.0"
10
+ version = "1.1.1"
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