A Command Line Tool to get the MVG departures for a station.
Project description
# A console program to request the departure time from the MVG
This python script is a Command Line wrapper to get the departures from any station/stop in the MVG(Münchner Verkehrsgesellschaft) network.
## Getting started
We're on PyPi! Installing using pip.
`pip install mvg-console`
## Usage
```
usage: mvg [-h] [--version] [--recent]
[--departures DEPARTURES [DEPARTURES ...]] [--limit LIMIT]
[--mode MODE] [--search SEARCH [SEARCH ...]]
optional arguments:
-h, --help show this help message and exit
--version, -v Version Info.
--recent, -r fetch the most recent search.
--departures DEPARTURES [DEPARTURES ...], -d DEPARTURES [DEPARTURES ...]
Departures at Station/Stop
--limit LIMIT, -l LIMIT
# results to fetch
--mode MODE, -m MODE Transportation Mode: bus, ubahn, sbahn, tram.
--search SEARCH [SEARCH ...], -s SEARCH [SEARCH ...]
Gets stations closest to the address.
```
## Demo
![screenshot](demo.png)
## Changelog
#### 12.11.2018
* 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.
This python script is a Command Line wrapper to get the departures from any station/stop in the MVG(Münchner Verkehrsgesellschaft) network.
## Getting started
We're on PyPi! Installing using pip.
`pip install mvg-console`
## Usage
```
usage: mvg [-h] [--version] [--recent]
[--departures DEPARTURES [DEPARTURES ...]] [--limit LIMIT]
[--mode MODE] [--search SEARCH [SEARCH ...]]
optional arguments:
-h, --help show this help message and exit
--version, -v Version Info.
--recent, -r fetch the most recent search.
--departures DEPARTURES [DEPARTURES ...], -d DEPARTURES [DEPARTURES ...]
Departures at Station/Stop
--limit LIMIT, -l LIMIT
# results to fetch
--mode MODE, -m MODE Transportation Mode: bus, ubahn, sbahn, tram.
--search SEARCH [SEARCH ...], -s SEARCH [SEARCH ...]
Gets stations closest to the address.
```
## Demo
![screenshot](demo.png)
## Changelog
#### 12.11.2018
* 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.
Project details
Release history Release notifications | RSS feed
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distributions
No source distribution files available for this release.See tutorial on generating distribution archives.
Built Distribution
Close
Hashes for mvg_console-2018.11.2-py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 2f21a9b56b604d2036f8aa28b8fc12e913575993dcaf02a17f03e1601f32b124 |
|
MD5 | c9b1eb7deb0956f6865d2d3fe8cbe726 |
|
BLAKE2b-256 | 5a58431cbde65b8ccc8a9670f79a478d9023ee4e4b71ae2c7866ba5a84d39986 |