formatting

This module provides general utilities for producing formatted I/O

tostr(value[, quote_str])

Convert a value to a string

tabular_writer(ostream, prefix, data, ...)

Output data in tabular form

wrap_reStructuredText(docstr, wrapper)

A text wrapper that honors paragraphs and basic reStructuredText markup

StreamIndenter(ostream[, indent])

Mock-up of a file-like object that wraps another file-like object and indents all data using the specified string before passing it to the underlying file.

Classes

StreamIndenter(ostream[, indent])

Mock-up of a file-like object that wraps another file-like object and indents all data using the specified string before passing it to the underlying file.

Functions

tabular_writer(ostream, prefix, data, ...)

Output data in tabular form

tostr(value[, quote_str])

Convert a value to a string

wrap_reStructuredText(docstr, wrapper)

A text wrapper that honors paragraphs and basic reStructuredText markup