smah.settings.system.operating_system.info.darwin_info

Classes

DarwinInfo([config_data, fetch])

Represents Darwin (macOS)-specific OS details.

class smah.settings.system.operating_system.info.darwin_info.DarwinInfo(config_data=None, fetch=False)[source]

Bases: BaseInfo

Represents Darwin (macOS)-specific OS details.

errors

List of errors encountered during initialization.

Type:

list

source

The source of the OS details.

Type:

str

details

The OS details.

Type:

dict

vsn

Version string.

Type:

str

configured

Indicates if the details are configured.

Type:

bool

static darwin_details() Tuple | None[source]

Retrieves OS details using the sw_vers command.

Returns:

A tuple containing the source and details dictionary.

Return type:

tuple

static info() Tuple | None[source]
static kind()[source]

Returns the kind of the OS details.

Returns:

The kind of the OS details.

Return type:

str