Dashboard

This package contains the following classes and functions.

Note

This is the complete exposed API. Not all classes and functions are meant for the End-user

shyft.dashboard

shyft.dashboard.base

Base contains core constructs and concepts

shyft.dashboard.time_series

Visualizing time-series, percentiles, interactively

shyft.dashboard.graph

The graph component, visualizing topology

shyft.dashboard.maps

Visualizing items in a geographical map

shyft.dashboard.widgets

Dashboard widgets

shyft.dashboard.util

Utilities useful during development

shyft.dashboard

The dashboard module for easy creating adhoc and apps interactive visualizing maps, charts, tables

Start bokeh apps

shyft.dashboard.apps.start_bokeh_apps.start_bokeh_apps(apps, show=False, port=5006, log_level=40, async_on=True, async_max_worker=12, show_logger_box=False, server_kwargs=None, app_kwargs=None)[source]

This function starts a bokeh serve with the apps provided to the function

Parameters:
  • apps (List[Type[AppBase]]) – List of AppBase classes

  • show (bool) – if True a browser with all apps will be opened

  • port (int) – port where on which the apps are loaded ‘localhost:port’

  • log_level – Logging level in the console

  • async_on (bool) – use async data loading

  • async_max_worker (int) – number of workers for thread pool doing the async data loading

  • show_logger_box (bool) – enable in-app logger

  • server_kwargs (Dict[str, Any] | None) – keyword arguments for the Bokeh / tornado server

  • app_kwargs (List[Dict[str, Any]] | Dict[str, Any] | None) – list of dictionaries of additional keyword arguments for the apps, if a single dictionary is passed, a list is created with the same length as the number of apps

Return type:

None