My short description for my project.
Project description
jupyterlab-dash
A JupyterLab extension for rendering Plotly Dash apps as a separate window in JupyterLab :tada:
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.0a1
$ jupyter labextension install jupyterlab-dash@0.1.0.alpha.1
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
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
File details
Details for the file jupyterlab-dash-0.1.0a1.tar.gz
.
File metadata
- Download URL: jupyterlab-dash-0.1.0a1.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
Algorithm | Hash digest | |
---|---|---|
SHA256 | 86f3d2b61869157665fdfdb844364e161725fa7f3d0a58a44b161c1e6d57b8a2 |
|
MD5 | 64e5da97247d0536118d65c9f3d86fd2 |
|
BLAKE2b-256 | 80cab4d6be2e9eb49aec5a8a2db6295197a24bf692f4ffc8bb04a0ab7bf98764 |
Provenance
File details
Details for the file jupyterlab_dash-0.1.0a1-py2.py3-none-any.whl
.
File metadata
- Download URL: jupyterlab_dash-0.1.0a1-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
Algorithm | Hash digest | |
---|---|---|
SHA256 | 9d03726597a5104d049b96a6d2d0c35cbf831fb2371185e621ba1579514fad1b |
|
MD5 | f864f5d31276777dc3a7ced87fc522dc |
|
BLAKE2b-256 | a9152f8ea39996326344c7035f1950d9a5619932f18f545a691050e1bf4bd284 |