OCDocker.Toolbox.Basetools module

Sets of classes and functions that are for basic uses.

Usage:

import OCDocker.Toolbox.Basetools as ocbasetools

OCDocker.Toolbox.Basetools.redirect_to_tqdm()[source]

Redirects the stdout to tqdm.write()

Returns:

The context manager that redirects the stdout to tqdm.write().

Return type:

contextlib.AbstractContextManager