Dask JupyterLab Extension
This package provides a JupyterLab extension to manage Dask clusters,
as well as embed Dask's dashboard plots directly into JupyterLab panes.
Requirements
JupyterLab >= 1.0
distributed >= 1.24.1
Installation
This extension includes both a client-side JupyterLab extension and a server-side
Jupyter notebook extension. Install these using the command line with
pip install dask_labextension
jupyter labextension install dask-labextension
If you are running Notebook 5.2 or earlier, enable the server extension by running
jupyter serverextension enable --py --sys-prefix dask_labextension
Configuration of Dask cluster management
This extension has the ability to launch and manage several kinds of Dask clusters,
including local clusters and kubernetes clusters.
Options for how to launch these clusters are set via the dask configuration system.
Development install
As described in the JupyterLab documentation for a development install of the labextension you can run the following in this directory:
jlpm install
jlpm run build
jupyter labextension install
To rebuild the extension:
jlpm run build
If you run JupyterLab in watch mode (jupyter lab --watch
) it will automatically pick
up changes to the built extension and rebundle itself.
To run an editable install of the server extension, run
pip install -e .
jupyter serverextension enable --sys-prefix dask_labextension