Utility#

Note

dtoolkit.util._decorator and dtoolkit.util._exception are dtoolkit’s inner packages.

parallelize(func, jobs, *[, n_jobs, ...])

Parallelize func to do jobs.

_decorator#

deprecated_alias([warning_msg, error_msg])

Used as a decorator when deprecating old function argument names, while keeping backwards compatibility.

deprecated_kwargs(*arguments[, message])

Used as a decorator when deprecating function keyword argument names.

warning(message[, category, stacklevel])

A warning decorator.

_exception#

find_stack_level()

Find the first place in the stack that is not inside dtoolkit (test notwithstanding).