TqdmProgressBar#

class ansys.dpf.core.common.TqdmProgressBar(text, unit, tot_size=None)#

Bases: ansys.dpf.gate.common.ProgressBarBase

Custom progress bar implementation based on tqdm.

Overview#

update

Modify how the current value of the progress bar is updated.

bar

progress_available

Check if the tdqm module exists.

Import detail#

from ansys.dpf.core.common import TqdmProgressBar

Attribute detail#

TqdmProgressBar.bar#

Method detail#

TqdmProgressBar.update(current_value)#

Modify how the current value of the progress bar is updated.

static TqdmProgressBar.progress_available()#

Check if the tdqm module exists.

Returns:

True if module exists, else False.

Return type:

bool