CapabilityReport#

class scikitplot.corpus.CapabilityReport(name, role, status, installed, assets_ready, ready, selected=False, active=False, version=None, reason_code=None, remedy=None, may_download=False, requires_network=False)[source]#

Read-only readiness state for one optional component.

installed means Python can locate the package/module. assets_ready answers the second question when it can be observed cheaply. ready is the combined preflight answer. selected and active are contextual: selection means policy chose the component; active means the caller has evidence it actually completed work successfully.

Parameters:
active: bool = False#
assets_ready: bool | None[source]#
property available: bool#

Whether this capability is known usable now.

installed: bool[source]#
may_download: bool = False#
name: str[source]#
ready: bool | None[source]#
reason_code: str | None = None#
remedy: str | None = None#
requires_network: bool = False#
role: str[source]#
selected: bool = False#
status: CapabilityStatus[source]#
to_dict()[source]#

Return a JSON-compatible representation.

Return type:

dict[str, Any]

version: str | None = None#