Skip to main content
Join the official 2019 Python Developers SurveyStart the survey!

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.


Project details


Release history Release notifications

Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Files for mvg-console, version 2018.11.2
Filename, size File type Python version Upload date Hashes
Filename, size mvg_console-2018.11.2-py3-none-any.whl (18.5 kB) File type Wheel Python version py3 Upload date Hashes View hashes

Supported by

Elastic Elastic Search Pingdom Pingdom Monitoring Google Google BigQuery Sentry Sentry Error logging AWS AWS Cloud computing DataDog DataDog Monitoring Fastly Fastly CDN SignalFx SignalFx Supporter DigiCert DigiCert EV certificate StatusPage StatusPage Status page