smartie.nvme package¶
- class smartie.nvme.NVMEDevice(path: Path | str)[source]¶
Bases:
Device
,ABC
- identify() NVMEIdentifyResponse [source]¶
Returns the parsed IDENTIFY results for CNS 01h, which contains the controller information.
- property model: str | None¶
Returns the model name of the device.
- property serial: str | None¶
Returns the serial number of the device.
- property smart_table¶
Returns the SMART table for the device, if available.
- property temperature: int | None¶
Returns the temperature of the device in degrees Celsius.