SystemInformation#

class caf.toolkit.log_helpers.SystemInformation(user, pc_name, python_version, operating_system, architecture, processor, cpu_count, total_ram)[source]#

Bases: object

Information about the PC and Python version.

Parameters:
  • user (str)

  • pc_name (str)

  • python_version (str)

  • operating_system (str)

  • architecture (str)

  • processor (str)

  • cpu_count (int | None)

  • total_ram (int | None)

user[source]#

Account name of the currently logged in user.

Type:

str

pc_name[source]#

Name of the PC.

Type:

str

python_version[source]#

Python version being used.

Type:

str

operating_system[source]#

Information about the name and version of OS.

Type:

str

architecture[source]#

Name of the machine architecture e.g. “AMD64”.

Type:

str

processor[source]#

Name of the processor e.g. “Intel64 Family 6 Model 85 Stepping 7, GenuineIntel”.

Type:

str

cpu_count[source]#

Number of logical CPU cores on the machine.

Type:

int | None

total_ram[source]#

Total virtual memory (bytes) on the machine.

Type:

int | None

Attributes

Methods

__init__(*args, **kwargs)

load()

Load system information.

Attributes Documentation

user: str[source]#
pc_name: str[source]#
python_version: str[source]#
operating_system: str[source]#
architecture: str[source]#
processor: str[source]#
cpu_count: int | None[source]#
total_ram: int | None[source]#