Module Expr Str Import alias Import alias Import alias ImportFrom alias ClassDef bases body FunctionDef arguments args NameParam NameParam NameParam NameParam NameParam NameParam NameParam defaults NameLoad body Expr Str Assign AttributeStore NameLoad attr Num Assign AttributeStore NameLoad attr NameLoad Assign AttributeStore NameLoad attr Call NameLoad NameLoad Assign AttributeStore NameLoad attr NameLoad Assign AttributeStore NameLoad attr Call AttributeLoad NameLoad attr Assign AttributeStore NameLoad attr NameLoad Assign AttributeStore NameLoad attr NameLoad Assign AttributeStore NameLoad attr NameLoad Assign AttributeStore NameLoad attr Num Assign AttributeStore NameLoad attr AttributeLoad NameLoad attr Assign AttributeStore NameLoad attr NameLoad Assign AttributeStore NameLoad attr NameLoad Assign AttributeStore NameLoad attr NameLoad Assign AttributeStore NameLoad attr AttributeLoad NameLoad attr Assign AttributeStore NameLoad attr AttributeLoad NameLoad attr Expr Call AttributeLoad NameLoad attr Expr Call AttributeLoad NameLoad attr Assign AttributeStore NameLoad attr NameLoad If AttributeLoad NameLoad attr body Import alias Assign AttributeStore NameLoad attr Call AttributeLoad NameLoad attr If AttributeLoad NameLoad attr body Assign AttributeStore NameLoad attr Num decorator_list FunctionDef arguments args NameParam NameParam NameParam NameParam defaults Num NameLoad NameLoad body Expr Str Assign AttributeStore NameLoad attr NameLoad AugAssignAdd AttributeStore NameLoad attr NameLoad Expr Call AttributeLoad NameLoad attr keyword NameLoad Expr Call AttributeLoad NameLoad attr decorator_list FunctionDef arguments args NameParam defaults body Expr Str Assign AttributeStore NameLoad attr AttributeLoad NameLoad attr Expr Call AttributeLoad NameLoad attr decorator_list FunctionDef arguments args NameParam defaults body Expr Str If AttributeLoad NameLoad attr body TryExcept body If BoolOpAnd CompareEq AttributeLoad NameLoad attr Num Call AttributeLoad NameLoad attr Call AttributeLoad AttributeLoad NameLoad attr attr body Assign AttributeStore NameLoad attr AttributeLoad AttributeLoad NameLoad attr attr Assign AttributeStore NameLoad attr AttributeLoad AttributeLoad NameLoad attr attr orelse If BoolOpAnd CompareEq AttributeLoad NameLoad attr Num Call AttributeLoad NameLoad attr Call AttributeLoad AttributeLoad NameLoad attr attr body Assign AttributeStore NameLoad attr AttributeLoad AttributeLoad NameLoad attr attr Assign AttributeStore NameLoad attr AttributeLoad AttributeLoad NameLoad attr attr handlers ExceptHandler type NameLoad body If CompareEq AttributeLoad NameLoad attr Num body Assign AttributeStore NameLoad attr AttributeLoad AttributeLoad NameLoad attr attr Assign AttributeStore NameLoad attr AttributeLoad AttributeLoad NameLoad attr attr orelse If CompareEq AttributeLoad NameLoad attr Num body Assign AttributeStore NameLoad attr AttributeLoad AttributeLoad NameLoad attr attr Assign AttributeStore NameLoad attr AttributeLoad AttributeLoad NameLoad attr attr orelse If BoolOpAnd CompareIsNot AttributeLoad NameLoad attr NameLoad Call NameLoad AttributeLoad NameLoad attr Str body Assign AttributeStore NameLoad attr AttributeLoad AttributeLoad NameLoad attr attr Assign AttributeStore NameLoad attr AttributeLoad AttributeLoad NameLoad attr attr orelse Print Str decorator_list FunctionDef arguments args NameParam defaults body Expr Str Assign AttributeStore NameLoad attr Call AttributeLoad NameLoad attr Return BinOpSub AttributeLoad NameLoad attr AttributeLoad NameLoad attr decorator_list FunctionDef arguments args NameParam defaults body Expr Str Assign NameStore Call AttributeLoad NameLoad attr If BoolOpOr CompareEq AttributeLoad NameLoad attr Num CompareLt NameLoad Num body Return NameLoad Assign NameStore BinOpDiv Call NameLoad AttributeLoad NameLoad attr NameLoad Assign AttributeStore NameLoad attr BinOpDiv BinOpSub Call NameLoad AttributeLoad NameLoad attr Call NameLoad AttributeLoad NameLoad attr NameLoad decorator_list FunctionDef arguments args NameParam defaults body Expr Str Return Call NameLoad BinOpMult BinOpDiv AttributeLoad NameLoad attr AttributeLoad NameLoad attr Num Num decorator_list FunctionDef arguments args NameParam NameParam defaults NameLoad body Expr Str Pass decorator_list FunctionDef arguments args NameParam NameParam defaults body If CompareLt NameLoad Num body Return Call AttributeLoad NameLoad attr Str Call AttributeLoad NameLoad attr NameLoad orelse Assign NameStore BinOpAdd BinOpAdd Call NameLoad Call NameLoad BinOpFloorDiv NameLoad Num Str Call AttributeLoad NameLoad attr Str Call AttributeLoad NameLoad attr NameLoad Return NameLoad decorator_list FunctionDef arguments args NameParam defaults body Expr Str If CompareGtE AttributeLoad NameLoad attr AttributeLoad NameLoad attr body Assign AttributeStore NameLoad attr Call AttributeLoad NameLoad attr Assign AttributeStore NameLoad attr Call AttributeLoad NameLoad attr AugAssignSub AttributeStore NameLoad attr Num Expr Call AttributeLoad NameLoad attr If AttributeLoad NameLoad attr body Expr Call AttributeLoad NameLoad attr BinOpAdd Str Call AttributeLoad NameLoad attr AttributeLoad NameLoad attr Expr Call AttributeLoad NameLoad attr Str Assign AttributeStore NameLoad attr NameLoad decorator_list FunctionDef arguments args NameParam defaults body Expr Str If AttributeLoad NameLoad attr body Expr Call AttributeLoad NameLoad attr Call AttributeLoad Str attr AttributeLoad NameLoad attr Expr Call AttributeLoad NameLoad attr decorator_list FunctionDef arguments args NameParam defaults body Expr Str Expr Call AttributeLoad NameLoad attr Expr Call AttributeLoad NameLoad attr BinOpAdd Str Call AttributeLoad NameLoad attr AttributeLoad NameLoad attr Expr Call AttributeLoad NameLoad attr decorator_list FunctionDef arguments args NameParam defaults body Expr Str Expr Call AttributeLoad NameLoad attr BinOpMod Str AttributeLoad NameLoad attr Expr Call AttributeLoad NameLoad attr decorator_list FunctionDef arguments args NameParam defaults body Assign NameStore Call AttributeLoad NameLoad attr Str Call AttributeLoad NameLoad attr AttributeLoad NameLoad attr Assign NameStore Call AttributeLoad NameLoad attr Str Call AttributeLoad NameLoad attr AttributeLoad NameLoad attr Expr Call AttributeLoad NameLoad attr Assign NameStore BinOpAdd Call AttributeLoad Str attr AttributeLoad NameLoad attr NameLoad NameLoad Call AttributeLoad NameLoad attr AttributeLoad NameLoad attr If AttributeLoad NameLoad attr body TryExcept body Assign NameStore Call AttributeLoad AttributeLoad NameLoad attr attr Assign NameStore Call AttributeLoad AttributeLoad NameLoad attr attr handlers ExceptHandler type NameLoad body Assign NameStore Call AttributeLoad AttributeLoad NameLoad attr attr Assign NameStore Call AttributeLoad AttributeLoad NameLoad attr attr Assign NameStore Call AttributeLoad Str attr NameLoad NameLoad Return BinOpAdd BinOpAdd NameLoad Str NameLoad orelse Return NameLoad decorator_list FunctionDef arguments args NameParam defaults body Return Call AttributeLoad NameLoad attr decorator_list decorator_list
N/A N/A 
Sebastian Raschka 2014-2016
Python Progress Indicator Utility

