dpp.cz command line interface
sudo apt install git python3 python3-pip python3-venv # python 3.6+, ideally
git clone https://github.com/ondt/dpp-cli
cd dpp-cli/
python3 -m venv venv
source venv/bin/activate # posix shell
pip install -r requirements.txtMalostranská - Náměstí Míru
python3 dpp.py malo namesti_miruWebserver startup
python3 server.pyusage: dpp.py [-h] [-n NUMBER] [-f {pretty,json,pdf}] start [via] end
Find connections for Prague public transport.
positional arguments:
start the starting station
via via (optional)
end the final station
optional arguments:
-h, --help show this help message and exit
-n NUMBER number of connections for search (default: 3)
-f {pretty,json,pdf} output format (default: pretty)

