apyefa 1.1.0__py3-none-any.whl → 1.1.1__py3-none-any.whl
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/data_classes.py +3 -0
- {apyefa-1.1.0.dist-info → apyefa-1.1.1.dist-info}/METADATA +3 -2
- {apyefa-1.1.0.dist-info → apyefa-1.1.1.dist-info}/RECORD +6 -6
- {apyefa-1.1.0.dist-info → apyefa-1.1.1.dist-info}/WHEEL +1 -1
- {apyefa-1.1.0.dist-info → apyefa-1.1.1.dist-info/licenses}/LICENSE +0 -0
- {apyefa-1.1.0.dist-info → apyefa-1.1.1.dist-info}/top_level.txt +0 -0
apyefa/data_classes.py
CHANGED
|
@@ -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.
|
|
1
|
+
Metadata-Version: 2.4
|
|
2
2
|
Name: apyefa
|
|
3
|
-
Version: 1.1.
|
|
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
|
[](https://github.com/alex-jung/apyefa/actions/workflows/python-package.yml)
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
apyefa/__init__.py,sha256=9LuZCm4L02Jz-rgvSyTSQ10fzMEZ0P2nWQQ6m3Z9Ab0,386
|
|
2
2
|
apyefa/client.py,sha256=CEwWuHFBTUfgGszQVXAogWUQ-JY-Ew7zMidB7oR2AD0,27228
|
|
3
|
-
apyefa/data_classes.py,sha256=
|
|
3
|
+
apyefa/data_classes.py,sha256=psDqVYtxevyem0z2U0_9v2O-owM2nEyJ9LvoLZTmVkM,15172
|
|
4
4
|
apyefa/exceptions.py,sha256=Vhc8FEtI1xSxbVRLFXd3BlNTekY2w3byEvd3Jhhg8h4,240
|
|
5
5
|
apyefa/helpers.py,sha256=WGXQ2SwlQ5IB57_ab0ry3QAqL-iDWqtOOwP0yhQI5ck,3531
|
|
6
6
|
apyefa/commands/__init__.py,sha256=h5cyzFXA6vJQgUx7LyngoXxXo11ULvVku9GFuVwvkic,848
|
|
@@ -20,8 +20,8 @@ apyefa/commands/parsers/__init__.py,sha256=47DEQpj8HBSa-_TImW-5JCeuQeRkm5NMpJWZG
|
|
|
20
20
|
apyefa/commands/parsers/parser.py,sha256=1PSlLpfYrNeKRTpvCcYsCzAKlNrs0oHvSN7zpF4Xcs8,140
|
|
21
21
|
apyefa/commands/parsers/rapid_json_parser.py,sha256=UMexRiMKkJLcK5EEj80B6RYkWBuR8ZWD3YpeGa0J3lQ,212
|
|
22
22
|
apyefa/commands/parsers/xml_parser.py,sha256=ru52QtBP68KoTZ8OgjFWrLy-PD4_j1miY8Zv5umNSE8,151
|
|
23
|
-
apyefa-1.1.
|
|
24
|
-
apyefa-1.1.
|
|
25
|
-
apyefa-1.1.
|
|
26
|
-
apyefa-1.1.
|
|
27
|
-
apyefa-1.1.
|
|
23
|
+
apyefa-1.1.1.dist-info/licenses/LICENSE,sha256=C2Gdvb1B39BeEP-RGqVd7w6j94GnJo4gnYyiC_l3SFQ,1066
|
|
24
|
+
apyefa-1.1.1.dist-info/METADATA,sha256=kHat6_Js3kVlZCynIWoH4APkK35ybxW8SZ9eNY3AOrI,6122
|
|
25
|
+
apyefa-1.1.1.dist-info/WHEEL,sha256=_zCd3N1l69ArxyTb8rzEoP9TpbYXkqRFSNOD5OuxnTs,91
|
|
26
|
+
apyefa-1.1.1.dist-info/top_level.txt,sha256=b9VSv2S7lxdaypCumxO92IEQFpJdFuB8vQs03j5gZxY,7
|
|
27
|
+
apyefa-1.1.1.dist-info/RECORD,,
|
|
File without changes
|
|
File without changes
|