SkillAgentSearch skills...

Ipyinspector

Inspect Python objects and data as an expandable tree widget.

Install / Use

/learn @allefeld/Ipyinspector
About this skill

Quality Score

0/100

Supported Platforms

Universal

README

ipyinspector

Inspect Python objects and data as an expandable tree widget.

screenshot

Installation

Install via pip from GitHub with

pip install git+https://github.com/allefeld/ipyinspector.git

Usage

In an environment that supports Jupyter Widgets, import the package

import ipyinspector

and then use the line magics

%oi expression

and

%di expression

to create an ObjectInspector or a DataInspector, respectively, for the value of the expression. Omitting the expression creates an inspector for all elements of the current namespace.

Both ObjectInspector and DataInspector are tree widgets based on ipytree with expandable nodes. When selected and the respective element has subelements, subnodes are created. An ObjectInspector allows to inspect the members (attributes and methods) of a Python object, while a DataInspector allows to inspect its data substructures (e.g. the elements of a list, or the subarrays of a NumPy ndarray).


This software is © Copyright 2020 Carsten Allefeld and released under the terms of the GNU General Public License, version 3.

Related Skills

View on GitHub
GitHub Stars12
CategoryProduct
Updated1y ago
Forks1

Languages

Python

Security Score

80/100

Audited on Mar 4, 2025

No findings