All Projects → jupyter-widgets → Jupyterlab Sidecar

jupyter-widgets / Jupyterlab Sidecar

Licence: bsd-3-clause
A sidecar output widget for JupyterLab

Programming Languages

typescript
32286 projects

Projects that are alternatives of or similar to Jupyterlab Sidecar

Jupyterlab Git
A Git extension for JupyterLab
Stars: ✭ 809 (+375.88%)
Mutual labels:  jupyterlab-extension
Jupyterlab Gitplus
JupyterLab extension to create GitHub commits & pull requests
Stars: ✭ 76 (-55.29%)
Mutual labels:  jupyterlab-extension
Jupyterlab Data Explorer
First class datasets in JupyterLab
Stars: ✭ 146 (-14.12%)
Mutual labels:  jupyterlab-extension
Elyra
Elyra extends JupyterLab Notebooks with an AI centric approach.
Stars: ✭ 839 (+393.53%)
Mutual labels:  jupyterlab-extension
Jupyterlab Python Bytecode
JupyterLab extension to explore CPython Bytecode
Stars: ✭ 57 (-66.47%)
Mutual labels:  jupyterlab-extension
Jupyterlab Topbar
JupyterLab Top Bar extension
Stars: ✭ 86 (-49.41%)
Mutual labels:  jupyterlab-extension
Jupyterlab Variableinspector
Variable Inspector extension for Jupyterlab
Stars: ✭ 747 (+339.41%)
Mutual labels:  jupyterlab-extension
Jupyter bokeh
An extension for rendering Bokeh content in JupyterLab notebooks
Stars: ✭ 165 (-2.94%)
Mutual labels:  jupyterlab-extension
Ipyleaflet
A Jupyter - Leaflet.js bridge
Stars: ✭ 1,103 (+548.82%)
Mutual labels:  jupyterlab-extension
Gator
Conda environment and package management extension from within Jupyter
Stars: ✭ 143 (-15.88%)
Mutual labels:  jupyterlab-extension
Arcgis Python Api
Documentation and samples for ArcGIS API for Python
Stars: ✭ 954 (+461.18%)
Mutual labels:  jupyterlab-extension
Ipympl
Matplotlib Jupyter Integration
Stars: ✭ 1,024 (+502.35%)
Mutual labels:  jupyterlab-extension
Jupyterlab Spreadsheet
JupyterLab plugin for viewing spreadsheets, such as Excel .xls/.xlsx workbooks and OpenOffice .ods files
Stars: ✭ 95 (-44.12%)
Mutual labels:  jupyterlab-extension
Jupyterlab Vim
Vim notebook cell bindings for JupyterLab
Stars: ✭ 842 (+395.29%)
Mutual labels:  jupyterlab-extension
Awesome Jupyterlab
A curated list of awesome JupyterLab extensions and resources
Stars: ✭ 2,035 (+1097.06%)
Mutual labels:  jupyterlab-extension
Jupyterlab Lsp
Coding assistance for JupyterLab (code navigation + hover suggestions + linters + autocompletion + rename) using Language Server Protocol
Stars: ✭ 796 (+368.24%)
Mutual labels:  jupyterlab-extension
Jupyterlab Configuration
Containerized and Script-controlled JupyterLab Project Environment
Stars: ✭ 84 (-50.59%)
Mutual labels:  jupyterlab-extension
Nbdime
Tools for diffing and merging of Jupyter notebooks.
Stars: ✭ 2,135 (+1155.88%)
Mutual labels:  jupyterlab-extension
Jupyterlab System Monitor
JupyterLab extension to display system metrics
Stars: ✭ 154 (-9.41%)
Mutual labels:  jupyterlab-extension
Jupyterlab materialdarker
The Material Darker theme for JupyterLab
Stars: ✭ 120 (-29.41%)
Mutual labels:  jupyterlab-extension

Sidecar

Build Status codecov

A sidecar output widget for JupyterLab

Installation

pip install sidecar

or

conda install sidecar

If you use JupyterLab <=2:

jupyter labextension install @jupyter-widgets/jupyterlab-manager
jupyter labextension install @jupyter-widgets/jupyterlab-sidecar

Usage

The sidecar widget is used as a context manager, just like ipywidgets' output widget.

from sidecar import Sidecar
from ipywidgets import IntSlider

sc = Sidecar(title='Sidecar Output')
sl = IntSlider(description='Some slider')
with sc:
    display(sl)

When a single output is displayed in a Sidecar, it is allowed to occupy all of the vertical space available. If more content is displayed, the natural height is used instead.

sidecar

Development

# Create a new conda environment
conda create -n jupyterlab-sidecar -c conda-forge jupyterlab ipywidgets nodejs -y

# Activate the conda environment
conda activate jupyterlab-sidecar

# Install package in development mode
pip install -e .

# Link your development version of the extension with JupyterLab
jupyter labextension develop . --overwrite

# Rebuild extension Typescript source after making changes
jlpm run build

You can watch the source directory and run JupyterLab at the same time in different terminals to watch for changes in the extension's source and automatically rebuild the extension.

# Watch the source directory in one terminal, automatically rebuilding when needed
jlpm run watch
# Run JupyterLab in another terminal
jupyter lab

With the watch command running, every saved change will immediately be built locally and available in your running JupyterLab. Refresh JupyterLab to load the change in your browser (you may need to wait several seconds for the extension to be rebuilt).

By default, the jlpm run build command generates the source maps for this extension to make it easier to debug using the browser dev tools. To also generate source maps for the JupyterLab core extensions, you can run the following command:

jupyter lab build --minimize=False

Uninstall

pip uninstall jupyterlab-sidecar
Note that the project description data, including the texts, logos, images, and/or trademarks, for each open source project belongs to its rightful owner. If you wish to add or remove any projects, please contact us at [email protected].