utils.misc.misc_utils
Miscellaneous utility functions
snake2camel#
This method changes input name from snake format to camel format.
Arguments:
namestr - snake format input name.
Returns:
namestr - camel format input name.
clear_dir#
This method deletes the contents of the directory for which path has been provided and not included in the skips list.
Arguments:
pathstr - Path for directory to be deleted.skipsList[str] - List of paths for sub directories to be skipped from deleting.
debug#
This method wraps input method with debug calls to measure time taken for the given input method to finish.
Arguments:
methodfunction - Method which needs to be timed.
Returns:
debuggedmethod - debugged function.