Skip to main content
Help the Python Software Foundation raise $60,000 USD by December 31st!  Building the PSF Q4 Fundraiser

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 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

## 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

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

Supported by

Pingdom Pingdom Monitoring Google Google Object Storage and Download Analytics Sentry Sentry Error logging AWS AWS Cloud computing DataDog DataDog Monitoring Fastly Fastly CDN DigiCert DigiCert EV certificate StatusPage StatusPage Status page