Module Expr Str ImportFrom alias Import alias ImportFrom alias alias Assign NameStore Call NameLoad Str ListLoad Str Str Str Assign NameStore Call NameLoad Str ListLoad Str Str Str Str Assign NameStore Call NameLoad Str ListLoad Str Str Str Str Assign NameStore Str Assign NameStore BinOpMod Str NameLoad Assign NameStore Str Assign NameStore Call AttributeLoad NameLoad attr BinOpMod Str TupleLoad NameLoad NameLoad Assign NameStore Call AttributeLoad NameLoad attr Str ClassDef bases NameLoad body Expr Str Assign NameStore NameLoad Assign NameStore Dict FunctionDef arguments args NameParam defaults body Assign AttributeStore NameLoad attr ListLoad Assign AttributeStore NameLoad attr Call AttributeLoad AttributeLoad NameLoad attr attr Expr Call AttributeLoad NameLoad attr decorator_list FunctionDef arguments args NameParam defaults body Expr Str Assign AttributeStore NameLoad attr Num Assign AttributeStore NameLoad attr NameLoad Assign AttributeStore NameLoad attr NameLoad Assign AttributeStore NameLoad attr NameLoad Assign AttributeStore NameLoad attr NameLoad Assign AttributeStore NameLoad attr NameLoad decorator_list FunctionDef arguments args NameParam NameParam defaults body Expr Str Assign AttributeStore NameLoad attr ListLoad Assign NameStore Num For NameStore Call AttributeLoad NameLoad attr NameLoad body Assign NameStore SubscriptLoad NameLoad Slice NameLoad Call AttributeLoad NameLoad attr Assign NameStore Call AttributeLoad NameLoad attr AttributeLoad NameLoad attr NameLoad If BoolOpOr NameLoad AttributeLoad NameLoad attr body Expr Yield NameLoad Assign NameStore Call AttributeLoad NameLoad attr Assign AttributeStore NameLoad attr ListLoad Assign NameStore ListComp NameLoad comprehension NameStore Call AttributeLoad NameLoad attr CompareIsNot NameLoad NameLoad Assign NameStore ListComp NameLoad comprehension NameStore Call AttributeLoad SubscriptLoad NameLoad Index Num attr Str NameLoad If Call AttributeLoad SubscriptLoad NameLoad Index Num attr Str body TryExcept body Assign NameStore Call NameLoad Call NameLoad NameLoad NameLoad handlers ExceptHandler type NameLoad body Pass orelse Expr Call AttributeLoad NameLoad attr SubscriptLoad NameLoad Index Num NameLoad orelse If Call AttributeLoad SubscriptLoad NameLoad Index Num attr Str body Expr Call AttributeLoad NameLoad attr NameLoad Assign NameStore SubscriptLoad NameLoad Slice NameLoad Assign NameStore Call AttributeLoad NameLoad attr AttributeLoad NameLoad attr NameLoad If BoolOpOr NameLoad AttributeLoad NameLoad attr body Expr Yield NameLoad decorator_list FunctionDef arguments args NameParam NameParam NameParam defaults ListLoad body Expr Str If CompareEq NameLoad Str body If NameLoad body Expr Call AttributeLoad NameLoad attr NameLoad orelse Expr Call AttributeLoad NameLoad attr ListLoad Num orelse If BoolOpOr CompareEq NameLoad Str CompareEq NameLoad Str body Assign NameStore IfExp NameLoad SubscriptLoad NameLoad Index Num Num If CompareLtELtE Num NameLoad Num body Assign NameStore IfExp CompareEq NameLoad Str Str Str If CompareEq NameLoad Num body Assign NameStore Str orelse If CompareEq NameLoad Num body Assign NameStore Str orelse If CompareEq NameLoad Num body Assign NameStore Str Expr Call AttributeLoad AttributeLoad NameLoad attr attr Call NameLoad Str NameLoad NameLoad orelse If BoolOpOr CompareEq NameLoad Str CompareEq NameLoad Str body Assign NameStore IfExp CompareEq NameLoad Str Str Str Assign NameStore IfExp NameLoad SubscriptLoad NameLoad Index Num Num Expr Call AttributeLoad AttributeLoad NameLoad attr attr Call NameLoad Str NameLoad Str NameLoad decorator_list FunctionDef arguments args NameParam NameParam defaults body Expr Str TryExcept body Assign NameStore Call NameLoad Call AttributeLoad NameLoad attr Num handlers ExceptHandler type TupleLoad NameLoad NameLoad body Return If CompareEq NameLoad Num body TryExcept body Assign NameStore Call NameLoad Call AttributeLoad NameLoad attr Num Assign NameStore Call AttributeLoad NameLoad attr Num Assign SubscriptStore AttributeLoad NameLoad attr Index NameLoad Call AttributeLoad NameLoad attr NameLoad handlers ExceptHandler type TupleLoad NameLoad NameLoad body Pass decorator_list FunctionDef arguments args NameParam NameParam defaults body Expr Str If UnaryOpNot NameLoad body Return Assign NameStore Call AttributeLoad NameLoad attr Num If CompareEq NameLoad Num body Expr Call AttributeLoad NameLoad attr orelse If CompareEq NameLoad Num body If AttributeLoad NameLoad attr body Assign AttributeStore NameLoad attr NameLoad orelse Assign AttributeStore NameLoad attr Num orelse If CompareEq NameLoad Num body Assign AttributeStore NameLoad attr Num orelse If CompareEq NameLoad Num body Assign AttributeStore NameLoad attr NameLoad orelse If CompareEq NameLoad Num body Assign AttributeStore NameLoad attr NameLoad orelse If CompareEq NameLoad Num body Assign AttributeStore NameLoad attr Num Assign AttributeStore NameLoad attr NameLoad orelse If CompareEq NameLoad Num body Assign AttributeStore NameLoad attr NameLoad orelse If CompareEq NameLoad Num body Assign AttributeStore NameLoad attr NameLoad orelse If BoolOpAnd CompareGtE NameLoad Num CompareLtE NameLoad Num body Assign AttributeStore NameLoad attr BinOpSub NameLoad Num orelse If BoolOpAnd CompareEq NameLoad Num NameLoad CompareEq Call AttributeLoad NameLoad attr Num Num body If NameLoad body Assign AttributeStore NameLoad attr Call AttributeLoad NameLoad attr Num orelse If CompareEq NameLoad Num body Assign AttributeStore NameLoad attr NameLoad orelse If BoolOpAnd CompareGtE NameLoad Num CompareLtE NameLoad Num body Assign AttributeStore NameLoad attr BinOpSub NameLoad Num orelse If BoolOpAnd CompareEq NameLoad Num NameLoad CompareEq Call AttributeLoad NameLoad attr Num Num body If NameLoad body Assign AttributeStore NameLoad attr Call AttributeLoad NameLoad attr Num orelse If CompareEq NameLoad Num body Assign AttributeStore NameLoad attr NameLoad Expr Call AttributeLoad NameLoad attr NameLoad decorator_list FunctionDef arguments args NameParam NameParam defaults body If Call AttributeLoad NameLoad attr Str body Return Call NameLoad ListComp Call NameLoad NameLoad Num comprehension NameStore Call AttributeLoad SubscriptLoad NameLoad Slice Num attr Str orelse If Call AttributeLoad NameLoad attr Str body Return Call NameLoad ListComp Call NameLoad BinOpMult Call NameLoad NameLoad Num comprehension NameStore Call AttributeLoad SubscriptLoad NameLoad Slice Num attr Str orelse If CompareEq NameLoad Str body Raise Call NameLoad Str Return NameLoad decorator_list FunctionDef arguments args NameParam NameParam defaults body Assign NameStore Call AttributeLoad NameLoad attr Num If CompareEq NameLoad Str body Expr Call AttributeLoad AttributeLoad NameLoad attr attr Call NameLoad Str Str Str Num Return Str decorator_list decorator_list ClassDef bases NameLoad body Expr Str Assign NameStore Dict Num Num Num Num Num Num Num Num Num Num Num Num Num Num Num Num Str Str Str Str Str Str Str Str Str Str Str Str Str Str Str Str Assign NameStore Call AttributeLoad NameLoad attr FunctionDef arguments args NameParam NameParam NameParam defaults Num body Expr Str If CompareIs NameLoad NameLoad body Return NameLoad If BoolOpAnd CompareLt NameLoad Num CompareGt NameLoad Num body AugAssignAdd NameStore Num Assign NameStore Call AttributeLoad AttributeLoad NameLoad attr attr NameLoad NameLoad If Call NameLoad NameLoad NameLoad body Return Call AttributeLoad NameLoad attr NameLoad orelse If Call NameLoad NameLoad TupleLoad NameLoad NameLoad body Return Call AttributeLoad NameLoad attr NameLoad Return NameLoad decorator_list FunctionDef arguments args NameParam defaults body Expr Str Assign NameStore Call AttributeLoad NameLoad attr Assign NameStore Call AttributeLoad NameLoad attr AttributeLoad NameLoad attr AttributeLoad NameLoad attr If CompareIsNot NameLoad NameLoad body Expr Call AttributeLoad NameLoad attr NameLoad Assign NameStore Call AttributeLoad NameLoad attr AttributeLoad NameLoad attr AttributeLoad NameLoad attr If CompareIsNot NameLoad NameLoad body Expr Call AttributeLoad NameLoad attr NameLoad If AttributeLoad NameLoad attr body Expr Call AttributeLoad NameLoad attr AttributeLoad AttributeLoad NameLoad attr attr orelse Expr Call AttributeLoad NameLoad attr AttributeLoad AttributeLoad NameLoad attr attr Expr Call AttributeLoad NameLoad attr AttributeLoad NameLoad attr Expr Call AttributeLoad NameLoad attr AttributeLoad NameLoad attr Return NameLoad decorator_list FunctionDef arguments args NameParam NameParam defaults body Expr Str Assign AttributeStore NameLoad attr Call AttributeLoad AttributeLoad NameLoad attr attr If CompareGtE Call AttributeLoad NameLoad attr Num body For NameStore Call NameLoad Num body Assign SubscriptStore AttributeLoad NameLoad attr Index BinOpAdd NameLoad Num SubscriptLoad AttributeLoad NameLoad attr Index NameLoad Assign SubscriptStore AttributeLoad NameLoad attr Index Num SubscriptStore AttributeLoad NameLoad attr Index Num Str Expr Call AttributeLoad AttributeLoad NameLoad attr attr AttributeLoad NameLoad attr decorator_list decorator_list
N/A N/A  Utilities for processing ANSI escape codes and special ASCII characters.
 collections namedtuple N/A re IPython.external.qt QtCore QtGui N/A EraseAction N/A namedtuple EraseAction N/A action area erase_to N/A MoveAction N/A namedtuple MoveAction N/A action dir unit count N/A ScrollAction N/A namedtuple ScrollAction N/A action dir unit count N/A CSI_COMMANDS ABCDEFGHJKSTfmnsu N/A CSI_SUBPATTERN N/A \[(.*?)([%s]) CSI_COMMANDS N/A OSC_SUBPATTERN \](.*?)[] N/A ANSI_PATTERN N/A N/A re compile N/A ?(%s|%s)? N/A CSI_SUBPATTERN OSC_SUBPATTERN N/A SPECIAL_PATTERN N/A N/A re compile ([]) AnsiCodeProcessor N/A object N/A N/A  Translates special ASCII characters and ANSI escape codes into readable
        attributes. It also supports a few non-standard, xterm-specific codes.
     N/A bold_text_enabled False N/A default_color_map N/A __init__ N/A N/A self N/A N/A N/A N/A self actions N/A N/A N/A self color_map N/A N/A N/A self default_color_map copy N/A N/A N/A self reset_sgr N/A reset_sgr N/A N/A self N/A N/A N/A  Reset graphics attributs to their default values.
         N/A N/A self intensity 0 N/A N/A self italic False N/A N/A self bold False N/A N/A self underline False N/A N/A self foreground_color None N/A N/A self background_color None N/A split_string N/A N/A self string N/A N/A N/A  Yields substrings for which the same escape code applies.
         N/A N/A self actions N/A N/A start 0 N/A match N/A N/A ANSI_PATTERN finditer string N/A N/A raw N/A string N/A start N/A N/A match start N/A substring N/A N/A SPECIAL_PATTERN sub N/A self _replace_special raw N/A N/A substring N/A self actions N/A N/A N/A substring N/A start N/A N/A match end N/A N/A self actions N/A N/A groups N/A x N/A x N/A N/A match groups N/A x None N/A params N/A param N/A param N/A N/A N/A groups N/A 1 split ; param N/A N/A N/A N/A groups N/A 0 startswith [ N/A N/A N/A N/A params N/A list N/A map int params N/A N/A N/A ValueError N/A N/A N/A N/A N/A N/A self set_csi_code N/A groups N/A 2 params N/A N/A N/A N/A N/A groups N/A 0 startswith ] N/A N/A N/A N/A self set_osc_code params N/A raw N/A string N/A start N/A substring N/A N/A SPECIAL_PATTERN sub N/A self _replace_special raw N/A N/A substring N/A self actions N/A N/A N/A substring N/A set_csi_code N/A N/A self command params N/A N/A N/A N/A  Set attributes based on CSI (Control Sequence Introducer) code.

        Parameters
        ----------
        command : str
            The code identifier, i.e. the final character in the sequence.
        
        params : sequence of integers, optional
            The parameter codes for the command.
         N/A N/A command m N/A N/A params N/A N/A N/A N/A self set_sgr_code params N/A N/A N/A N/A self set_sgr_code N/A 0 N/A N/A N/A N/A command J N/A command K N/A N/A code N/A params N/A params N/A 0 0 N/A N/A 0 code 2 N/A N/A area N/A N/A command J screen line N/A N/A code 0 N/A N/A erase_to end N/A N/A N/A code 1 N/A N/A erase_to start N/A N/A N/A code 2 N/A N/A erase_to all N/A N/A N/A N/A self actions append N/A EraseAction erase area erase_to N/A N/A N/A N/A command S N/A command T N/A N/A dir N/A N/A command S up down N/A count N/A params N/A params N/A 0 1 N/A N/A N/A N/A self actions append N/A ScrollAction scroll dir line count N/A set_osc_code N/A N/A self params N/A N/A N/A  Set attributes based on OSC (Operating System Command) parameters.
        
        Parameters
        ----------
        params : sequence of str
            The parameters for the command.
         N/A N/A N/A command N/A int N/A N/A params pop 0 N/A N/A N/A N/A IndexError ValueError N/A N/A N/A N/A command 4 N/A N/A N/A N/A color N/A int N/A N/A params pop 0 N/A spec N/A N/A params pop 0 N/A N/A N/A self color_map N/A color N/A N/A self _parse_xterm_color_spec spec N/A N/A N/A N/A IndexError ValueError N/A N/A N/A set_sgr_code N/A N/A self params N/A N/A N/A  Set attributes based on SGR (Select Graphic Rendition) codes.

        Parameters
        ----------
        params : sequence of ints
            A list of SGR codes for one or more SGR commands. Usually this
            sequence will have one element per command, although certain
            xterm-specific commands requires multiple elements.
         N/A N/A params N/A N/A N/A code N/A N/A params pop 0 N/A N/A code 0 N/A N/A N/A N/A self reset_sgr N/A N/A N/A code 1 N/A N/A N/A self bold_text_enabled N/A N/A N/A self bold True N/A N/A N/A self intensity 1 N/A N/A N/A code 2 N/A N/A N/A self intensity 0 N/A N/A N/A code 3 N/A N/A N/A self italic True N/A N/A N/A code 4 N/A N/A N/A self underline True N/A N/A N/A code 22 N/A N/A N/A self intensity 0 N/A N/A self bold False N/A N/A N/A code 23 N/A N/A N/A self italic False N/A N/A N/A code 24 N/A N/A N/A self underline False N/A N/A N/A N/A code 30 N/A code 37 N/A N/A N/A self foreground_color N/A code 30 N/A N/A N/A N/A code 38 params N/A N/A N/A params pop 0 5 N/A N/A params N/A N/A N/A self foreground_color N/A N/A params pop 0 N/A N/A N/A code 39 N/A N/A N/A self foreground_color None N/A N/A N/A N/A code 40 N/A code 47 N/A N/A N/A self background_color N/A code 40 N/A N/A N/A N/A code 48 params N/A N/A N/A params pop 0 5 N/A N/A params N/A N/A N/A self background_color N/A N/A params pop 0 N/A N/A N/A code 49 N/A N/A N/A self background_color None N/A N/A N/A self set_sgr_code params N/A _parse_xterm_color_spec N/A N/A self spec N/A N/A N/A N/A N/A spec startswith rgb: N/A N/A N/A tuple N/A N/A int x 16 N/A x N/A N/A N/A spec N/A 4 split / N/A N/A N/A N/A spec startswith rgbi: N/A N/A N/A tuple N/A N/A int N/A N/A float x 255 N/A x N/A N/A N/A spec N/A 5 split / N/A N/A N/A spec ? N/A N/A N/A ValueError Unsupported xterm color spec N/A spec N/A _replace_special N/A N/A self match N/A N/A N/A special N/A N/A match group 1 N/A N/A special N/A N/A N/A N/A N/A self actions append N/A ScrollAction scroll down page 1 N/A N/A N/A QtAnsiCodeProcessor N/A AnsiCodeProcessor N/A N/A  Translates ANSI escape codes into QTextCharFormats.
     N/A darkbg_color_map N/A 0 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 black darkred darkgreen brown darkblue darkviolet steelblue grey grey red lime yellow deepskyblue magenta cyan white N/A default_color_map N/A N/A darkbg_color_map copy get_color N/A N/A self color intensity N/A 0 N/A N/A  Returns a QColor for a given color code, or None if one cannot be
            constructed.
         N/A N/A color None N/A N/A None N/A N/A N/A color 8 N/A intensity 0 N/A N/A color 8 N/A constructor N/A N/A N/A self color_map get color None N/A N/A isinstance constructor str N/A N/A N/A N/A QtGui QColor constructor N/A N/A N/A isinstance constructor N/A tuple list N/A N/A N/A N/A QtGui QColor constructor N/A None N/A get_format N/A N/A self N/A N/A N/A  Returns a QTextCharFormat that encodes the current style attributes.
         N/A format N/A N/A QtGui QTextCharFormat N/A qcolor N/A N/A self get_color N/A self foreground_color N/A self intensity N/A N/A qcolor None N/A N/A N/A N/A format setForeground qcolor N/A qcolor N/A N/A self get_color N/A self background_color N/A self intensity N/A N/A qcolor None N/A N/A N/A N/A format setBackground qcolor N/A N/A self bold N/A N/A N/A N/A format setFontWeight N/A N/A QtGui QFont Bold N/A N/A N/A N/A format setFontWeight N/A N/A QtGui QFont Normal N/A N/A N/A format setFontItalic N/A self italic N/A N/A N/A format setFontUnderline N/A self underline N/A format N/A set_background_color N/A N/A self color N/A N/A N/A  Given a background color (a QColor), attempt to set a color map
            that will be aesthetically pleasing.
         N/A N/A self default_color_map N/A N/A N/A self darkbg_color_map copy N/A N/A N/A N/A color value 127 N/A N/A i N/A range 8 N/A N/A N/A N/A self default_color_map N/A N/A i 8 N/A N/A self default_color_map N/A i N/A N/A N/A self default_color_map N/A 7 N/A N/A self default_color_map N/A 15 black N/A N/A N/A N/A self color_map update N/A self default_color_map N/A N/A