/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 2015-04-01 can be downloaded here: https://gist.github.com/bluviolin/b73a5166085ad2a4df9e)

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

  • run_tests.py - Runs unit tests