/jupyterlab-variableInspector

Variable Inspector extension for jupyterlab

Primary LanguageTypeScriptMIT LicenseMIT

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 juypterlab.

For the time being, this project is still in its first steps. Contributions in any form are very welcome!

Features

Demogif

  • 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.

Prerequisites

  • JupyterLab [0.35]

Requirements for python functionality

  • pandas and numpy are required to enable matrix inspection.
  • pyspark for spark support.
  • tensorflow and keras to allow inspection of tf objects.

Installation

In this early stage you can install this extension by building it from source.

First of all, you need an installation of a current version of JupyterLab. Please refer to the installation guide.

Next, 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 . 

Afterwards confirm the installation of the extension with:

jupyter labextension list

which should print enabled and OK.