An orchestration layer for plots and tables, dummy datasets, widgets, research, reports, and anything else a data scientist might need.

Build Status GitHub issues codecov Gitter BCH compliance PyPI PyPI Docs

Note: Lantern Live has moved to tributary

Note: Email reports have moved to jupyterlab_email

Note: Publish is removed in favor of Voila

Note: Export code has has moved to jupyterlab_commands


This library is designed to fill gaps between other libraries with the JupyterLab ecosystem. The motivation was initially to allow for plots generated with a javascript library (like plotly or bokeh) to trivially swap out for matplotlib in non-browser contexts such as NBConvert generation of PDFs.

It has expanded to include a variety of functions, including grids, emailing notebooks, publishing notebooks, custom nbconvert exporters for JupyterLab, variable inpection, custom streaming operations, and other helpful functions and widgets. As these functionalities mature, or as competeting libraries emerge, they are cut out into their own standalone libraries or removed from Lantern, respectively.

This library has produced or ceded functionality to:


To install the base package from pip:

pip install pylantern

To Install from source:

make install

Lantern relies on JupyterLab extensions:

jupyter labextension install @jupyter-widgets/jupyterlab-manager
jupyter labextension install plotlywidget
jupyter labextension install @jupyterlab/plotly-extension
jupyter labextension install jupyterlab_bokeh
jupyter labextension install qgrid
jupyter labextension install @jpmorganchase/perspective-jupyterlab
jupyter labextension install ipysheet
jupyter labextension install lineup_widget

The following are for work in-progress on master:

jupyter labextension install bqplot

Getting Started

Read the docs!




Export Without Code:

Note: this has moved to jupyterlab_commands

Read the docs!

Widget Tools