Module npsgd_web
[hide private]
[frames] | no frames]

Module npsgd_web

source code

Server for processing client (web-site) requests to NPSGD.

This module is meant to be run as a daemon process in conjunction with npsgd_queue and npsgd_web. It acts as an HTTP server that serves up html for models (e.g. http://localhost:8000/model/example) and can be proxied behind a server or run as a web service.

Classes [hide private]
  ClientBaseRequest
Index response handler (e.g.
  ClientConfirmRequest
HTTP confirmation code handler.
  ClientModelRequest
HTTP handler for all model related requests.
Functions [hide private]
 
main() source code
 
setupClientApplication() source code
Variables [hide private]
  __package__ = None
  config = Config()
  lastWorkerCheckSuccess = datetime.datetime(1, 1, 1, 0, 0)
  modelManager = ModelManager()