Pyhafas

Latest version: v0.5.0

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

Scan your dependencies

0.4.0

* [feature] Parse leg remarks (25)
* [feature] Add KVB Profile (28)
* [feature] Add optional retry parameter for requests. You might activate retries with the `activate_retry()` function on your profile (31)

0.3.1

* [BUG] Fix setting of default user agent

0.3.0

* [FEATURE] Add timezone awareness to all datetime time objects
* [FEATURE] Allow filtering at `pyhafas.client.HafasClient.departures` and `pyhafas.client.HafasClient.arrivals` for direction station
* [FEATURE] Add option to `pyhafas.client.HafasClient.journeys` request to allow setting a maximum number of returned journeys
* [BUG] Fix bug with some HaFAS versions in platform parsing
* [BUG] Changed coordinate type from int to float
* Better dependency requirements (less specific versions)
* Add tests

0.2.0

* [BREAKING] Changed return format of `pyhafas.client.HafasClient.arrivals` and `pyhafas.client.HafasClient.departures` methods
* [BREAKING] Removed deprecated parameter `max_journeys` in `pyhafas.client.HafasClient.arrivals` and `pyhafas.client.HafasClient.departures` methods
* [BUG] Fixed `pyhafas.client.HafasClient.journey` request in VSN-Profile

0.1.0

Links

Releases

© 2024 Safety CLI Cybersecurity Inc. All Rights Reserved.