Skip to content
Branch: master
Go to file

Latest commit


Failed to load latest commit information.
Latest commit message
Commit time



  • VTA schedule parsing
  • Fancy types for representing Trains, Stops, Timetables, etc.
  • Stop time interpolation for stations that are implicit (i.e., not present in the schedules)


  • Code breakup
  • More repr functions
  • Automated schedule fetching
  • Command-line interface (with options and whatnot)
  • An actual web site
  • More documentation
  • Tests
  • Output schedules in a sane format for posterity

Advanced enhancements

  • Account for fewer stops during low-traffic times
  • Holiday detection (switch to sunday schedule on holidays)

Inconsistencies in the VTA schedule format

Timing inconsistencies

  • 901 North (Alum Rock) Express trains are denoted by missing times from Capitol and Tamien, inclusive. However, missing times do not always mean the train will not stop at an inferred station when an explicit station is left blank. E.g., non-express trains stop at Cisco Way prior to the Great Mall.
  • Trains will stop at unscheduled stations before going out of service (Southbound Winchester trains go out of service at Gish).
  • Only one route (901) has departure times listed, and in only one direction, for two stations, for a few hours.
  • There are separate but identical schedules for Saturday and Sunday.
  • Schedules are 'daily', but 1:00AM Monday is on the Sunday schedule.

Naming inconsistencies

  • Abbreviation
    • 'Station' vs 'Sta.'
    • 'Stn.' vs 'Sta.'
  • The full names of stations vary between:
    • ' Station'
    • ' Light Rail Station'
    • ' Transit Center'
    • ' Transit Ctr'
    • and just ''

Deployment notes

Production version (at is run under uWSGI and supervisord with the configuration/command:

command=/usr/bin/uwsgi --uwsgi-socket -H /home/mahmoud/virtualenvs/etavta --python-path /home/mahmoud/etavta/ --module wsgi --callable application --threads 16 -t 60 -M --need-app --die-on-term


A web tool and command line utility to make sense of VTA ( Light Rail schedules.



No releases published
You can’t perform that action at this time.