Skip to main content

Dash support for the Jupyter notebook interface

Project description

Jupyter Dash

Binder

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.).

jupterlab example

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


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

jupyter-dash-0.3.1.tar.gz (16.6 kB view details)

Uploaded Source

Built Distribution

jupyter_dash-0.3.1-py3-none-any.whl (49.0 kB view details)

Uploaded Python 3

File details

Details for the file jupyter-dash-0.3.1.tar.gz.

File metadata

  • Download URL: jupyter-dash-0.3.1.tar.gz
  • Upload date:
  • Size: 16.6 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/3.1.1 pkginfo/1.5.0.1 requests/2.23.0 setuptools/46.2.0.post20200511 requests-toolbelt/0.9.1 tqdm/4.46.0 CPython/3.7.7

File hashes

Hashes for jupyter-dash-0.3.1.tar.gz
Algorithm Hash digest
SHA256 e41d68aa85a7dd53480cc33feae04f4cfd7ac2ace8089c1e1630a2342e8bd8aa
MD5 cb099e5fbe817bd3a4ab3a9c8f31f140
BLAKE2b-256 4b29e7323559eadc0fa092adfd2f946a06b5c8bd99e1c5c9525e05020c23faf6

See more details on using hashes here.

File details

Details for the file jupyter_dash-0.3.1-py3-none-any.whl.

File metadata

  • Download URL: jupyter_dash-0.3.1-py3-none-any.whl
  • Upload date:
  • Size: 49.0 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/3.1.1 pkginfo/1.5.0.1 requests/2.23.0 setuptools/46.2.0.post20200511 requests-toolbelt/0.9.1 tqdm/4.46.0 CPython/3.7.7

File hashes

Hashes for jupyter_dash-0.3.1-py3-none-any.whl
Algorithm Hash digest
SHA256 8fa250b0295a9170f2cf816468e694d5bacf5bfd9547e276a333ce258a3d59f8
MD5 9221bd7380616e09611478a7cdd8d6a6
BLAKE2b-256 b9b95f9499a0154124a262c85e3a99033b9b3a20dc3d2707b587f52b32b60d76

See more details on using hashes here.

Supported by

AWS AWS Cloud computing and Security Sponsor Datadog Datadog Monitoring Fastly Fastly CDN Google Google Download Analytics Microsoft Microsoft PSF Sponsor Pingdom Pingdom Monitoring Sentry Sentry Error logging StatusPage StatusPage Status page