register_cached_artifact_bytes#
- scikitplot.cython.register_cached_artifact_bytes(data, *, module_name, artifact_filename, cache_dir=None, temp_dir=None)[source]#
Register a compiled extension artifact from bytes and import it.
- Parameters:
- databytes
Artifact bytes.
- module_namestr
Module name used at compilation time.
- artifact_filenamestr
Artifact filename ending with a valid extension suffix (e.g.,
.so/.pyd).- cache_dirstr or pathlib.Path or None, default=None
Cache root override.
- temp_dirstr or os.PathLike or None, default=None
Temporary directory used to stage the artifact before registering.
- Returns:
- scikitplot.cython.BuildResult
Imported result.
- Parameters:
- Return type: