config

class audeer.config[source]

Get/set defaults for audeer.

For example, when you want to change the default number of columns for the progress bar:

import audeer

audeer.config.TQDM_COLUMNS = 50

__eq__()

config.__eq__(value, /)

Return self==value.

__ge__()

config.__ge__(value, /)

Return self>=value.

__gt__()

config.__gt__(value, /)

Return self>value.

__le__()

config.__le__(value, /)

Return self<=value.

__lt__()

config.__lt__(value, /)

Return self<value.

__repr__()

config.__repr__()

Return repr(self).

__str__()

config.__str__()

Return str(self).

TQDM_COLUMNS

config.TQDM_COLUMNS = 100

Number of columns of progress bars.

TQDM_DESCLEN

config.TQDM_DESCLEN = 60

Length of progress bar description.

TQDM_FORMAT

config.TQDM_FORMAT = '{percentage:3.0f}%|{bar} [{elapsed}<{remaining}] {desc:60}'

Format of progress bars.

TQDM_LEAVE

config.TQDM_LEAVE = False

Leave progress bar on screen after finishing.