OS release information with normalized fields and optional platform-specific extras.
name, version, and arch are always present. On Linux, all keys from
/etc/os-release (e.g. ID, PRETTY_NAME, ID_LIKE) are also accessible by string index.
Type Declaration
arch: string
Processor architecture as returned by os.arch(), e.g. "x64".
name: string
Human-readable OS name, e.g. "Ubuntu" or "Windows 11".
OS release information with normalized fields and optional platform-specific extras.
name,version, andarchare always present. On Linux, all keys from/etc/os-release(e.g.ID,PRETTY_NAME,ID_LIKE) are also accessible by string index.