jupyterlab_variableinspectordeprecated

A JupyterLab extension.

Usage no npm install needed!

<script type="module">
  import jupyterlabVariableinspector from 'https://cdn.skypack.dev/jupyterlab_variableinspector';
</script>

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 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 [1.0]

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.

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:

  1. Clone this repository with git clone https://github.com/lckr/jupyterlab-variableInspector

  2. Once you downloaded the repository use the following steps:

cd jupyterlab-variableInspector
npm install
npm run build
jupyter labextension install .
  1. Confirm the installation of the extension with:
jupyter labextension list

which should print enabled and OK.