skyline.webapp package

Submodules

skyline.webapp.backend module

panorama_request()[source]

Gets the details of anomalies from the database, using the URL arguments that are passed in by the request.args to build the MySQL select query string and queries the database, parse the results and creates an array of the anomalies that matched the query and creates the panaroma.json file, then returns the array. The Webapp needs both the array and the JSONP file to serve to the browser for the client side panaroma.js.

Parameters:None – determined from request.args
Returns:array
Return type:array

Note

And creates panaroma.js for client side javascript

get_list(thing)[source]

Get a list of names for things in a database table.

Parameters:thing (str) – the thing, e.g. ‘algorithm’
Returns:list
Return type:list

skyline.webapp.gunicorn module

skyline.webapp.ionosphere_backend module

skyline.webapp.utilities module

skyline.webapp.webapp module

Module contents