find_entry_by_key#

scikitplot.cython.find_entry_by_key(cache_dir, key)[source]#

Find a single module cache entry by key.

Parameters:
cache_dirstr or pathlib.Path or None

Cache root.

keystr

Cache key hex string.

Returns:
CacheEntry

The matching module entry.

Raises:
FileNotFoundError

If no matching module entry exists or no artifact is present.

ValueError

If key format is invalid or key corresponds to a package entry.

Parameters:
Return type:

CacheEntry