alphatwirl.progressbar.ProgressReport¶
-
class
alphatwirl.progressbar.
ProgressReport
(name, done, total, taskid=None)[source]¶ A progress report
Parameters: - name (str) – the name of the task. if
taskid
isNone
, used to identify the task - done (int) – the number of the iterations done so far
- total (int) – the total iterations to be done
- taskid (immutable, optional) – if given, used to identify the task. useful if multiple tasks have the same name
-
__init__
(name, done, total, taskid=None)[source]¶ Initialize self. See help(type(self)) for accurate signature.
Methods
__init__
(name, done, total[, taskid])Initialize self. first
()last
()- name (str) – the name of the task. if