sivtools.utilities package

Submodules

sivtools.utilities.decorators module

Useful Decorators

sivtools.utilities.decorators.print_(func)

Print the return value of the function

sivtools.utilities.decorators.timer(*args, **kwargs)

Decorator to time function

sivtools.utilities.logging module

sivtools.utilities.logging.siv_logger(name='app', *, format_str='[%(levelname)s] %(name)s:%(lineno)s (%(asctime)s) %(message)s', level=10, handler=<class 'logging.StreamHandler'>)

Wrapper for Standard Library logger with sane defaults

Module contents