Module Expr Str ImportFrom alias ImportFrom alias alias ImportFrom alias alias Assign NameStore TupleLoad Str Str Str FunctionDef arguments args NameParam NameParam NameParam defaults Str body Expr Str Assign NameStore Call NameLoad NameLoad NameLoad Assign NameStore Call NameLoad Call NameLoad NameLoad NameLoad For TupleStore NameStore NameStore Call NameLoad NameLoad body Assign NameStore Call AttributeLoad Call NameLoad NameLoad attr BinOpAdd NameLoad Num NameLoad If NameLoad body Assign NameStore Call AttributeLoad NameLoad attr Call NameLoad NameLoad NameLoad Assign SubscriptStore NameLoad Index NameLoad NameLoad Return Call AttributeLoad Str attr NameLoad decorator_list FunctionDef arguments args NameParam NameParam NameParam defaults Str body Expr Str Assign NameStore Call NameLoad NameLoad NameLoad If NameLoad body Assign NameStore Call AttributeLoad NameLoad attr Str Assign NameStore AttributeLoad NameLoad attr Assign NameStore Call NameLoad NameLoad NameLoad For TupleStore NameStore NameStore Call NameLoad NameLoad body Assign SubscriptStore NameLoad Index NameLoad Call AttributeLoad NameLoad attr Assign NameStore ListLoad For NameStore NameLoad body Assign NameStore ListLoad Str Assign NameStore Num For NameStore NameLoad body If CompareLtE BinOpAdd Call NameLoad SubscriptLoad NameLoad Index NameLoad Call NameLoad NameLoad NameLoad body AugAssignAdd SubscriptStore NameLoad Index NameLoad NameLoad AugAssignAdd SubscriptStore NameLoad Index NameLoad Str orelse If CompareGt Call NameLoad NameLoad NameLoad body If Call NameLoad SubscriptLoad NameLoad Index NameLoad body Assign SubscriptStore NameLoad Index NameLoad Call AttributeLoad SubscriptLoad NameLoad Index NameLoad attr Expr Call AttributeLoad NameLoad attr Str AugAssignAdd NameStore Num Assign NameStore Call NameLoad NameLoad NameLoad For TupleStore NameStore NameStore Call NameLoad NameLoad body If UnaryOpNot CompareEq BinOpAdd NameLoad Num Call NameLoad NameLoad body AugAssignAdd SubscriptStore NameLoad Index NameLoad NameLoad Assign SubscriptStore NameLoad Index NameLoad Call AttributeLoad SubscriptLoad NameLoad Index NameLoad attr Expr Call AttributeLoad NameLoad attr Str AugAssignAdd NameStore Num orelse AugAssignAdd SubscriptStore NameLoad Index NameLoad NameLoad AugAssignAdd SubscriptStore NameLoad Index NameLoad Str orelse Assign SubscriptStore NameLoad Index NameLoad Call AttributeLoad SubscriptLoad NameLoad Index NameLoad attr Expr Call AttributeLoad NameLoad attr Str AugAssignAdd NameStore Num AugAssignAdd SubscriptStore NameLoad Index NameLoad NameLoad AugAssignAdd SubscriptStore NameLoad Index NameLoad Str orelse Assign SubscriptStore NameLoad Index NameLoad Call AttributeLoad SubscriptLoad NameLoad Index NameLoad attr Assign NameStore Call NameLoad NameLoad NameLoad Expr Call AttributeLoad NameLoad attr Call AttributeLoad NameLoad attr NameLoad Assign NameStore Call AttributeLoad Str attr NameLoad If NameLoad body Assign NameStore Call AttributeLoad NameLoad attr NameLoad Return NameLoad decorator_list
N/A N/A 
clint.textui.formatters
~~~~~~~~~~~~~~~~~~~~~~~

Core TextUI functionality for text formatting.

 __future__ absolute_import colored ColoredString clean utils tsplit schunk N/A NEWLINES N/A min_width N/A N/A string cols padding N/A N/A N/A Returns given string with right padding. N/A is_color N/A isinstance string ColoredString N/A stack N/A tsplit N/A str string NEWLINES N/A N/A i substring N/A enumerate stack N/A N/A _sub N/A N/A N/A clean substring ljust N/A cols 0 padding N/A is_color N/A N/A _sub N/A N/A _sub replace N/A clean substring substring N/A N/A stack N/A i _sub N/A N/A N/A join stack N/A max_width N/A N/A string cols separator N/A N/A N/A Returns a freshly formatted
    :param string: string to be formatted
    :type string: basestring or clint.textui.colorred.ColoredString
    :param cols: max width the text to be formatted
    :type cols: int
    :param separator: separator to break rows
    :type separator: basestring

        >>> formatters.max_width('123 5678', 8)
        '123 5678'
        >>> formatters.max_width('123 5678', 7)
        '123 
5678'

     N/A is_color N/A isinstance string ColoredString N/A is_color N/A N/A string_copy N/A N/A string _new N/A string N/A string s N/A stack N/A tsplit string NEWLINES N/A N/A i substring N/A enumerate stack N/A N/A N/A stack N/A i N/A N/A substring split N/A _stack N/A N/A row stack N/A N/A _row N/A N/A _row_i 0 N/A word row N/A N/A N/A N/A N/A len N/A _row N/A _row_i N/A len word cols N/A N/A N/A _row N/A _row_i word N/A N/A _row N/A _row_i N/A N/A N/A N/A len word cols N/A N/A N/A len N/A _row N/A _row_i N/A N/A N/A _row N/A _row_i N/A N/A N/A _row N/A _row_i rstrip N/A N/A N/A _row append N/A _row_i 1 N/A chunks N/A schunk word cols N/A N/A i chunk N/A enumerate chunks N/A N/A N/A N/A N/A i 1 N/A len chunks N/A N/A N/A _row N/A _row_i chunk N/A N/A _row N/A _row_i N/A N/A N/A _row N/A _row_i rstrip N/A N/A N/A _row append N/A _row_i 1 N/A N/A N/A _row N/A _row_i chunk N/A N/A _row N/A _row_i N/A N/A N/A _row N/A _row_i N/A N/A N/A _row N/A _row_i rstrip N/A N/A N/A _row append N/A _row_i 1 N/A N/A _row N/A _row_i word N/A N/A _row N/A _row_i N/A N/A N/A _row N/A _row_i N/A N/A N/A _row N/A _row_i rstrip N/A _row N/A map str _row N/A N/A N/A _stack append N/A N/A separator join _row N/A _s N/A N/A join _stack N/A is_color N/A N/A _s N/A N/A string_copy _new _s N/A _s N/A