Skip to content

utils

Utility functions.

md5_for_path

md5_for_path(path)

Calculate MD5 of file content.

deprecated

deprecated(function)

Get decorator for deprecation.

This is a decorator which can be used to mark functions as deprecated. It will result in a warning being emitted when the function is used.

timeit

timeit(function)

Time function via timing decorator.

function_name

function_name()

Get current function name.