This python script is a Command Line wrapper to get the departures from any station/stop in the MVG(Münchner Verkehrsgesellschaft) network. Based on the mvg_api project.
- install the package:
pip install mvg-console
usage:
mvg [--help][version][dest][search]
Commands:
dest: Print departure info for destination
-----
usage: mvg dest [OPTIONS] STATION
Arguments:
STATION [required] Destination Station to display ifno for.
Options:
--limit INTEGER [default: 10]
--mode TEXT
--help Show this message and exit.
search: find nearest stops to the address
-------
Usage: mvg search [OPTIONS] QUERY
Arguments:
QUERY [required] address to find nearest stops for.
Options:
--help Show this message and exit.
version: display package version
--------
Usage: mvg version
- Move to Typer instead of argparse.
- Handle some errors.
- Move to prettytable instead of Texttable.
- Disable HistoryManager.
- We're on PyPi! Now you can easily install the script using pip!
- You can now search for the nearest station/stop from an address! Use the --search/-s [adress]
- You can choose the Transportation mode to be displayed using the --mode/-m arguement. Available modes: bus, ubahn, sbahn, tram.
- A lot of Bug Fixes.