@almond-sh/jupyterlab_variableinspector
v0.4.1
Published
Variable inspector extension for JupyterLab
Downloads
567
Maintainers
Readme
jupyterlab_variableinspector
Jupyterlab extension that shows currently used variables and their values. The goal is to provide a tool similar to the variable inspector in RStudio.
This project is inspired by the variable inspector extension for jupyter notebooks and by the inspector extension included in jupyterlab.
For the time being, this project is still in its first steps. Contributions in any form are very welcome!
Features
- Allows inspection of variables for both python consoles and python notebooks
- Allows inspection of matrices in a datagrid-viewer. This might not work for large matrices.
- Allows an inline and interactive inspection of Jupyter Widgets.
Prerequisites
- JupyterLab [1.0]
Requirements for Python functionality
pandas
andnumpy
are required to enable matrix inspection.pyspark
for spark support.tensorflow
andkeras
to allow inspection of tf objects.
Requirements for ipywidgets
functionality
The variable inspector can also display Jupyter interactive widgets:
The requirements for this functionality are:
ipywidgets
- Support for widgets in JupyterLab:
jupyter labextension install @jupyter-widgets/jupyterlab-manager
Requirements for R functionality
- The
repr
library.
Installation
First of all, you need an installation of a current version of JupyterLab. Please refer to the installation guide.
You can install the inspector either by running
jupyter labextension install @lckr/jupyterlab_variableinspector
or by cloning the repository and build it locally following these steps:
Clone this repository with
git clone https://github.com/lckr/jupyterlab-variableInspector
Once you downloaded the repository use the following steps:
cd jupyterlab-variableInspector
npm install
npm run build
jupyter labextension install .
- Confirm the installation of the extension with:
jupyter labextension list
which should print enabled
and OK
.