Skip to main content

Intended as a debug tool, natto returns a representation of python data structures as pretty HTML tables.

Project description

Intended as a debug tool, natto returns a representation of python data structures as pretty HTML tables.

Author:

Thomas Schüßler <vindolin@gmail.com>

About

Take a look at http://natto.idontblog.de/ to get an idea what the output looks like.

Screenshot

screenshot

Requirements

  • python >= 2.5

  • modern webbrowser (IE works but is ugly)

Usage

Usage example:

from natto import natto
natto_html = natto(some_data_structure, with_css=True)

TODO

lots of things… this is alpha

Changelog

0.1.6 ~ July 25, 2011

  • new option: blacklist

  • use __all__ instead of __dir__ where existent

  • option max_h defaults to 20

0.1.5 ~ July 23, 2011

  • fixed broken setup.py

0.1.4 ~ July 22, 2011

  • fixed broken javascript

Bazaar Repo

https://launchpad.net/pynatto

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

natto-0.1.6.tar.gz (7.6 kB view hashes)

Uploaded Source

Supported by

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