Module ImportFrom alias Import alias Import alias Import alias ImportFrom alias ImportFrom alias ImportFrom alias ImportFrom alias ImportFrom alias Assign NameStore TupleLoad Str FunctionDef arguments args NameParam NameParam defaults AttributeLoad NameLoad attr body Expr Str Assign NameStore CompareEq AttributeLoad NameLoad attr Str If UnaryOpNot NameLoad body Assign NameStore Call AttributeLoad NameLoad attr Str Assign NameStore Call AttributeLoad NameLoad attr NameLoad Assign NameStore SubscriptLoad NameLoad Index Num If NameLoad body AugAssignBitOr NameStore AttributeLoad NameLoad attr orelse AugAssignBitAnd NameStore UnaryOpInvert AttributeLoad NameLoad attr Assign SubscriptStore NameLoad Index Num NameLoad Expr Call AttributeLoad NameLoad attr NameLoad AttributeLoad NameLoad attr NameLoad decorator_list ClassDef bases NameLoad body Expr Str Assign NameStore Dict Str Str Str Str AttributeLoad NameLoad attr AttributeLoad NameLoad attr AttributeLoad NameLoad attr AttributeLoad NameLoad attr FunctionDef arguments args NameParam defaults body Assign AttributeStore NameLoad attr NameLoad Assign AttributeStore NameLoad attr Str Assign AttributeStore NameLoad attr AttributeLoad NameLoad attr decorator_list FunctionDef arguments args NameParam NameParam defaults body Expr Str If AttributeLoad NameLoad attr body Expr Call AttributeLoad AttributeLoad NameLoad attr attr BinOpAdd Call NameLoad NameLoad Str decorator_list FunctionDef arguments args NameParam defaults body Expr Str Expr Call AttributeLoad NameLoad attr Str decorator_list FunctionDef arguments args NameParam NameParam NameParam NameParam defaults Str body Expr Str If CompareNotIn NameLoad AttributeLoad NameLoad attr body Assign NameStore Call AttributeLoad Str attr Call AttributeLoad AttributeLoad NameLoad attr attr Raise Call NameLoad Call AttributeLoad Str attr NameLoad NameLoad Assign NameStore SubscriptLoad AttributeLoad NameLoad attr Index NameLoad Assign NameStore Call NameLoad Call AttributeLoad NameLoad attr Assign NameStore Call AttributeLoad AttributeLoad NameLoad attr attr keyword NameLoad keyword NameLoad Expr Call AttributeLoad NameLoad attr NameLoad decorator_list FunctionDef arguments args NameParam NameParam defaults body Expr Str Assign NameStore Call AttributeLoad NameLoad attr NameLoad Assign NameStore Call AttributeLoad Str attr keyword Call AttributeLoad NameLoad attr NameLoad Expr Call AttributeLoad NameLoad attr NameLoad decorator_list FunctionDef arguments args NameParam NameParam defaults body Expr Str Expr Call AttributeLoad NameLoad attr Str NameLoad keyword Str decorator_list FunctionDef arguments args NameParam NameParam defaults body Expr Str Expr Call AttributeLoad NameLoad attr Str NameLoad keyword Str decorator_list FunctionDef arguments args NameParam NameParam defaults vararg kwarg body Expr Str If AttributeLoad NameLoad attr body Return Call NameLoad NameLoad NameLoad NameLoad Return NameLoad decorator_list FunctionDef arguments args NameParam defaults body Expr Str If AttributeLoad NameLoad attr body TryFinally body Expr Call NameLoad keyword NameLoad Expr Yield finalbody Expr Call NameLoad keyword NameLoad orelse Expr Yield decorator_list NameLoad decorator_list ClassDef bases NameLoad body Expr Str Assign NameStore NameLoad FunctionDef arguments args NameParam NameParam NameParam defaults body Assign AttributeStore AttributeLoad NameLoad attr attr NameLoad Return Call AttributeLoad Call NameLoad NameLoad NameLoad attr NameLoad NameLoad decorator_list decorator_list ClassDef bases NameLoad body Expr Str Assign NameStore Call NameLoad keyword NameLoad FunctionDef arguments args NameParam defaults kwarg body Assign AttributeStore NameLoad attr Call NameLoad Assign AttributeStore AttributeLoad NameLoad attr attr AttributeLoad NameLoad attr Expr Call AttributeLoad Call NameLoad NameLoad NameLoad attr NameLoad decorator_list decorator_list
N/A __future__ print_function N/A os N/A sys N/A importlib contextlib contextmanager neupy.core.config Configurable neupy.core.properties BaseProperty neupy.helpers progressbar N/A terminal N/A __all__ N/A Verbose terminal_echo N/A N/A enabled file_descriptor N/A N/A sys stdin N/A N/A  Enable/disable echo in the terminal.

    Parameters
    ----------
    enabled : bool
        The `False` value means that you willn't be able to make
        input in terminal.
    file_descriptor : object
        File descriptor that you would like to enable or disable.
        Defaults to ``sys.stdin``.
     N/A is_windows N/A N/A os name nt N/A N/A is_windows N/A N/A termios N/A N/A importlib import_module termios N/A attributes N/A N/A termios tcgetattr file_descriptor N/A lflag N/A attributes N/A 3 N/A enabled N/A N/A lflag N/A termios ECHO N/A N/A lflag N/A N/A termios ECHO N/A N/A attributes N/A 3 lflag N/A N/A N/A termios tcsetattr file_descriptor N/A termios TCSANOW attributes N/A TerminalLogger N/A object N/A N/A  Customized logging class that replace standard logging
    functionality.

    Attributes
    ----------
    enable : bool
        Enable/disable logging output. Defaults to ``True``.
    template : str
        Terminal output message template. Defaults
        to ``"[{name}] {text}"``.
    stdout : object
        Writes output in terminal. Defaults to ``sys.stdout``.
     N/A colors N/A gray green red white N/A terminal gray N/A terminal green N/A terminal red N/A terminal white __init__ N/A N/A self N/A N/A N/A N/A self enable True N/A N/A self template [{tag}] {text} N/A N/A self stdout N/A sys stdout N/A write N/A N/A self text N/A N/A N/A  Method writes text in terminal if logging is enable.

        Parameters
        ----------
        text : str
         N/A N/A self enable N/A N/A N/A N/A N/A self stdout write N/A N/A str text N/A newline N/A N/A self N/A N/A N/A  Just writes an empty line.
         N/A N/A N/A self write N/A message N/A N/A self tag text color N/A green N/A N/A  Methods writes message in terminal using specific template.
        Each row should have tag and text. Tag identifies message
        category and text information reletad to this category.

        Parameters
        ----------
        name : str
        text : str
        color : {{'green', 'gray', 'red', 'white'}}
            Property that color text defined as ``tag`` parameter.
            Defaults to ``green``.
         N/A N/A color N/A self colors N/A N/A available_colors N/A N/A ,  join N/A N/A N/A self colors keys N/A N/A ValueError N/A N/A Invalid color `{}`. Available colors: {} format color available_colors N/A colorizer N/A N/A self colors N/A color N/A formated_tag N/A colorizer N/A N/A tag upper N/A message N/A N/A N/A self template format tag formated_tag text text N/A N/A N/A self write message N/A title N/A N/A self text N/A N/A N/A  Method write text as a title message. Text will be displayed
        using bold and underline text styles. Also there will be empty
        lines before and after the message.

        Parameters
        ----------
        text : str
         N/A bold_text N/A N/A terminal bold text N/A message N/A N/A 
{text}
 format text N/A N/A terminal underline bold_text N/A N/A N/A self write message N/A error N/A N/A self text N/A N/A N/A " Method writes messages that related to error type.
        Text will be displayed as message with ``tag`` parameter equal
        to ``'ERROR'``. Color will be red.

        Parameters
        ----------
        text : str
         N/A N/A N/A self message ERROR text color red N/A warning N/A N/A self text N/A N/A N/A " Method writes messages that related to warning type.
        Text will be displayed as message with ``tag`` parameter equal
        to ``'WARN'``. Color will be red.

        Parameters
        ----------
        text : str
         N/A N/A N/A self message WARN text color red N/A progressbar N/A N/A self iterator N/A args kwargs N/A N/A  Make progressbar for specific iteration if logging
        is enable.

        Parameters
        ----------
        iterator : iterable object
        *args
            Arguments for ``progressbar`` function.
        **kwargs
            Key defined arguments for ``progressbar`` function.
         N/A N/A self enable N/A N/A N/A progressbar iterator args kwargs N/A iterator N/A disable_user_input N/A N/A self N/A N/A N/A  Context manager helps ignore user input in
        terminal for UNIX.
         N/A N/A self enable N/A N/A N/A N/A N/A terminal_echo enabled False N/A N/A N/A N/A N/A terminal_echo enabled True N/A N/A N/A N/A contextmanager N/A VerboseProperty N/A BaseProperty N/A N/A  Property that synchronize updates with ``enable`` attribute in
    logging instance.

    Parameters
    ----------
    {BaseProperty.default}
    {BaseProperty.required}
     N/A expected_type bool __set__ N/A N/A self instance value N/A N/A N/A N/A N/A instance logs enable value N/A N/A N/A N/A super VerboseProperty self __set__ instance value N/A N/A Verbose N/A Configurable N/A N/A  Class that controls NeuPy logging.

    Parameters
    ----------
    verbose : bool
        Property controls verbose output interminal. ``True`` enables
        informative output in the terminal and ``False`` -
        disable it. Defaults to ``False``.

    Attributes
    ----------
    logs : TerminalLogger
        ``TerminalLogger`` instance.
     N/A verbose N/A VerboseProperty default False __init__ N/A N/A self N/A options N/A N/A N/A self logs N/A TerminalLogger N/A N/A N/A self logs enable N/A self verbose N/A N/A N/A N/A super Verbose self __init__ options N/A N/A