/TrainMonitor

A set of python script to download and process data of Italian railways site www.viaggiatreno.it

Primary LanguagePythonGNU General Public License v3.0GPL-3.0

TrainMonitor

A set of python script to download and process data of Italian railways site www.viaggiatreno.it

  • TrainMonitor/

    • viaggiatreno.py - a simple interface to viaggiatreno.it API
    • dateutils.py - utilities for Italian holidays and other date operations
  • test/ - Unit tests

  • demo-dumpstations.py - dumps informations about Italian railway stations, in CSV and GeoJSON format (a dump updated to 2018-02-26 can be downloaded here: https://gist.github.com/febs/39d373bf876caed20fdfc8cf4cf4921f

  • demo-trainstatus.py - display train running status informations, given the train number

  • run_tests.py - Runs unit tests