Python looking glass implementation with wsgi