@almond-sh/jupyterlab_variableinspector
TypeScript icon, indicating that this package has built-in type declarations

0.4.1 • Public • Published

jupyterlab_variableinspector

Binder

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

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.
  • Allows an inline and interactive inspection of Jupyter Widgets.

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 ipywidgets functionality

The variable inspector can also display Jupyter interactive widgets:

ipywidgets

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:

  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.

Package Sidebar

Install

npm i @almond-sh/jupyterlab_variableinspector

Weekly Downloads

17

Version

0.4.1

License

MIT

Unpacked Size

56.5 kB

Total Files

19

Last publish

Collaborators

  • alexarchambault