Skip to content

timkpaine/lantern

Repository files navigation

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 PyPI PyPI

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 and jupyterlab_nbconvert_nocode

About

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:

Install

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 @finos/perspective-jupyterlab
jupyter labextension install ipysheet
jupyter labextension install lineup_widget

The following are for work in-progress on main:

jupyter labextension install bqplot

Data

Plots

Grids

Export Without Code:

Note: this has moved to jupyterlab_commands

Widget Tools