You cannot select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
Christopher Teutsch d2fde3791a
Properly separate line choices
4 years ago
.gitignore Write line names to separate table 4 years ago
README.md Add setup script, use Requests sessions, add README 4 years ago
monitor.py Properly separate line choices 4 years ago
requirements.txt Fix requirements 4 years ago
setup.py Set up stations table in Setup 4 years ago
vrr.ini Compact print format by default, proper separation of line choices 4 years ago

README.md

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!