SystemInformation#

class log_helpers.SystemInformation(user, pc_name, python_version, operating_system, architecture, processor, cpu_count, total_ram)#

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#

Account name of the currently logged in user.

Type:

str

pc_name#

Name of the PC.

Type:

str

python_version#

Python version being used.

Type:

str

operating_system#

Information about the name and version of OS.

Type:

str

architecture#

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

Type:

str

processor#

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

Type:

str

cpu_count#

Number of logical CPU cores on the machine.

Type:

int | None

total_ram#

Total virtual memory (bytes) on the machine.

Type:

int | None

Methods Summary

load()

Load system information.

Methods Documentation

classmethod load()#

Load system information.

Return type:

SystemInformation