Source

liveline /

Filename Size Date modified Message
daemon
data
solver
web
41 B
875 B
This is LiveLine, my own attempt at writing a live Underground trains viewer
(with many thanks to http://traintimes.org.uk/map/tube/).


Installation
------------

You'll need a reasonably recent version of Python, simplejson, and eventlet.

Once you have those, just run daemon.py from the directory it's in, and point
your web server at the web/ directory


Implementation notes
--------------------

The interface uses canvas and font embedding so it looks reasonably like the
real line maps you see on the Underground, albeit without the interchange
circles (they make it hard to see the trains).

The backend uses the detailed train API for each station, so it fires off a hell
of a lot of requests (the main reason eventlet is used, we can interleave them).


Todo
----

Deal with split lines/double lines (everything except the Jubilee, Victoria and
Bakerloo, really).