Onboardapis

Latest version: v2.0.0

Safety actively analyzes 688293 Python packages for vulnerabilities to keep your Python projects secure.

Scan your dependencies

Page 3 of 3

1.1.0

\+ Added the ``Train.connected`` property to easily check if you are connected to the trains on-board API
\+ Added the ``Train.shutdown()`` method to safely close the DataConnectors of the Train
\+ Added a context manager to Train, you can now use ``with Train() as train``, which automatically calls ``Train.init()`` and ``Train.shutdown()``
\+ Added conversions for coordinates (decimal <-> degrees, minutes, seconds)
\+ Added the ``InitialConnectionError`` to better indicate whether the connection to the API is lost or can't be established

\* Fixed an issue where ``ICEPortal`` fails to generate ``ICEPortal().stations``

Known issues:
---

1.0.0

Initial Release

\+ ``Added onboardapis.trains.germany.db.ICEPortal()``
\+ ``Added onboardapis.trains.austria.oebb.RailnetRegio()``

Known issues:
---

ICEPortal fails to generate stations - fixed in v1.1.0

Page 3 of 3

© 2024 Safety CLI Cybersecurity Inc. All Rights Reserved.