After using the excellent Krumo package for PHP (perhaps most famous for its use in Drupal), I was wondering if there is something similar for Python.
Specifically, I'm looking for a package that does the following: turns arbitrary (or almost arbitrary) Python variables into themed HTML/CSS. Javascript component to collapse the various elements is preferred, but easy enough to write myself if necessary.
Is such a module available? I'd prefer something standalone, but if this only exists as part of another web framework, it would still be a good starting point.