web.py

web.disconnect_session()[source]
Parameters:session_id

End the webapp session and the update thread on the users disconnect from the page :return:

web.get_updates(data)[source]
Parameters:data – socket.io data about the update thread:

Authenticate and start the update thread :return:

web.login()[source]
Parameters:
  • username
  • password
Return Login data:
 
web.main()[source]

Render the webapp index.html template :return index template:

web.report(path)[source]

Render template for admin-only reporting page or bounce a non admin user back to / :param session: :return report template:

web.settings_page()[source]

Render the settings template :return:

web.signup()[source]

Render signup template :return:

web.update_loop(session_id, sid)[source]
Parameters:
  • session_id – W.I.L.L session id
  • sid – Flask session id

Update thread that will emit socket.io updates to the user while they’re connected

Returns: