depdigest.check_dependency# depdigest.check_dependency(module_name, pypi_name=None, caller=None, exception_class=<class 'ImportError'>)[source]# Check if a dependency is installed. Raises the specified exception if missing. Parameters: module_name (str) pypi_name (str) caller (str) exception_class (type)