Changed to be a Classful app. Can be usefully imported now.
A quick & cheerful Upstart script.  To be placed in /etc/init/
A *VERY* rough first go at a Python web app, serving a Wake-on-Lan server. Best avoid.