PackageBuildResult#

class scikitplot.cython.PackageBuildResult(package_name='', key='', build_dir=<factory>, results=<factory>, used_cache=False, created_utc=None, fingerprint=None, meta=<factory>)[source]#

Result of compiling/importing a package of extension modules.

A “package build” compiles multiple Cython extension modules in a single build directory under one Python package name (e.g., mypkg.mod1, mypkg.mod2). This supports workflows where a logical unit is split across several .pyx modules, and/or a package has multiple extension entrypoints.

Parameters:
package_namestr

Python package name (e.g., "mypkg").

keystr

Deterministic cache key for this package build configuration.

build_dirpathlib.Path

Cache/build directory containing the package directory and artifacts.

resultsSequence[BuildResult]

Per-module build results, in deterministic module-name order.

used_cachebool

Whether an existing artifact set was reused without recompilation.

created_utcstr or None

ISO 8601 UTC timestamp (...Z) if available.

fingerprintMapping[str, Any] or None

Runtime fingerprint used for caching (Python/Cython/NumPy/platform).

metaMapping[str, Any]

The full metadata dictionary persisted in meta.json for this entry.

Parameters:
build_dir: Path#

!! processed by numpydoc !!

created_utc: str | None#

!! processed by numpydoc !!

fingerprint: Mapping[str, Any] | None#

!! processed by numpydoc !!

key: str#

!! processed by numpydoc !!

meta: Mapping[str, Any]#

!! processed by numpydoc !!

property modules: Sequence[ModuleType]#

Loaded modules in the same order as results.

Returns:
Sequence[types.ModuleType]

Loaded extension modules.

package_name: str#

!! processed by numpydoc !!

results: Sequence[BuildResult]#

!! processed by numpydoc !!

used_cache: bool#

!! processed by numpydoc !!