register_cached_artifact_path#
- scikitplot.cython.register_cached_artifact_path(artifact_path, *, module_name, cache_dir=None, copy=True)[source]#
Register an existing compiled extension artifact on disk, then import it.
- Parameters:
- artifact_pathpath-like
Path to the compiled artifact.
- module_namestr
Module name used at compilation time.
- cache_dirstr or pathlib.Path or None, default=None
Cache root override.
- copybool, default=True
If True, copy artifact into the cache.
- Returns:
- scikitplot.cython.BuildResult
Imported result.
- Parameters:
- Return type: