Skip to content

Display & inspection

Maturity labels

  • Now: Stable and supported in current releases.
  • Preview: Usable today, but behavior and APIs may evolve.
  • Planned: Not yet implemented.

Note

Status: Now

_docs() for stable rendered output

╭────────────────────────────╮
     Model[dict[str,      
       list[int]]]        
                          
{'a': [1, 2], 'b': [3, 4]}
╰────────────────────────────╯

peek() / full() / browse() usage

import omnipy as om

m = om.Model[list[int]]([1, 2, 3])
m.peek()
m.full()
m.browse()

Tip

browse() is best for notebook or local GUI sessions.

Try it in a notebook

Run m.peek(), m.full(), and m.browse() in Jupyter to compare outputs side-by-side.