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: List[Type[AppBase]], show: bool = False, port: int = 5006, log_level=40, async_on: bool = True, async_max_worker: int = 12, show_logger_box: bool = False, server_kwargs: Dict[str, Any] | None = None, app_kwargs: List[Dict[str, Any]] | Dict[str, Any] | None = None) None[source]

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

Parameters:
  • apps – List of AppBase classes

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

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

  • log_level – Logging level in the console

  • async_on – use async data loading

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

  • show_logger_box – enable in-app logger

  • server_kwargs – keyword arguments for the Bokeh / tornado server

  • app_kwargs – 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