Fork of Jupyter Dash with multiprocessing support: Dash support for the Jupyter notebook interface
Project description
Jupyter Dash - Multiprocessing
This is a fork of Jupyter Dash that uses multiprocessing instead of threading to keep up with the flask backend updates.
This library makes it easy to develop Plotly Dash apps interactively from within Jupyter environments (e.g. classic Notebook, JupyterLab, Visual Studio Code notebooks, nteract, PyCharm notebooks, etc.).
See the notebooks/getting_started.ipynb for more information and example usage.
Installation
You can install the JupyterDash Python package using pip...
$ pip install jupyter-dash
or conda
$ conda install -c conda-forge -c plotly jupyter-dash
JupyterLab support
When used in JupyterLab, JupyterDash depends on the jupyterlab-dash
JupyterLab extension, which requires JupyterLab version 2.0 or above.
This extension is included with the Python package, but in order to activate it JupyterLab must be rebuilt. JupyterLab should automatically produce a popup dialog asking for permission to rebuild, but the rebuild can also be performed manually from the command line using:
$ jupyter lab build
To check that the extension is installed properly, call jupyter labextension list
.
Colab support
As of version 0.3.0, JupyterDash
works in Colab with no additional configuration. Just install jupyter-dash
using pip in a Colab notebook cell
!pip install jupyter-dash
Features
To learn more about the features of JupyterDash, check out the announcement post.
Development
To develop JupyterDash, first create and activate a virtual environment using virtualenv or conda.
Then clone the repository and change directory to the repository root:
$ git clone https://github.com/plotly/jupyter-dash.git
$ cd jupyter-dash
Then install the dependencies:
$ pip install -r requirements.txt -r requirements-dev.txt
Then install the Python package in editable mode. Note: this will require nodejs to be installed.
$ pip install -e .
Then install the classic notebook extension in development mode:
$ jupyter nbextension install --sys-prefix --symlink --py jupyter_dash
$ jupyter nbextension enable --py jupyter_dash
Then install the JupyterLab extension in development mode:
$ jupyter labextension link extensions/jupyterlab
For release, build the JupyterLab extension to bundle with the Python package:
$ python setup.py build_js
Project details
Release history Release notifications | RSS feed
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
Built Distribution
Hashes for jupyter_dash_mp-0.5.0a1-py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 00e179bf5b90646ff620f3697585a9e7d0e98170a5da9cd47a3456060aebb5b4 |
|
MD5 | 349f2cef6727cf9a7ab38f0bdb3c9992 |
|
BLAKE2b-256 | d394078f51c998af0d56d7831e5b529d0842b9c2490fe421fbe391229b405717 |