Go to file
2019-05-19 21:33:00 +02:00
monitor.py Compact print format by default, proper separation of line choices 2019-05-19 21:33:00 +02:00
README.md Add setup script, use Requests sessions, add README 2019-05-19 18:00:07 +02:00
requirements.txt Integration with a SQL database, human-readable output of departures 2019-05-16 14:11:29 +02:00
setup.py Compact print format by default, proper separation of line choices 2019-05-19 21:33:00 +02:00
vrr.ini Compact print format by default, proper separation of line choices 2019-05-19 21:33:00 +02:00

VRR-Accountability

A script to help evaluate the reliability of public transport.

monitor.py logs departures (and their delays) to a MySQL database.

Requirements

  • A running MySQL database
  • Python 3 with the modules from requirements.txt
    • These are installable with pip3 install -r requirements.txt

Usage

  • Run ./monitor.py -s to generate a configuration file
    • Store the output in vrr.ini and add your database configuration
  • Run ./monitor.py to start logging!