Welcome to tuzue’s documentation!

Library usage

tuzue is a fuzzy-filtering menu-based interactive curses interface for python, with several utilities included as examples.

Basic usage of the library is very simple:

import tuzue

fruits = [ "avocado", "berry", "cherry", "durian", "eggfruit" ]
favorite = tuzue.navigate(fruits, "What is your favorite fruit?")

That generates the following possible interaction:


Inspecting in pdb

tuzue is very useful to inspect object trees in [pdb], like so:

(Pdb) import tuzue
(Pdb) tuzue.inspect( ... )

Example session where we use tuzue to inspect itself:


Indices and tables