Skip to content

tqdm.utils#

General helpers required for tqdm.std.

envwrap#

[view source]

def envwrap(name, app="", types=None, is_method=False)

Basic (env-only) version of envwrap. Install envwrap for config file support.

CallbackIOWrapper Objects#

[view source]

class CallbackIOWrapper(ObjectWrapper)

disp_len#

[view source]

def disp_len(data)

Returns the real on-screen length of a string which may contain ANSI control codes and wide chars.

disp_trim#

[view source]

def disp_trim(data, length)

Trim a string which may contain ANSI control characters.