Skip to main content

A simple list explorer package for ipython contexts

Project description

Ipy List Explorer

This is pretty janky right now - if you want to use it it's probably best to just copy the code from src/ipy_list_explorer/widget.py :)

A simple list explorer for Ipython contexts.

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.

Please feel free to contribute - I'd like it to look nicer/ be more customizable.

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.1.tar.gz (170.0 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.1-py3-none-any.whl (4.5 kB view details)

Uploaded Python 3

File details

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

File metadata

  • Download URL: ipy_list_explorer-0.0.1.tar.gz
  • Upload date:
  • Size: 170.0 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.1.tar.gz
Algorithm Hash digest
SHA256 586adaeba51eb5d3ff46d8ce070bf1c955702fa8de93d1eab97007a1782e0a15
MD5 40f96944b0ccd887ddbe5fe00463304a
BLAKE2b-256 fea3bfa49d7bd15b61c0468493e405497e33d4ed1a3f3b37e63943ec8fd7e438

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for ipy_list_explorer-0.0.1-py3-none-any.whl
Algorithm Hash digest
SHA256 6f7b2cd7c753a305be79451fa44bd1a7bc57d03b511a9266df649e542d736cf7
MD5 adba56717e640a751704ce3e1e95a344
BLAKE2b-256 34fbc7be9ca305a173f06b7d928f657525a723952a361e24fed18b4d1f6b4ac7

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