Skip to main content

A simple list explorer package for ipython contexts

Project description

Ipy List Explorer

This is subject to major overhaul - if you want to use it it's probably best to just copy the code from src/ipy_list_explorer/widget.py :)

PyPI - Version PyPI - Python Version GitHub License Downloads

A simple list explorer for Ipython, made entirely from ipywidgets.

Pass in a list of strings, and view them in two ways

  1. As a condensed list view (with a single line per entry)
  2. As a detail view per item.

While in the detail view, use the arrows to navigate through the list.

Screenshots

Contains three items in a vertical stack. Gray buttons for each item Detailed view of text for item 3. Shows scrollbar. Top menu has Back, Prev, Next buttons from Left to Right

Usage:

from ipy_list_explorer import ListExplorer

ListExplorer(["Item1"])

Misc

Feel free to use this however you'd like. I found it helpful as opposed to printing out long lists to the console.

I welcome any contributions - I'd like it to look nicer/ be more customizable. I'd also like it if this were part of a larger set of ipy widgets. It's annoying to have to install it individually

Inspired by InspectAI's Log Viewer

Project details


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

ipy_list_explorer-0.0.2.tar.gz (170.2 kB view details)

Uploaded Source

Built Distribution

If you're not sure about the file name format, learn more about wheel file names.

ipy_list_explorer-0.0.2-py3-none-any.whl (4.7 kB view details)

Uploaded Python 3

File details

Details for the file ipy_list_explorer-0.0.2.tar.gz.

File metadata

  • Download URL: ipy_list_explorer-0.0.2.tar.gz
  • Upload date:
  • Size: 170.2 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/6.1.0 CPython/3.12.5

File hashes

Hashes for ipy_list_explorer-0.0.2.tar.gz
Algorithm Hash digest
SHA256 85e21f6574b3a51f4506d6f0731fc92cf5955f4db2001320e868026d58bf7da5
MD5 e83a277cd9963595892f1c77fd1b3de9
BLAKE2b-256 51082035212403455bd363cf763fed200a29bfacb6fc895f556a937388cb902c

See more details on using hashes here.

File details

Details for the file ipy_list_explorer-0.0.2-py3-none-any.whl.

File metadata

File hashes

Hashes for ipy_list_explorer-0.0.2-py3-none-any.whl
Algorithm Hash digest
SHA256 8b7807077bed29f4f0d1f551db951fddfe4e61d0688b9fbfe900abcc59c25517
MD5 f6005fffa50ef8ace6b6d9386db75d0e
BLAKE2b-256 9d7c4354718bbcdd8c0857414c6e7682fcbdee9a37552a565b07e37bea0ea35a

See more details on using hashes here.

Supported by

AWS Cloud computing and Security Sponsor Datadog Monitoring Depot Continuous Integration Fastly CDN Google Download Analytics Pingdom Monitoring Sentry Error logging StatusPage Status page