Author: Sebastian Raschka <sebastianraschka.com>
License: BSD 3 clause

Contributors: https://github.com/rasbt/pyprind/graphs/contributors
Code Repository: https://github.com/rasbt/pyprind
PyPI: https://pypi.python.org/pypi/PyPrind
 N/A time N/A sys N/A os io UnsupportedOperation Prog N/A N/A __init__ N/A N/A self iterations track_time stream title monitor update_interval N/A None N/A N/A  Initializes tracking object.  N/A N/A self cnt 0 N/A N/A self title title N/A N/A self max_iter N/A float iterations N/A N/A self track track_time N/A N/A self start N/A N/A time time N/A N/A self end None N/A N/A self item_id None N/A N/A self eta None N/A N/A self total_time 0.0 N/A N/A self last_time N/A self start N/A N/A self monitor monitor N/A N/A self stream stream N/A N/A self active True N/A N/A self _stream_out N/A self _no_stream N/A N/A self _stream_flush N/A self _no_stream N/A N/A N/A self _check_stream N/A N/A N/A self _print_title N/A N/A self update_interval update_interval N/A N/A self monitor N/A N/A psutil N/A N/A self process N/A N/A psutil Process N/A N/A self track N/A N/A N/A self eta 1 N/A update N/A N/A self iterations item_id force_flush N/A 1 None False N/A N/A 
        Updates the progress bar / percentage indicator.

        Parameters
        ----------
        iterations : int (default: 1)
            default argument can be changed to integer values
            >=1 in order to update the progress indicators more than once
            per iteration.
        item_id : str (default: None)
            Print an item_id sring behind the progress bar
        force_flush : bool (default: False)
            If True, flushes the progress indicator to the output screen
            in each iteration.

         N/A N/A self item_id item_id N/A N/A self cnt iterations N/A N/A N/A self _print force_flush force_flush N/A N/A N/A self _finish N/A stop N/A N/A self N/A N/A N/A Stops the progress bar / percentage indicator if necessary. N/A N/A self cnt N/A self max_iter N/A N/A N/A self _finish N/A _check_stream N/A N/A self N/A N/A N/A Determines which output stream (stdout, stderr, or custom) to use N/A N/A self stream N/A N/A N/A N/A N/A N/A N/A self stream 1 N/A N/A os isatty N/A N/A N/A sys stdout fileno N/A N/A N/A self _stream_out N/A N/A sys stdout write N/A N/A self _stream_flush N/A N/A sys stdout flush N/A N/A N/A N/A N/A self stream 2 N/A N/A os isatty N/A N/A N/A sys stderr fileno N/A N/A N/A self _stream_out N/A N/A sys stderr write N/A N/A self _stream_flush N/A N/A sys stderr flush N/A N/A N/A UnsupportedOperation N/A N/A N/A N/A self stream 1 N/A N/A N/A self _stream_out N/A N/A sys stdout write N/A N/A self _stream_flush N/A N/A sys stdout flush N/A N/A N/A N/A self stream 2 N/A N/A N/A self _stream_out N/A N/A sys stderr write N/A N/A self _stream_flush N/A N/A sys stderr flush N/A N/A N/A N/A N/A self stream None N/A hasattr N/A self stream write N/A N/A N/A self _stream_out N/A N/A self stream write N/A N/A self _stream_flush N/A N/A self stream flush N/A N/A Warning: No valid output stream. N/A _elapsed N/A N/A self N/A N/A N/A  Returns elapsed time at update.  N/A N/A self last_time N/A N/A time time N/A N/A N/A self last_time N/A self start N/A _calc_eta N/A N/A self N/A N/A N/A  Calculates estimated time left until completion.  N/A elapsed N/A N/A self _elapsed N/A N/A N/A N/A self cnt 0 N/A elapsed 0.001 N/A N/A None N/A rate N/A N/A float N/A self cnt elapsed N/A N/A self eta N/A N/A N/A float N/A self max_iter N/A float N/A self cnt rate N/A _calc_percent N/A N/A self N/A N/A N/A Calculates the rel. progress in percent with 2 decimal points. N/A N/A round N/A N/A N/A self cnt N/A self max_iter 100 2 N/A _no_stream N/A N/A self text N/A None N/A N/A  Called when no valid output stream is available.  N/A N/A _get_time N/A N/A self _time N/A N/A N/A N/A _time 86400 N/A N/A N/A N/A time strftime %H:%M:%S N/A N/A time gmtime _time N/A N/A s N/A N/A N/A str N/A int N/A _time 3600 : N/A N/A time strftime %M:%S N/A N/A time gmtime _time N/A s N/A _finish N/A N/A self N/A N/A N/A  Determines if maximum number of iterations (seed) is reached.  N/A N/A N/A self cnt N/A self max_iter N/A N/A N/A self total_time N/A N/A self _elapsed N/A N/A self end N/A N/A time time N/A N/A self last_progress 1 N/A N/A N/A self _print N/A N/A self track N/A N/A N/A N/A self _stream_out N/A 
