find_package_entry_by_key#
- scikitplot.cython.find_package_entry_by_key(cache_dir, key)[source]#
Find a single package cache entry by key.
- Parameters:
- cache_dirstr or pathlib.Path or None
Cache root.
- keystr
Cache key hex string.
- Returns:
- PackageCacheEntry
The matching package entry.
- Raises:
- FileNotFoundError
If no matching package entry exists or required artifacts are missing.
- ValueError
If key format is invalid or key corresponds to a module entry.
- Parameters:
- Return type: