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. Based on the mvg_api project.
Getting started
- install the package:
pip install mvg-console
Usage
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
Demo
Changelog
12.02.2021
- Move to Typer instead of argparse.
- Handle some errors.
- Move to prettytable instead of Texttable.
- Disable HistoryManager.
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.
Release files for mvg-console 2021.2.12
For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.
Source distribution (sdist)
| File | Size | Uploaded | |
|---|---|---|---|
| mvg_console-2021.2.12.tar.gz | 4.4 kB | Details |
Built distribution (wheel)
| File | Interpreter | ABI | Platform | Reset |
|---|---|---|---|---|
| mvg_console-2021.2.12-py3-none-any.whl | Python 3 | none | any | Details |
Total release size: 10.6 kB
Release files / mvg_console-2021.2.12.tar.gz
| Download URL | mvg_console-2021.2.12.tar.gz |
|---|---|
| Size | 4.4 kB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
15d54f2da002a1d9f4ed72944b3c89f42ef654b4be29897ca3054b55d6948100
|
|
BLAKE2b-256 checksum How to use checksums |
5dec5309162598f0b6c8c08583c35bded2be6a0c5035c8d3ff6900cdcdbba53d
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/3.3.0 pkginfo/1.5.0.1 requests/2.25.1 setuptools/49.2.0.post20200714 requests-toolbelt/0.9.1 tqdm/4.47.0 CPython/3.8.3
|
Release files / mvg_console-2021.2.12-py3-none-any.whl
| Download URL | mvg_console-2021.2.12-py3-none-any.whl |
|---|---|
| Size | 6.2 kB |
| Tags | Python 3 |
|
SHA-256 checksum How to use checksums |
d64e282dddc69b4f501ba21ab1d06f88b426bd9266520187d9d443bc01acbe42
|
|
BLAKE2b-256 checksum How to use checksums |
0ad3c0c057624ee049b7fe84cec0a2845aa78daf7d9c4287d3837b2d197ce7f3
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/3.3.0 pkginfo/1.5.0.1 requests/2.25.1 setuptools/49.2.0.post20200714 requests-toolbelt/0.9.1 tqdm/4.47.0 CPython/3.8.3
|