circuits.web.main module

Main

circutis.web Web Server and Testing Tool.

class circuits.web.main.Authentication(channel='web', realm=None, passwd=None)

Bases: circuits.core.components.Component

channel = 'web'
realm = 'Secure Area'
request(event, request, response)
users = {'admin': '21232f297a57a5a743894a0e4a801fc3'}
class circuits.web.main.HelloWorld(*args, **kwargs)

Bases: circuits.core.components.Component

initializes x; see x.__class__.__doc__ for signature

channel = 'web'
request(request, response)
class circuits.web.main.Root(*args, **kwargs)

Bases: circuits.web.controllers.Controller

initializes x; see x.__class__.__doc__ for signature

hello(event, *args, **kwargs)
circuits.web.main.main()
circuits.web.main.parse_bind(bind)
circuits.web.main.parse_options()
circuits.web.main.select_poller(poller)