MacOsDeviceInfo
        Inherits: DeviceInfo
Properties
- 
          active_cpus(int) –Number of active CPUs. 
- 
          arch(str) –Machine CPU architecture. 
- 
          computer_name(str) –Name given to the local machine. 
- 
          cpu_frequency(int) –Device CPU frequency. 
- 
          host_name(str) –Operating system type. 
- 
          kernel_version(str) –Machine kernel version. 
- 
          major_version(int) –The major release number, such as 10in version 10.9.3.
- 
          memory_size(int) –Machine's memory size. 
- 
          minor_version(int) –The minor release number, such as 9in version 10.9.3.
- 
          model(str) –Device model identifier. 
- 
          model_name(str) –Device model name. 
- 
          os_release(str) –Operating system release number. 
- 
          patch_version(int) –The update release number, such as 3inversion 10.9.3.
- 
          system_guid(str | None) –Device GUID. 
Properties#
instance-attribute
  
#
arch: str
Machine CPU architecture.
Note
Apple Silicon Macs can return "x86_64" if app runs via Rosetta.
instance-attribute
  
#
kernel_version: str
Machine kernel version.
Examples:
- "Darwin Kernel Version 15.3.0: Thu Dec 10 18:40:58 PST 2015; root:xnu-3248.30.4~1/RELEASE_X86_64"
- "Darwin Kernel Version 15.0.0: Wed Dec 9 22:19:38 PST 2015; root:xnu-3248.31.3~2/RELEASE_ARM64_S8000"
instance-attribute
  
#
major_version: int
The major release number, such as 10 in version 10.9.3.
instance-attribute
  
#
minor_version: int
The minor release number, such as 9 in version 10.9.3.
instance-attribute
  
#
model: str
Device model identifier.
For example: "MacBookPro18,3", "Mac16,2".
instance-attribute
  
#
model_name: str
Device model name.
For example: "MacBook Pro (16-inch, 2021)", "iMac (24-inch, 2024)".