sda.dashboard.app#
SDA Dashboard Application.
Main application entry point for the SDA Dashboard. This module sets up the Dash application with Spark branding and registers callbacks.
Functions#
|
Check if a TCP port is already in use. |
|
Create and configure the Dash application. |
|
Run the SDA Dashboard. |
Module Contents#
- sda.dashboard.app.is_port_in_use(host, port)#
Check if a TCP port is already in use.
- sda.dashboard.app.create_app(test_name, debug=False, verbose=False)#
Create and configure the Dash application.
- sda.dashboard.app.run_dashboard(test_name=None, debug=False, port=8051, host='127.0.0.1', open_browser=True, verbose=False, auto_find_port=True, xaxis=None, yaxis=None)#
Run the SDA Dashboard.
This function sets up and runs the dash application.
- Parameters:
test_name (
str,listofstr, orNone) – The name(s) of the test(s) to load on startup, or None/empty for no preloaded test.debug (
bool) – Whether to run Dash in debug mode.port (
int) – Port to run the server on.host (
str) – Host address to bind the server.open_browser (
bool) – Whether to open the browser automatically.verbose (
bool) – Whether to print detailed callback registration information.auto_find_port (
bool) – Whether to automatically find an available port if the default is taken.xaxis (
str, optional) – Default x-axis column name for plots.yaxis (
str, optional) – Default y-axis column name for plots.
See also
create_app()Create the application instance with layout and callbacks.
register_all_callbacks()Register all dashboard callbacks.