pydxdiag package#
Subpackages#
- pydxdiag.functions package
- Subpackages
- pydxdiag.functions.device package
- Submodules
- pydxdiag.functions.device.DirectInputDevice module
- pydxdiag.functions.device.DisplayDevice module
- pydxdiag.functions.device.InputRelatedDevice module
- pydxdiag.functions.device.SoundCaptureDevice module
- pydxdiag.functions.device.SoundDevice module
- pydxdiag.functions.device.SystemDevice module
- pydxdiag.functions.device.VideoCaptureDevice module
- Module contents
- pydxdiag.functions.sz package
- pydxdiag.functions.device package
- Submodules
- pydxdiag.functions.EnvPowerInformation module
- pydxdiag.functions.Filter module
- pydxdiag.functions.LogicalDisk module
- pydxdiag.functions.SystemInformation module
- pydxdiag.functions.WER module
- Module contents
- Subpackages
- pydxdiag.schema package
- Subpackages
- pydxdiag.schema.device package
- Submodules
- pydxdiag.schema.device.DirectInputDevice module
- pydxdiag.schema.device.DisplayDevice module
- pydxdiag.schema.device.InputRelatedDevice module
- pydxdiag.schema.device.SoundCaptureDevice module
- pydxdiag.schema.device.SoundDevice module
- pydxdiag.schema.device.SystemDevice module
- pydxdiag.schema.device.VideoCaptureDevice module
- Module contents
- pydxdiag.schema.sz package
- pydxdiag.schema.device package
- Submodules
- pydxdiag.schema.DirectXDebugLevels module
- pydxdiag.schema.DxDiagNotes module
- pydxdiag.schema.EnvPowerInformation module
- pydxdiag.schema.Filter module
- pydxdiag.schema.LogicalDisk module
- pydxdiag.schema.SystemInformation module
- pydxdiag.schema.WER module
- Module contents
- Subpackages
Submodules#
pydxdiag.DxdiagParser module#
- class pydxdiag.DxdiagParser.DxdiagDataTotal(DirectInputDevices: List[DirectInputDevice], DisplayDevices: List[DisplayDevice], InputRelatedDevicesViaUSBRoot: List[InputRelatedDevice], InputRelatedDeviceViaPS2: List[InputRelatedDevice], StatusForPollWithInterput: bool, SoundCaptureDevices: List[SoundCaptureDevice], SoundDevices: List[SoundDevice], SystemDevices: List[SystemDevice], VideoCaptureDevices: List[VideoCaptureDevice], BytesStreamHandlers: List[szBytesStreamHandler], StatufForEnableHardwareMFT: bool, MFFileVersions: List[szMFFileVersion], MFTs: List[szMFT], szPreferedMFTs: List[szPreferredMFT], SchemeHandlers: List[szSchemeHandlers], EnvPowerInformation: EnvPowerInformation, Filters: List[Filter], PreferredDShowFilters: List[str], LogicalDisks: List[LogicalDisk], OSInformation: OSInformation, DirectXDebugLevels: DirectXDebugLevels, DxDiagNotes: List[GeneralDXDiagNotes], MachineInformation: MachineInformation, SystemModelInformation: SystemModelInformation, FirmwareInformation: FirmwareInformation, CPUInformation: CPUInformation, MemoryInformation: MemoryInformation, GraphicsInfromation: GraphicsInformation, DXDiagInformation: DXDiagInformation, WERInfo: List[WERInformation])#
Bases:
object
A class for storing the total dxdiag data
- Params DirectInputDevices:
The DirectInput devices
- Types DirectInputDevices:
List[DirectInputDevice.DirectInputDevice]
- Params DisplayDevices:
The Display devices
- Types DisplayDevices:
List[DisplayDevice.DisplayDevice]
- Params InputRelatedDevicesViaUSBRoot:
The Input Related devices via USB Root
- Types InputRelatedDevicesViaUSBRoot:
List[InputRelatedDevice.InputRelatedDevice]
- Params InputRelatedDeviceViaPS2:
The Input Related devices via PS2
- Types InputRelatedDeviceViaPS2:
List[InputRelatedDevice.InputRelatedDevice]
- Params StatusForPollWithInterput:
The status for Poll with Interrupt
- Types StatusForPollWithInterput:
bool
- Params SoundCaptureDevices:
The Sound Capture devices
- Types SoundCaptureDevices:
List[SoundCaptureDevice.SoundCaptureDevice]
- Params SoundDevices:
The Sound devices
- Types SoundDevices:
List[SoundDevice.SoundDevice]
- Params SystemDevices:
The System devices
- Types SystemDevices:
List[SystemDevice.SystemDevice]
- Params VideoCaptureDevices:
The Video Capture devices
- Types VideoCaptureDevices:
List[VideoCaptureDevice.VideoCaptureDevice]
- Params BytesStreamHandlers:
The Byte Stream Handlers
- Types BytesStreamHandlers:
List[szBytesStreamHandler.szBytesStreamHandler.szBytesStreamHandler]
- Params StatufForEnableHardwareMFT:
The status for Enable Hardware MFT
- Types StatufForEnableHardwareMFT:
bool
- Params MFFileVersions:
The MF File Versions
- Types MFFileVersions:
List[szMFFileVersion.szMFFileVersion.szMFFileVersion]
- Params MFTs:
The MFTs
- Types MFTs:
List[szMFT.szMFT.szMFT]
- Params szPreferedMFTs:
The Preferred MFTs
- Types szPreferedMFTs:
List[szPreferredMFT.szPreferredMFT.szPreferredMFT]
- Params SchemeHandlers:
The Scheme Handlers
- Types SchemeHandlers:
List[szSchemeHandlers.szSchemeHandlers.szSchemeHandlers]
- Params EnvPowerInformation:
The Environment Power Information
- Types EnvPowerInformation:
EvrPowerInformation
- Params Filters:
The Filters
- Types Filters:
List[Filter.Filter]
- Params PreferredDShowFilters:
The Preferred DShow Filters
- Types PreferredDShowFilters:
List[str]
- Params LogicalDisks:
The Logical Disks
- Types LogicalDisks:
List[LogicalDisk.LogicalDisk]
- Params OSInformation:
The OS Information
- Types OSInformation:
OSInformation
- Params DirectXDebugLevels:
The DirectX Debug Levels
- Types DirectXDebugLevels:
DirectXDebugLevels
- Params DxDiagNotes:
The DxDiag Notes
- Types DxDiagNotes:
List[GeneralDXDiagNotes]
- Params MachineInformation:
The Machine Information
- Types MachineInformation:
MachineInformation
- Params SystemModelInformation:
The System Model Information
- Types SystemModelInformation:
SystemModelInformation
- Params FirmwareInformation:
The Firmware Information
- Types FirmwareInformation:
FirmwareInformation
- Params CPUInformation:
The CPU Information
- Types CPUInformation:
CPUInformation
- Params MemoryInformation:
The Memory Information
- Types MemoryInformation:
MemoryInformation
- Params GraphicsInfromation:
The Graphics Information
- Types GraphicsInfromation:
GraphicsInformation
- Params DXDiagInformation:
The DXDiag Information
- Types DXDiagInformation:
DXDiagInformation
- Params WERInfo:
The WER Information
- Types WERInfo:
List[WERInformation]
- model_dump() Dict[str, Any] #
Convert all the data into a dictionary
- Returns:
The data as a dictionary
- Return type:
Dict[str, Any]
- model_dump_json(save_path: str | None = None) str | None #
Convert all the data into a JSON string
- Parameters:
save_path (str) – The path to save the JSON file
- Returns:
The data as a JSON string
- Return type:
Optional[str]
- class pydxdiag.DxdiagParser.DxdiagParser(SaveHere: bool = False)#
Bases:
DxdiagDataTotal
Basic parser class for DirectX Diagnostic Tool output
- GetBytesStreamHandlers() List[szBytesStreamHandler] #
Function to get the Byte Stream Handlers from the dxdiag output
- Returns:
List of szBytesStreamHandler objects
- Return type:
- GetCPUInformation() CPUInformation #
Function to get the CPU Information from the dxdiag output
- Returns:
The CPU Information
- Return type:
- GetDXDiagInformation() DXDiagInformation #
Function to get the DXDiag Information from the dxdiag output
- Returns:
The DXDiag Information
- Return type:
- GetDirectInputDevices() List[DirectInputDevice] #
Function to get the DirectInput devices from the dxdiag output
- Returns:
List of DirectInputDevice objects
- Return type:
- GetDirectXDebugLevels() DirectXDebugLevels #
Function to get the DirectX Debug Levels from the dxdiag output
- Returns:
List of DirectX Debug Levels
- Return type:
- GetDisplayDevices() List[DisplayDevice] #
Function to get the Display devices from the dxdiag output
- Returns:
List of DisplayDevice objects
- Return type:
- GetDxDiagNotes() List[GeneralDXDiagNotes] #
Function to get the DxDiag Notes from the dxdiag output
- Returns:
List of DxDiag Notes
- Return type:
- GetEnvPowerInformation() EnvPowerInformation #
Function to get the Environment Power Information from the dxdiag output
- Returns:
The Environment Power Information
- Return type:
- GetFilters() List[Filter] #
Function to get the Filters from the dxdiag output
- Returns:
List of Filter objects
- Return type:
List[schema.Filter.Filter]
- GetFirmwareInformation() FirmwareInformation #
Function to get the Firmware Information from the dxdiag output
- Returns:
The Firmware Information
- Return type:
- GetGraphicsInfromation() GraphicsInformation #
Function to get the Graphics Information from the dxdiag output
- Returns:
The Graphics Information
- Return type:
- GetInputRelatedDeviceViaPS2() List[InputRelatedDevice] #
Function to get the Input Related devices via PS2 from the dxdiag output
- Returns:
List of InputRelatedDevice objects
- Return type:
- GetInputRelatedDevicesViaUSBRoot() List[InputRelatedDevice] #
Function to get the Input Related devices via USB Root from the dxdiag output
- Returns:
List of InputRelatedDevice objects
- Return type:
- GetLogicalDisks() List[LogicalDisk] #
Function to get the Logical Disks from the dxdiag output
- Returns:
List of Logical Disks
- Return type:
- GetMFFileVersions() List[szMFFileVersion] #
Function to get the MF File Versions from the dxdiag output
- Returns:
List of szMFFileVersions objects
- Return type:
- GetMFTs() List[szMFT] #
Function to get the MFTs from the dxdiag output
- Returns:
List of szMFTs objects
- Return type:
List[schema.sz.szMFT.szMFT]
- GetMachineInformation() MachineInformation #
Function to get the Machine Information from the dxdiag output
- Returns:
The Machine Information
- Return type:
- GetMemoryInformation() MemoryInformation #
Function to get the Memory Information from the dxdiag output
- Returns:
The Memory Information
- Return type:
- GetOSInformation() OSInformation #
Function to get the OS Information from the dxdiag output
- Returns:
The OS Information
- Return type:
- GetPreferredDShowFilters() List[str] #
Function to get the Preferred DShow Filters from the dxdiag output
- Returns:
List of Filter objects
- Return type:
List[str]
- GetSchemeHandlers() List[szSchemeHandlers] #
Function to get the Scheme Handlers from the dxdiag output
- Returns:
List of szSchemeHandler objects
- Return type:
List[schema.sz.szSchemeHandler.szSchemeHandlers]
- GetSoundCaptureDevices() List[SoundCaptureDevice] #
Function to get the Sound Capture devices from the dxdiag output
- Returns:
List of SoundCaptureDevice objects
- Return type:
- GetSoundDevices() List[SoundDevice] #
Function to get the Sound devices from the dxdiag output
- Returns:
List of SoundDevice objects
- Return type:
List[SoundDevice.SoundDevice]
- GetStatufForEnableHardwareMFT() szEnableHardwareMFT #
Function to get the Status for Enable Hardware MFT from the dxdiag output
- Returns:
The status for Enable Hardware MFT
- Return type:
bool
- GetStatusForPollWithInterput() bool #
Function to get the Status for Poll with Interrupt from the dxdiag output
- Returns:
The status for Poll with Interrupt
- Return type:
bool
- GetSystemDevices() List[SystemDevice] #
Function to get the System devices from the dxdiag output
- Returns:
List of SystemDevice objects
- Return type:
- GetSystemModelInformation() SystemModelInformation #
Function to get the System Model Information from the dxdiag output
- Returns:
The System Model Information
- Return type:
- GetVideoCaptureDevices() List[VideoCaptureDevice] #
Function to get the Video Capture devices from the dxdiag output
- Returns:
List of VideoCaptureDevice objects
- Return type:
- GetWERInfo() List[WERInformation] #
Function to get the WER Information from the dxdiag output
- Returns:
List of WER Information
- Return type:
- GetszPreferedMFTs() List[szPreferredMFT] #
Function to get the Preferred MFTs from the dxdiag output
- Returns:
List of szPreferredMFT objects
- Return type:
- LoadDXDiag(SaveHere: bool = False) None #
Function to load the dxdiag output into the BeautifulSoup object :param SaveHere: Save the dxdiag.xml file in the current directory :type SaveHere: bool