Total time elapsed:  N/A N/A self _get_time N/A self total_time N/A N/A N/A self _stream_out N/A N/A self active False N/A _print_title N/A N/A self N/A N/A N/A  Prints tracking title at initialization.  N/A N/A self title N/A N/A N/A N/A self _stream_out N/A N/A {}
 format N/A self title N/A N/A N/A self _stream_flush N/A _print_eta N/A N/A self N/A N/A N/A  Prints the estimated time left. N/A N/A N/A self _calc_eta N/A N/A N/A self _stream_out N/A  | ETA:  N/A N/A self _get_time N/A self eta N/A N/A N/A self _stream_flush N/A _print_item_id N/A N/A self N/A N/A N/A  Prints an item id behind the tracking object. N/A N/A N/A self _stream_out N/A  | Item ID: %s N/A self item_id N/A N/A N/A self _stream_flush N/A __repr__ N/A N/A self N/A N/A N/A str_start N/A N/A time strftime %m/%d/%Y %H:%M:%S N/A N/A time localtime N/A self start N/A str_end N/A N/A time strftime %m/%d/%Y %H:%M:%S N/A N/A time localtime N/A self end N/A N/A N/A self _stream_flush N/A time_info N/A N/A N/A Title: {}
  Started: {}
  Finished: {}
  Total time elapsed:  format N/A self title str_start str_end N/A N/A self _get_time N/A self total_time N/A N/A self monitor N/A N/A N/A N/A cpu_total N/A N/A N/A self process cpu_percent N/A mem_total N/A N/A N/A self process memory_percent N/A N/A N/A AttributeError N/A N/A cpu_total N/A N/A N/A self process get_cpu_percent N/A mem_total N/A N/A N/A self process get_memory_percent N/A cpu_mem_info N/A N/A   CPU %: {:.2f}
  Memory %: {:.2f} format cpu_total mem_total N/A N/A N/A time_info cpu_mem_info N/A N/A time_info N/A __str__ N/A N/A self N/A N/A N/A N/A N/A self __repr__ N/A N/A