Skip to main content

A JupyterLab extensions for rendering Plotly Dash apps

Project description

jupyterlab-dash

Binder

A JupyterLab extension for rendering Plotly Dash apps as a separate window in JupyterLab :tada:

JupyterLab and Dash Demo Video

Note:: This extension does not currently support Windows or Python 2

Prerequisites

  • JupyterLab

Installation

The jupyterlab-dash library requires both a Python package and a JupyterLab extension.

$ pip install jupyterlab-dash==0.1.0a2
$ jupyter labextension install jupyterlab-dash@0.1.0-alpha.2

Development Installation

If you'd like to install jupyterlab-dash for development

git clone https://github.com/plotly/jupyterlab-dash
cd jupyterlab-dash
# Install Python package
pip install -e .
# Install Javascript dependencies
npm install # or yarn
# Build JupyterLab extension
npm run build # or yarn build
jupyter labextension link .

To rebuild the JupyterLab extension:

npm run build
jupyter lab build

To rebuild the JupyterLab extension automatically as the source changes:

# In one terminal tab, watch the jupyterlab-dash directory
npm run watch # or yarn watch
# In another terminal tab, run jupyterlab with the watch flag
jupyter lab --watch

Usage

import jupyterlab_dash
import dash
import dash_html_components as html

viewer = jupyterlab_dash.AppViewer()

app = dash.Dash(__name__)

app.layout = html.Div('Hello World')

viewer.show(app)

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

jupyterlab-dash-0.1.0a2.tar.gz (5.5 kB view details)

Uploaded Source

Built Distribution

jupyterlab_dash-0.1.0a2-py2.py3-none-any.whl (5.0 kB view details)

Uploaded Python 2 Python 3

File details

Details for the file jupyterlab-dash-0.1.0a2.tar.gz.

File metadata

  • Download URL: jupyterlab-dash-0.1.0a2.tar.gz
  • Upload date:
  • Size: 5.5 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/1.13.0 pkginfo/1.5.0.1 requests/2.21.0 setuptools/40.8.0 requests-toolbelt/0.9.1 tqdm/4.31.1 CPython/3.7.2

File hashes

Hashes for jupyterlab-dash-0.1.0a2.tar.gz
Algorithm Hash digest
SHA256 3fc3bcad58f5f43c24c1fdca987e03f74bdb21cba9af2220b8e7190fa6de8d75
MD5 9bdbba74ad001d74596baab3c41ba3a0
BLAKE2b-256 8cdd226e10a222a4bc473d33c60908a6ab9d50563ede2852f3c39ce8d7043339

See more details on using hashes here.

Provenance

File details

Details for the file jupyterlab_dash-0.1.0a2-py2.py3-none-any.whl.

File metadata

  • Download URL: jupyterlab_dash-0.1.0a2-py2.py3-none-any.whl
  • Upload date:
  • Size: 5.0 kB
  • Tags: Python 2, Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/1.13.0 pkginfo/1.5.0.1 requests/2.21.0 setuptools/40.8.0 requests-toolbelt/0.9.1 tqdm/4.31.1 CPython/3.7.2

File hashes

Hashes for jupyterlab_dash-0.1.0a2-py2.py3-none-any.whl
Algorithm Hash digest
SHA256 c71f0a29f6457feaabfd975a580b8f609466b616d5eae67bab8ab470589a7cf6
MD5 d536094ee5eb65f31b25daf67dec0195
BLAKE2b-256 02f63dc68b552692e47badbf30c2529fed2538c315815fbdda6331808b9062f5

See more details on using hashes here.

Provenance

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