tqdm module¶
A progress bar implementation¶
-
class
gemseo.third_party.tqdm.
StatusPrinter
[source]¶ Bases:
object
Prints the status, recors the last printed status This class is multiprocessing-safe : the counters values are shared among all processes
-
class
gemseo.third_party.tqdm.
Tqdm
(max_iter, desc='', mininterval=0.5, miniters=1)[source]¶ Bases:
object
TQDM iterator progress bar
Prints a progress meter and updates it every time the next() ethod is called. ‘desc’ can contain a short string, describing the progress, that is added in the beginning of the line. If less than mininterval seconds or miniters iterations have passed since the last progress meter update, it is not updated again.
-
gemseo.third_party.tqdm.
format_interval
(time_inter)[source]¶ Formats a time interval
- Parameters
time_inter – the time interval to format