Module Expr Str Assign NameStore ListLoad Str Str Str Str Import alias ImportFrom alias FunctionDef arguments args NameParam defaults body Expr Str Assign NameStore TupleLoad TupleLoad Str Str TupleLoad Str Str TupleLoad Str Str TupleLoad Str Str TupleLoad Str Str TupleLoad Str Str TupleLoad Str Str TupleLoad Str Str TupleLoad Str Str TupleLoad Str Str TupleLoad Str Str TupleLoad Str Str TupleLoad Str Str TupleLoad Str Str TupleLoad Str Str TupleLoad Str Str TupleLoad Str Str TupleLoad Str Str TupleLoad Str Str TupleLoad Str Str TupleLoad Str Str TupleLoad Str Str TupleLoad Str Str TupleLoad Str Str For TupleStore NameStore NameStore NameLoad body Expr Call NameLoad NameLoad NameLoad BinOpMod AttributeLoad NameLoad attr NameLoad decorator_list ClassDef bases body Expr Str Assign NameStore Str Assign NameStore Str Assign NameStore Str decorator_list Expr Call NameLoad NameLoad ClassDef bases body Expr Str Assign NameStore Str If BoolOpAnd CompareEq AttributeLoad NameLoad attr Str CompareEq Call AttributeLoad AttributeLoad NameLoad attr attr Str Str Str body Assign NameStore Str Assign NameStore Str orelse Assign NameStore Str Assign NameStore Str decorator_list Expr Call NameLoad NameLoad ClassDef bases body Expr Str FunctionDef arguments args NameParam NameParam NameParam defaults NameLoad kwarg body Assign AttributeStore NameLoad attr NameLoad If CompareIs NameLoad NameLoad body Assign AttributeStore NameLoad attr Call NameLoad NameLoad orelse Assign AttributeStore NameLoad attr Call NameLoad NameLoad decorator_list FunctionDef arguments args NameParam NameParam defaults NameLoad body Expr Str If CompareIs NameLoad NameLoad body Assign NameStore AttributeLoad NameLoad attr Return Call NameLoad NameLoad Call AttributeLoad AttributeLoad NameLoad attr attr decorator_list decorator_list ClassDef bases NameLoad body Expr Str FunctionDef arguments args NameParam NameParam NameParam defaults NameLoad Str body Expr Str Assign AttributeStore NameLoad attr Str Assign AttributeStore NameLoad attr NameLoad If NameLoad body If CompareEq NameLoad Str body Raise Call NameLoad Str For NameStore NameLoad body Expr Call AttributeLoad NameLoad attr NameLoad Expr Call AttributeLoad NameLoad attr NameLoad decorator_list FunctionDef arguments args NameParam defaults body Expr Str Return Call NameLoad Call NameLoad Call AttributeLoad NameLoad attr AttributeLoad NameLoad attr decorator_list FunctionDef arguments args NameParam NameParam defaults body Expr Str If UnaryOpNot Call NameLoad NameLoad NameLoad body Raise Call NameLoad Str Assign SubscriptStore NameLoad Index AttributeLoad NameLoad attr NameLoad decorator_list FunctionDef arguments args NameParam NameParam NameParam defaults Num body Expr Str Assign NameStore Call NameLoad Call AttributeLoad NameLoad attr If NameLoad body Assign NameStore NameLoad Assign NameStore NameLoad orelse Assign NameStore ListComp Call AttributeLoad NameLoad attr comprehension NameStore NameLoad Assign NameStore Call AttributeLoad NameLoad attr TryExcept body Assign NameStore Call AttributeLoad NameLoad attr NameLoad handlers ExceptHandler type NameLoad body Raise Call NameLoad BinOpAdd BinOpAdd BinOpAdd Str NameLoad Str Call AttributeLoad Call NameLoad NameLoad attr Str Str orelse Assign NameStore SubscriptLoad NameLoad Index NameLoad Assign AttributeStore NameLoad attr NameLoad Assign AttributeStore NameLoad attr AttributeLoad SubscriptLoad NameLoad Index NameLoad attr Assign SubscriptStore NameLoad Index Str SubscriptLoad NameLoad Index NameLoad decorator_list decorator_list
N/A N/A Tools for coloring text in ANSI terminals.
 N/A __all__ N/A TermColors InputTermColors ColorScheme ColorSchemeTable N/A os IPython.utils.ipstruct Struct make_color_table N/A N/A in_class N/A N/A N/A Build a set of color attributes in a class.

    Helper function for building the *TermColors classes. N/A color_templates N/A N/A Black 0;30 N/A Red 0;31 N/A Green 0;32 N/A Brown 0;33 N/A Blue 0;34 N/A Purple 0;35 N/A Cyan 0;36 N/A LightGray 0;37 N/A DarkGray 1;30 N/A LightRed 1;31 N/A LightGreen 1;32 N/A Yellow 1;33 N/A LightBlue 1;34 N/A LightPurple 1;35 N/A LightCyan 1;36 N/A White 1;37 N/A BlinkBlack 5;30 N/A BlinkRed 5;31 N/A BlinkGreen 5;32 N/A BlinkYellow 5;33 N/A BlinkBlue 5;34 N/A BlinkPurple 5;35 N/A BlinkCyan 5;36 N/A BlinkLightGray 5;37 N/A N/A name value color_templates N/A N/A N/A setattr in_class name N/A N/A in_class _base value N/A TermColors N/A N/A N/A Color escape sequences.

    This class defines the escape sequences for all the standard (ANSI?) 
    colors in terminals. Also defines a NoColor escape which is just the null
    string, suitable for defining 'dummy' color schemes in terminals which get
    confused by color escapes.

    This class should be used as a mixin for building color schemes. N/A NoColor N/A Normal [0m N/A _base [%sm N/A N/A N/A make_color_table TermColors InputTermColors N/A N/A N/A Color escape sequences for input prompts.

    This class is similar to TermColors, but the escapes are wrapped in 
    and  so that readline can properly know the length of each line and
    can wrap lines accordingly.  Use this class for any colored text which
    needs to be used in input prompts, such as in calls to raw_input().

    This class defines the escape sequences for all the standard (ANSI?) 
    colors in terminals. Also defines a NoColor escape which is just the null
    string, suitable for defining 'dummy' color schemes in terminals which get
    confused by color escapes.

    This class should be used as a mixin for building color schemes. N/A NoColor N/A N/A N/A N/A os name nt N/A N/A N/A N/A os environ get TERM dumb emacs N/A N/A Normal [0m N/A _base [%sm N/A N/A Normal [0m N/A _base [%sm N/A N/A N/A make_color_table InputTermColors ColorScheme N/A N/A N/A Generic color scheme class. Just a name and a Struct. __init__ N/A N/A self __scheme_name_ colordict N/A None colormap N/A N/A N/A self name __scheme_name_ N/A N/A colordict None N/A N/A N/A self colors N/A Struct colormap N/A N/A N/A self colors N/A Struct colordict N/A copy N/A N/A self name N/A None N/A N/A Return a full copy of the object, optionally renaming it. N/A N/A name None N/A N/A name N/A self name N/A N/A ColorScheme name N/A N/A N/A self colors dict N/A N/A ColorSchemeTable N/A dict N/A N/A General class to handle tables of color schemes.

    It's basically a dict of color schemes with a couple of shorthand
    attributes and some convenient methods.
    
    active_scheme_name -> obvious
    active_colors -> actual color table of the active scheme __init__ N/A N/A self scheme_list default_scheme N/A None N/A N/A Create a table of color schemes.

        The table can be created empty and manually filled or it can be
        created with a list of valid color schemes AND the specification for
        the default active scheme.
         N/A N/A self active_scheme_name N/A N/A self active_colors None N/A scheme_list N/A N/A N/A default_scheme N/A N/A N/A ValueError you must specify the default color scheme N/A scheme scheme_list N/A N/A N/A N/A self add_scheme scheme N/A N/A N/A self set_active_scheme default_scheme N/A copy N/A N/A self N/A N/A N/A Return full copy of object N/A N/A ColorSchemeTable N/A list N/A N/A self values N/A self active_scheme_name N/A add_scheme N/A N/A self new_scheme N/A N/A N/A Add a new color scheme to the table. N/A N/A N/A isinstance new_scheme ColorScheme N/A N/A N/A ValueError ColorSchemeTable only accepts ColorScheme instances N/A N/A self N/A N/A new_scheme name new_scheme N/A set_active_scheme N/A N/A self scheme case_sensitive N/A 0 N/A N/A Set the currently active scheme.

        Names are by default compared in a case-insensitive way, but this can
        be changed by setting the parameter case_sensitive to true. N/A scheme_names N/A list N/A N/A self keys N/A case_sensitive N/A N/A valid_schemes scheme_names N/A scheme_test scheme N/A N/A valid_schemes N/A N/A N/A s lower N/A s scheme_names N/A scheme_test N/A N/A scheme lower N/A N/A N/A scheme_idx N/A N/A valid_schemes index scheme_test N/A N/A N/A ValueError N/A N/A N/A ValueError N/A N/A N/A Unrecognized color scheme:  scheme 
Valid schemes:  N/A N/A N/A str scheme_names replace '',  N/A N/A active N/A scheme_names N/A scheme_idx N/A N/A self active_scheme_name active N/A N/A self active_colors N/A N/A self N/A active colors N/A N/A self N/A N/A self N/A active N/A N/A