CapabilityReport#

class scikitplot.cleanprompt.CapabilityReport(tier, status, distribution, version, supported, detail, install_hint)[source]#

Outcome of probing one tier.

Attributes:
tierstr

Tier name, one of the keys of TIERS.

statusCapabilityStatus

Seven-state result.

distributionstr

The distribution that was probed.

versionstr or None

Installed version, when it could be determined.

supportedstr

Human-readable supported range.

detailstr

Why this status was reached.

install_hintstr

The exact command that would make the tier available.

Parameters:
property available: bool#

True only when status is AVAILABLE.

Type:

bool

count(value, /)#

Return number of occurrences of value.

detail: str[source]#

Alias for field number 5

distribution: str[source]#

Alias for field number 2

index(value, start=0, stop=sys.maxsize, /)#

Return first index of value.

Raises ValueError if the value is not present.

install_hint: str[source]#

Alias for field number 6

status: CapabilityStatus[source]#

Alias for field number 1

supported: str[source]#

Alias for field number 4

tier: str[source]#

Alias for field number 0

version: str | None[source]#

Alias for field number 3