sbmlsim.utils

Utility functions.

Module Contents

Functions

md5_for_path(path)

Calculate MD5 of file content.

deprecated(function)

Get decorator for deprecation.

timeit(function)

Time function via timing decorator.

function_name()

Get current function name.

Attributes

logger

sbmlsim.utils.logger[source]
sbmlsim.utils.md5_for_path(path)[source]

Calculate MD5 of file content.

sbmlsim.utils.deprecated(function)[source]

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.

sbmlsim.utils.timeit(function)[source]

Time function via timing decorator.

sbmlsim.utils.function_name()[source]

Get current function name.

Return type

str