pydxdiag.schema.device package

Contents

pydxdiag.schema.device package#

Submodules#

pydxdiag.schema.device.DirectInputDevice module#

class pydxdiag.schema.device.DirectInputDevice.DirectInputDevice(*, DeviceName: str, Attached: bool, JoyStickID: int | None, VendorID: int, ProductID: int, FFDriverName: str | None, FFDriverDate: datetime | None = None, FFDriverVersion: str | None, FFDriverSize: int)#

Bases: BaseModel

Class representing a DirectInput device.

Params DeviceName:

The name of the device.

Params Attached:

Whether the device is attached.

Params JoyStickID:

The ID of the joystick.

Params VendorID:

The vendor ID of the device.

Params ProductID:

The product ID of the device.

Params FFDriverName:

The name of the force feedback driver.

Params FFDriverDate:

The date of the force feedback driver.

Params FFDriverVersion:

The version of the force feedback driver.

Params FFDriverSize:

The size of the force feedback driver.

Attached: bool#
DeviceName: str#
FFDriverDate: datetime | None#
FFDriverName: str | None#
FFDriverSize: int#
FFDriverVersion: str | None#
JoyStickID: int | None#
ProductID: int#
VendorID: int#
model_computed_fields: ClassVar[dict[str, ComputedFieldInfo]] = {}#

A dictionary of computed field names and their corresponding ComputedFieldInfo objects.

model_config: ClassVar[ConfigDict] = {}#

Configuration for the model, should be a dictionary conforming to [ConfigDict][pydantic.config.ConfigDict].

model_fields: ClassVar[dict[str, FieldInfo]] = {'Attached': FieldInfo(annotation=bool, required=True, title='Attached', description='Whether the device is attached.'), 'DeviceName': FieldInfo(annotation=str, required=True, title='DeviceName', description='The name of the device.'), 'FFDriverDate': FieldInfo(annotation=Union[datetime, NoneType], required=False, default=None, title='FFDriverDate', description='The date of the force feedback driver.'), 'FFDriverName': FieldInfo(annotation=Union[str, NoneType], required=True, title='FFDriverName', description='The name of the force feedback driver.'), 'FFDriverSize': FieldInfo(annotation=int, required=True, title='FFDriverSize', description='The size of the force feedback driver.'), 'FFDriverVersion': FieldInfo(annotation=Union[str, NoneType], required=True, title='FFDriverVersion', description='The version of the force feedback driver.'), 'JoyStickID': FieldInfo(annotation=Union[int, NoneType], required=True, title='JoyStickID', description='The ID of the joystick.'), 'ProductID': FieldInfo(annotation=int, required=True, title='ProductID', description='The product ID of the device.'), 'VendorID': FieldInfo(annotation=int, required=True, title='VendorID', description='The vendor ID of the device.')}#

Metadata about the fields defined on the model, mapping of field names to [FieldInfo][pydantic.fields.FieldInfo].

This replaces Model.__fields__ from Pydantic V1.

pydxdiag.schema.device.DisplayDevice module#

class pydxdiag.schema.device.DisplayDevice.ColorPrimaries(*, Red: tuple[float, float], Green: tuple[float, float], Blue: tuple[float, float], WhitePoint: tuple[float, float])#

Bases: BaseModel

Color Primaries of the GPU

Params Red:

Red Color Primary

Params Green:

Green Color Primary

Params Blue:

Blue Color Primary

Params WhitePoint:

Point Color Primary

Blue: tuple[float, float]#
Green: tuple[float, float]#
Red: tuple[float, float]#
WhitePoint: tuple[float, float]#
model_computed_fields: ClassVar[dict[str, ComputedFieldInfo]] = {}#

A dictionary of computed field names and their corresponding ComputedFieldInfo objects.

model_config: ClassVar[ConfigDict] = {}#

Configuration for the model, should be a dictionary conforming to [ConfigDict][pydantic.config.ConfigDict].

model_fields: ClassVar[dict[str, FieldInfo]] = {'Blue': FieldInfo(annotation=tuple[float, float], required=True, description='Blue Color Primary'), 'Green': FieldInfo(annotation=tuple[float, float], required=True, description='Green Color Primary'), 'Red': FieldInfo(annotation=tuple[float, float], required=True, description='Red Color Primary'), 'WhitePoint': FieldInfo(annotation=tuple[float, float], required=True, description='WhitePoint Color Primary')}#

Metadata about the fields defined on the model, mapping of field names to [FieldInfo][pydantic.fields.FieldInfo].

This replaces Model.__fields__ from Pydantic V1.

class pydxdiag.schema.device.DisplayDevice.DXVADeinterplaceCap(*, GUID: str, D3DInputFormat: str, D3DOutputFormat: str, Caps: List[str], NumPreviousOutputFrames: int, NumForwardRefSamples: int, NumBackwardRefSamples: int)#

Bases: BaseModel

DXVA Deinterplace Capabilities of the Monitor

Params GUID:

GUID of the DXVA Deinterplace Cap

Params D3DInputFormat:

D3D Input Format of the DXVA Deinterplace Cap

Params D3DOutputFormat:

D3D Output Format of the DXVA Deinterplace Cap

Params Caps:

Caps of the DXVA Deinterplace Cap

Params NumPreviousOutputFrames:

Number of Previous Output Frames of the DXVA Deinterplace Cap

Params NumForwardRefSamples:

Number of Forward Reference Samples of the DXVA Deinterplace Cap

Params NumBackwardRefSamples:

Number of Backward Reference Samples of the DXVA Deinterplace Cap

Caps: List[str]#
D3DInputFormat: str#
D3DOutputFormat: str#
GUID: str#
NumBackwardRefSamples: int#
NumForwardRefSamples: int#
NumPreviousOutputFrames: int#
model_computed_fields: ClassVar[dict[str, ComputedFieldInfo]] = {}#

A dictionary of computed field names and their corresponding ComputedFieldInfo objects.

model_config: ClassVar[ConfigDict] = {}#

Configuration for the model, should be a dictionary conforming to [ConfigDict][pydantic.config.ConfigDict].

model_fields: ClassVar[dict[str, FieldInfo]] = {'Caps': FieldInfo(annotation=List[str], required=True, description='Caps of the DXVA Deinterplace Cap'), 'D3DInputFormat': FieldInfo(annotation=str, required=True, description='D3D Input Format of the DXVA Deinterplace Cap'), 'D3DOutputFormat': FieldInfo(annotation=str, required=True, description='D3D Output Format of the DXVA Deinterplace Cap'), 'GUID': FieldInfo(annotation=str, required=True, description='GUID of the DXVA Deinterplace Cap'), 'NumBackwardRefSamples': FieldInfo(annotation=int, required=True, description='Number of Backward Reference Samples of the DXVA Deinterplace Cap'), 'NumForwardRefSamples': FieldInfo(annotation=int, required=True, description='Number of Forward Reference Samples of the DXVA Deinterplace Cap'), 'NumPreviousOutputFrames': FieldInfo(annotation=int, required=True, description='Number of Previous Output Frames of the DXVA Deinterplace Cap')}#

Metadata about the fields defined on the model, mapping of field names to [FieldInfo][pydantic.fields.FieldInfo].

This replaces Model.__fields__ from Pydantic V1.

class pydxdiag.schema.device.DisplayDevice.DisplayDevice(*, CardName: str, Manufacturer: str, ChipType: str, DACType: str, DeviceType: str, DeviceKey: str, DisplayMemory: int, DedicatedMemory: int, SharedMemory: int, ResolutionWidth: int, ResolutionHeight: int, ColorBits: int, RefreshRate: int, HDRSupported: bool, Topology: str, ColorSpace: str, ColorPrimaries: object, Luminance: object, MonitorName: str | None, MonitorId: str | None, NativeWidth: int, NativeHeight: int, NativeRefreshRate: int, OutputType: str | None, Eotf2084Supported: bool, BT20YCC: bool, BT2020RGB: bool, AdavancedColorEnabled: bool, AdavancedColorSupported: bool, bCheckedMonitorCapabilities: bool, PixelFormat: str | None, MonitorMaxRes: str | None = None, DriverName: str, DriverVersion: str, DriverFileVersion: str, DriverLanguage: str, DDIVersion: int, FeatureLevels: List[str], DriverModel: str, WDDMVersion: str, IsBetaDriver: bool, IsDebugDriver: bool, DriverDate: datetime, DriverSize: int, WHQLLogo: bool, WHQLDate: datetime | None, VDD: Any | None = None, MiniVDD: Any | None = None, MiniVDDDate: datetime | None = None, MiniVDDSize: int, DeviceIdentifier: str, VendorID: str, DeviceID: str, SubSysID: str, DriverNodeStrongName: str, RankOfInstalledDriver: str, DXVAModes: List[str] | str, DXVA2Modes: List[str], GraphicsPreemption: str, ComputePreemption: str, Miracast: str | None, DetachableGPU: bool, HybridGraphics: str | None, PowerManagementPStates: str | None, VirtualGPUSupport: bool, BlockList: str, DriverCatalogAttributes: Dict[str, bool], MPOInfo: MPO, PanelFilterCaps: Any | None = None, HardwareSchedulingAttributesInfo: object, DisplayableSupport: bool, DXVADeinterlaceCaps: List[object], D3D9Overlay: bool, DXVAHD: bool, DDrawStatus: bool, D3DStatus: bool, AGPStatus: bool)#

Bases: BaseModel

Display Device Information for GPU Devices

Params CardName:

Name of the GPU

Params Manufacturer:

Manufacturer of the GPU

Params ChipType:

Chip Type of the GPU

Params DACType:

DAC Type of the GPU

Params DeviceType:

Device Type of the GPU

Params DeviceKey:

Device Key of the GPU

Params DisplayMemory:

Display Memory of the GPU in bytes

Params DedicatedMemory:

Dedicated Memory of the GPU in bytes

Params SharedMemory:

Shared Memory of the GPU in bytes

Params ResoultionWidth:

Resolution Width of the GPU

Params ResolutionHeight:

Resolution Height of the GPU

Params ColorBits:

Color Bits of the GPU

Params RefreshRate:

Refresh Rate of the GPU

Params HDRSupported:

HDR Supported by the GPU

Params Topology:

Topology of the GPU

Params ColorSpace:

Color Space of the GPU

Params ColorPrimaries:

Color Primaries of the GPU

Params Luminance:

Luminance of the GPU

Params MonitorName:

Name of the Monitor

Params MonitorId:

ID of the Monitor

Params NativeWidth:

Native Width of the Monitor

Params NativeHeight:

Native Height of the Monitor

Params NativeRefreshRate:

Native Refresh Rate of the Monitor

Params OutputType:

Output Type of the Monitor

Params Eotf2084Supported:

EOTF 2084 Supported by the Monitor

Params BT20YCC:

BT20YCC Supported by the Monitor

Params BT2020RGB:

BT2020RGB Supported by the Monitor

Params AdavancedColorEnabled:

Advanced Color Enabled by the Monitor

Params AdavancedColorSupported:

Advanced Color Supported by the Monitor

Params bCheckedMonitorCapabilities:

Checked Monitor Capabilities

Params PixelFormat:

Pixel Format of the Monitor

Params MonitorMaxRes:

Maximum Resolution of the Monitor

Params DriverName:

Driver Name of the Monitor

Params DriverVersion:

Driver Version of the Monitor

Params DriverFileVersion:

Driver File Version of the Monitor

Params DriverLanguage:

Driver Language of the Monitor

Params DDIVersion:

DDI Version of the Monitor

Params FeatureLevels:

Feature Levels of the Monitor

Params DriverModel:

Driver Model of the Monitor

Params WDDM Version:

WDDM Version of the Monitor

Params IsBetaDriver:

Is that Driver for Monitor is beta or not

Params IsDebugDriver:

Is that Driver for Monitor published as a debug version or not

Params DriverDate:

Driver Date of the Monitor

Params DriverSize:

Driver Binary Size in bytes(I guess?)

Params WHQLLogo:

Is that Driver for Monitor has WHQL Logo or not

Params WHQLDate:

WHQL Date of the Monitor

Params VDD:

VDD of the Monitor

Params MiniVDD:

Mini VDD of the Monitor

Params MiniVDDDate:

Mini VDD Date of the Monitor

Params MiniVDDSize:

Mini VDD Size of the Monitor

Params DeviceIdentifier:

Device Identifier of the Monitor

Params VendorID:

Vendor ID of the Monitor

Params DeviceID:

Device ID of the Monitor

Params SubSysID:

Sub System ID of the Monitor

Params DriverNodeStrongName:

Driver Node Strong Name of the Monitor

Params RankOfInstalledDriver:

Rank of Installed Driver of the Monitor

Params DXVAModes:

DXVA Modes of the Monitor

Params DXVA2Modes:

DXVA2 Modes of the Monitor

Params GraphicsPreemption:

Graphics Preemption of the Monitor

Params ComputePreemption:

Compute Preemption of the Monitor

Params Miracast:

Miracast of the Monitor

Params DetachableGPU:

Is that GPU is detachable or not

Params HybridGraphics:

Hybrid Graphics of the Monitor

Params PowerManagementPStates:

Power Management P States of the Monitor

Params VirtualGPUSupport:

Virtualization of the Monitor

Params BlockList:

Block List of the Monitor

Params DriverCatalogAttributes:

Driver Catalog Attributes of the Monitor

Params MPO:

MPO Information of the Monitor

Params PanelFilterCaps:

Panel Filter Caps of the Monitor

Params HardwareSchedulingAttributesInfo:

Hardware Scheduling Attributes of the Monitor

Params DisplayableSupport:

Displayable Support of the Monitor

Params DXVADeinterlaceCaps:

DXVA Deinterplace Caps of the Monitor

Params D3D9Overlay:

D3D9 Overlay of the Monitor Supported or not

Params DXVAHD:

DXVA HD of the Monitor Supported or not

Params DDrawStatus:

DDraw Status of the Monitor

Params D3DStatus:

D3D Status of the Monitor

Params AGPStatus:

AGP Status of the Monitor

AGPStatus: bool#
AdavancedColorEnabled: bool#
AdavancedColorSupported: bool#
BT2020RGB: bool#
BT20YCC: bool#
BlockList: str#
CardName: str#
ChipType: str#
ColorBits: int#
ColorPrimaries: object#
ColorSpace: str#
ComputePreemption: str#
D3D9Overlay: bool#
D3DStatus: bool#
DACType: str#
DDIVersion: int#
DDrawStatus: bool#
DXVA2Modes: List[str]#
DXVADeinterlaceCaps: List[object]#
DXVAHD: bool#
DXVAModes: List[str] | str#
DedicatedMemory: int#
DetachableGPU: bool#
DeviceID: str#
DeviceIdentifier: str#
DeviceKey: str#
DeviceType: str#
DisplayMemory: int#
DisplayableSupport: bool#
DriverCatalogAttributes: Dict[str, bool]#
DriverDate: datetime#
DriverFileVersion: str#
DriverLanguage: str#
DriverModel: str#
DriverName: str#
DriverNodeStrongName: str#
DriverSize: int#
DriverVersion: str#
Eotf2084Supported: bool#
FeatureLevels: List[str]#
GraphicsPreemption: str#
HDRSupported: bool#
HardwareSchedulingAttributesInfo: object#
HybridGraphics: str | None#
IsBetaDriver: bool#
IsDebugDriver: bool#
Luminance: object#
MPOInfo: MPO#
Manufacturer: str#
MiniVDD: Any | None#
MiniVDDDate: datetime | None#
MiniVDDSize: int#
Miracast: str | None#
MonitorId: str | None#
MonitorMaxRes: str | None#
MonitorName: str | None#
NativeHeight: int#
NativeRefreshRate: int#
NativeWidth: int#
OutputType: str | None#
PanelFilterCaps: Any | None#
PixelFormat: str | None#
PowerManagementPStates: str | None#
RankOfInstalledDriver: str#
RefreshRate: int#
ResolutionHeight: int#
ResolutionWidth: int#
SharedMemory: int#
SubSysID: str#
Topology: str#
VDD: Any | None#
VendorID: str#
VirtualGPUSupport: bool#
WDDMVersion: str#
WHQLDate: datetime | None#
bCheckedMonitorCapabilities: bool#
model_computed_fields: ClassVar[dict[str, ComputedFieldInfo]] = {}#

A dictionary of computed field names and their corresponding ComputedFieldInfo objects.

model_config: ClassVar[ConfigDict] = {}#

Configuration for the model, should be a dictionary conforming to [ConfigDict][pydantic.config.ConfigDict].

model_fields: ClassVar[dict[str, FieldInfo]] = {'AGPStatus': FieldInfo(annotation=bool, required=True, description='AGP Status of the Monitor'), 'AdavancedColorEnabled': FieldInfo(annotation=bool, required=True, description='Advanced Color Enabled by the Monitor'), 'AdavancedColorSupported': FieldInfo(annotation=bool, required=True, description='Advanced Color Supported by the Monitor'), 'BT2020RGB': FieldInfo(annotation=bool, required=True, description='BT2020RGB Supported by the Monitor'), 'BT20YCC': FieldInfo(annotation=bool, required=True, description='BT20YCC Supported by the Monitor'), 'BlockList': FieldInfo(annotation=str, required=True, description='Block List of the Monitor'), 'CardName': FieldInfo(annotation=str, required=True, description='Name of the GPU'), 'ChipType': FieldInfo(annotation=str, required=True, description='Chip Type of the GPU'), 'ColorBits': FieldInfo(annotation=int, required=True, description='Color Bits of the GPU'), 'ColorPrimaries': FieldInfo(annotation=object, required=True, description='Color Primaries of the GPU'), 'ColorSpace': FieldInfo(annotation=str, required=True, description='Color Space of the GPU'), 'ComputePreemption': FieldInfo(annotation=str, required=True, description='Compute Preemption of the Monitor'), 'D3D9Overlay': FieldInfo(annotation=bool, required=True, description='D3D9 Overlay of the Monitor Supported or not'), 'D3DStatus': FieldInfo(annotation=bool, required=True, description='D3D Status of the Monitor'), 'DACType': FieldInfo(annotation=str, required=True, description='DAC Type of the GPU'), 'DDIVersion': FieldInfo(annotation=int, required=True, description='DDI Version of the Monitor'), 'DDrawStatus': FieldInfo(annotation=bool, required=True, description='DDraw Status of the Monitor'), 'DXVA2Modes': FieldInfo(annotation=List[str], required=True, description='DXVA2 Modes of the Monitor'), 'DXVADeinterlaceCaps': FieldInfo(annotation=List[object], required=True, description='DXVA Deinterplace Caps of the Monitor'), 'DXVAHD': FieldInfo(annotation=bool, required=True, description='DXVA HD of the Monitor Supported or not'), 'DXVAModes': FieldInfo(annotation=Union[List[str], str], required=True, description='DXVA Modes of the Monitor'), 'DedicatedMemory': FieldInfo(annotation=int, required=True, description='Dedicated Memory of the GPU in bytes'), 'DetachableGPU': FieldInfo(annotation=bool, required=True, description='Is that GPU is detachable or not'), 'DeviceID': FieldInfo(annotation=str, required=True, description='Device ID of the Monitor'), 'DeviceIdentifier': FieldInfo(annotation=str, required=True, description='Device Identifier of the Monitor'), 'DeviceKey': FieldInfo(annotation=str, required=True, description='Device Key of the GPU'), 'DeviceType': FieldInfo(annotation=str, required=True, description='Device Type of the GPU'), 'DisplayMemory': FieldInfo(annotation=int, required=True, description='Display Memory of the GPU in bytes'), 'DisplayableSupport': FieldInfo(annotation=bool, required=True, description='Displayable Support of the Monitor'), 'DriverCatalogAttributes': FieldInfo(annotation=Dict[str, bool], required=True, description='Driver Catalog Attributes of the Monitor'), 'DriverDate': FieldInfo(annotation=datetime, required=True, description='Driver Date of the Monitor'), 'DriverFileVersion': FieldInfo(annotation=str, required=True, description='Driver File Version of the Monitor'), 'DriverLanguage': FieldInfo(annotation=str, required=True, description='Driver Language of the Monitor'), 'DriverModel': FieldInfo(annotation=str, required=True, description='Driver Model of the Monitor'), 'DriverName': FieldInfo(annotation=str, required=True, description='Driver Name of the Monitor'), 'DriverNodeStrongName': FieldInfo(annotation=str, required=True, description='Driver Node Strong Name of the Monitor'), 'DriverSize': FieldInfo(annotation=int, required=True, description='Driver Binary Size in bytes(I guess?)'), 'DriverVersion': FieldInfo(annotation=str, required=True, description='Driver Version of the Monitor'), 'Eotf2084Supported': FieldInfo(annotation=bool, required=True, description='EOTF 2084 Supported by the Monitor'), 'FeatureLevels': FieldInfo(annotation=List[str], required=True, description='Feature Levels of the Monitor'), 'GraphicsPreemption': FieldInfo(annotation=str, required=True, description='Graphics Preemption of the Monitor'), 'HDRSupported': FieldInfo(annotation=bool, required=True, description='HDR Supported by the GPU'), 'HardwareSchedulingAttributesInfo': FieldInfo(annotation=object, required=True, description='Hardware Scheduling Attributes of the Monitor'), 'HybridGraphics': FieldInfo(annotation=Union[str, NoneType], required=True, description='Hybrid Graphics of the Monitor'), 'IsBetaDriver': FieldInfo(annotation=bool, required=True, description='Is that Driver for Monitor is beta or not'), 'IsDebugDriver': FieldInfo(annotation=bool, required=True, description='Is that Driver for Monitor published as a debug version or not'), 'Luminance': FieldInfo(annotation=object, required=True, description='Luminance of the GPU'), 'MPOInfo': FieldInfo(annotation=MPO, required=True, description='MPO Information of the Monitor'), 'Manufacturer': FieldInfo(annotation=str, required=True, description='Manufacturer of the GPU'), 'MiniVDD': FieldInfo(annotation=Union[Any, NoneType], required=False, default=None, description='Mini VDD of the Monitor'), 'MiniVDDDate': FieldInfo(annotation=Union[datetime, NoneType], required=False, default=None, description='Mini VDD Date of the Monitor'), 'MiniVDDSize': FieldInfo(annotation=int, required=True, description='Mini VDD Size of the Monitor'), 'Miracast': FieldInfo(annotation=Union[str, NoneType], required=True, description='Miracast of the Monitor'), 'MonitorId': FieldInfo(annotation=Union[str, NoneType], required=True, description='ID of the Monitor'), 'MonitorMaxRes': FieldInfo(annotation=Union[str, NoneType], required=False, default=None, description='Maximum Resolution of the Monitor'), 'MonitorName': FieldInfo(annotation=Union[str, NoneType], required=True, description='Name of the Monitor'), 'NativeHeight': FieldInfo(annotation=int, required=True, description='Native Height of the Monitor'), 'NativeRefreshRate': FieldInfo(annotation=int, required=True, description='Native Refresh Rate of the Monitor'), 'NativeWidth': FieldInfo(annotation=int, required=True, description='Native Width of the Monitor'), 'OutputType': FieldInfo(annotation=Union[str, NoneType], required=True, description='Output Type of the Monitor'), 'PanelFilterCaps': FieldInfo(annotation=Union[Any, NoneType], required=False, default=None, description='Panel Filter Caps of the Monitor'), 'PixelFormat': FieldInfo(annotation=Union[str, NoneType], required=True, description='Pixel Format of the Monitor'), 'PowerManagementPStates': FieldInfo(annotation=Union[str, NoneType], required=True, description='Power Management P States of the Monitor'), 'RankOfInstalledDriver': FieldInfo(annotation=str, required=True, description='Rank of Installed Driver of the Monitor'), 'RefreshRate': FieldInfo(annotation=int, required=True, description='Refresh Rate of the GPU'), 'ResolutionHeight': FieldInfo(annotation=int, required=True, description='Resolution Height of the GPU'), 'ResolutionWidth': FieldInfo(annotation=int, required=True, description='Resolution Width of the GPU'), 'SharedMemory': FieldInfo(annotation=int, required=True, description='Shared Memory of the GPU in bytes'), 'SubSysID': FieldInfo(annotation=str, required=True, description='Sub System ID of the Monitor'), 'Topology': FieldInfo(annotation=str, required=True, description='Topology of the GPU'), 'VDD': FieldInfo(annotation=Union[Any, NoneType], required=False, default=None, description='VDD of the Monitor'), 'VendorID': FieldInfo(annotation=str, required=True, description='Vendor ID of the Monitor'), 'VirtualGPUSupport': FieldInfo(annotation=bool, required=True, description='Virtualization capability of the GPU'), 'WDDMVersion': FieldInfo(annotation=str, required=True, description='WDDM Version of the Monitor'), 'WHQLDate': FieldInfo(annotation=Union[datetime, NoneType], required=True, description='WHQL Date of the Monitor'), 'WHQLLogo': FieldInfo(annotation=bool, required=True, description='Is that Driver for Monitor has WHQL Logo or not'), 'bCheckedMonitorCapabilities': FieldInfo(annotation=bool, required=True, description='Checked Monitor Capabilities')}#

Metadata about the fields defined on the model, mapping of field names to [FieldInfo][pydantic.fields.FieldInfo].

This replaces Model.__fields__ from Pydantic V1.

class pydxdiag.schema.device.DisplayDevice.HardwareSchedulingAttributes(*, DriverSupportState: str, Enabled: bool | str)#

Bases: BaseModel

Class to describe the Hardware Scheduling Attributes

Params DriverSupportState:

Driver Support State

Params Enabled:

HardwareSchedulingAttributes Enabled

DriverSupportState: str#
Enabled: bool | str#
model_computed_fields: ClassVar[dict[str, ComputedFieldInfo]] = {}#

A dictionary of computed field names and their corresponding ComputedFieldInfo objects.

model_config: ClassVar[ConfigDict] = {}#

Configuration for the model, should be a dictionary conforming to [ConfigDict][pydantic.config.ConfigDict].

model_fields: ClassVar[dict[str, FieldInfo]] = {'DriverSupportState': FieldInfo(annotation=str, required=True), 'Enabled': FieldInfo(annotation=Union[bool, str], required=True)}#

Metadata about the fields defined on the model, mapping of field names to [FieldInfo][pydantic.fields.FieldInfo].

This replaces Model.__fields__ from Pydantic V1.

class pydxdiag.schema.device.DisplayDevice.Luminance(*, Min: float, Max: float, MaxFullFrameLuminance: float)#

Bases: BaseModel

Luminance of the GPU

Params Min:

Minimum Luminance

Params Max:

Maximum Luminance

Params MaxFullFrameLuminance:

Maximum Full Frame Luminance

Max: float#
MaxFullFrameLuminance: float#
Min: float#
model_computed_fields: ClassVar[dict[str, ComputedFieldInfo]] = {}#

A dictionary of computed field names and their corresponding ComputedFieldInfo objects.

model_config: ClassVar[ConfigDict] = {}#

Configuration for the model, should be a dictionary conforming to [ConfigDict][pydantic.config.ConfigDict].

model_fields: ClassVar[dict[str, FieldInfo]] = {'Max': FieldInfo(annotation=float, required=True, description='Maximum Luminance'), 'MaxFullFrameLuminance': FieldInfo(annotation=float, required=True, description='Maximum Full Frame Luminance'), 'Min': FieldInfo(annotation=float, required=True, description='Minimum Luminance')}#

Metadata about the fields defined on the model, mapping of field names to [FieldInfo][pydantic.fields.FieldInfo].

This replaces Model.__fields__ from Pydantic V1.

class pydxdiag.schema.device.DisplayDevice.MPO(*, MaxPlanes: int, Caps: List[str], Stretch: tuple[float, float] | None, Hints: str, Formats: List[str])#

Bases: BaseModel

MPO Information of the Monitor

Params MaxPlanes:

Maximum Planes

Params Caps:

Caps Supported by MPO

Params Stretch:

Stretch Supported by MPO

Params Hints:

Hints of MPO

Params Formats:

Formats Supported by MPO

Caps: List[str]#
Formats: List[str]#
Hints: str#
MaxPlanes: int#
Stretch: tuple[float, float] | None#
model_computed_fields: ClassVar[dict[str, ComputedFieldInfo]] = {}#

A dictionary of computed field names and their corresponding ComputedFieldInfo objects.

model_config: ClassVar[ConfigDict] = {}#

Configuration for the model, should be a dictionary conforming to [ConfigDict][pydantic.config.ConfigDict].

model_fields: ClassVar[dict[str, FieldInfo]] = {'Caps': FieldInfo(annotation=List[str], required=True, description='Caps Supported by MPO'), 'Formats': FieldInfo(annotation=List[str], required=True, description='Formats Supported by MPO'), 'Hints': FieldInfo(annotation=str, required=True, description='Hints of MPO'), 'MaxPlanes': FieldInfo(annotation=int, required=True, description='Maximum Planes'), 'Stretch': FieldInfo(annotation=Union[tuple[float, float], NoneType], required=True, description='Stretch Supported by MPO')}#

Metadata about the fields defined on the model, mapping of field names to [FieldInfo][pydantic.fields.FieldInfo].

This replaces Model.__fields__ from Pydantic V1.

pydxdiag.schema.device.InputRelatedDevice module#

class pydxdiag.schema.device.InputRelatedDevice.Driver(*, Name: str, InstallationPath: str, Version: str, Language: str, IsBetaDriver: bool, IsDebugDriver: bool, Date: datetime | None = None, Size: int)#

Bases: BaseModel

Class to desribe basic information for a input related device driver.

Params Name:

The name of the driver.

Params InstallationPath:

The installation path of the driver.

Params Version:

The version of the driver.

Params Language:

The language of the driver.

Params IsBetaDriver:

Whether the driver is a beta driver or not.

Params IsDebugDriver:

Whether the driver is a debug driver or not.

Params Date:

The date of the driver.

Params Size:

The size of the driver.

Date: datetime | None#
InstallationPath: str#
IsBetaDriver: bool#
IsDebugDriver: bool#
Language: str#
Name: str#
Size: int#
Version: str#
model_computed_fields: ClassVar[dict[str, ComputedFieldInfo]] = {}#

A dictionary of computed field names and their corresponding ComputedFieldInfo objects.

model_config: ClassVar[ConfigDict] = {}#

Configuration for the model, should be a dictionary conforming to [ConfigDict][pydantic.config.ConfigDict].

model_fields: ClassVar[dict[str, FieldInfo]] = {'Date': FieldInfo(annotation=Union[datetime, NoneType], required=False, default=None, title='Date', description='The date of the driver.'), 'InstallationPath': FieldInfo(annotation=str, required=True, title='InstallationPath', description='The installation path of the driver.'), 'IsBetaDriver': FieldInfo(annotation=bool, required=True, title='IsBetaDriver', description='Whether the driver is a beta driver or not.'), 'IsDebugDriver': FieldInfo(annotation=bool, required=True, title='IsDebugDriver', description='Whether the driver is a debug driver or not.'), 'Language': FieldInfo(annotation=str, required=True, title='Language', description='The language of the driver.'), 'Name': FieldInfo(annotation=str, required=True, title='Name', description='The name of the driver.'), 'Size': FieldInfo(annotation=int, required=True, title='Size', description='The size of the driver.'), 'Version': FieldInfo(annotation=str, required=True, title='Version', description='The version of the driver.')}#

Metadata about the fields defined on the model, mapping of field names to [FieldInfo][pydantic.fields.FieldInfo].

This replaces Model.__fields__ from Pydantic V1.

class pydxdiag.schema.device.InputRelatedDevice.InputRelatedDevice(*, Description: str, VendorID: int, ProductID: int, Location: str, MatchingDeviceID: str, UpperFilters: Any | None, LowerFilters: Any | None, Service: str, OEMData: str | None, Flags1: int | None, Flags2: int | None, Drivers: List[Driver], Type: str)#

Bases: BaseModel

Class representing an input related device.

Params Description:

The description of the device.

Params VendorID:

The vendor ID of the device.

Params ProductID:

The product ID of the device.

Params Location:

The location of the device.

Params MatchingDeviceID:

The matching device ID.

Params UpperFilters:

The upper filters.

Params LowerFilters:

The lower filters.

Params Service:

The service.

Params OEMData:

The OEM data.

Params Flags1:

The flags1.

Params Flags2:

The flags2.

Params Drivers:

The drivers.

Params Type:

The type of the device.

Description: str#
Drivers: List[Driver]#
Flags1: int | None#
Flags2: int | None#
Location: str#
LowerFilters: Any | None#
MatchingDeviceID: str#
OEMData: str | None#
ProductID: int#
Service: str#
Type: str#
UpperFilters: Any | None#
VendorID: int#
model_computed_fields: ClassVar[dict[str, ComputedFieldInfo]] = {}#

A dictionary of computed field names and their corresponding ComputedFieldInfo objects.

model_config: ClassVar[ConfigDict] = {}#

Configuration for the model, should be a dictionary conforming to [ConfigDict][pydantic.config.ConfigDict].

model_fields: ClassVar[dict[str, FieldInfo]] = {'Description': FieldInfo(annotation=str, required=True, title='Description', description='The description of the device.'), 'Drivers': FieldInfo(annotation=List[Driver], required=True, title='Drivers', description='The drivers.'), 'Flags1': FieldInfo(annotation=Union[int, NoneType], required=True, title='Flags1', description='The flags1.'), 'Flags2': FieldInfo(annotation=Union[int, NoneType], required=True, title='Flags2', description='The flags2.'), 'Location': FieldInfo(annotation=str, required=True, title='Location', description='The location of the device.'), 'LowerFilters': FieldInfo(annotation=Union[Any, NoneType], required=True, title='LowerFilters', description='The lower filters.'), 'MatchingDeviceID': FieldInfo(annotation=str, required=True, title='MatchingDeviceID', description='The matching device ID.'), 'OEMData': FieldInfo(annotation=Union[str, NoneType], required=True, title='OEMData', description='The OEM data.'), 'ProductID': FieldInfo(annotation=int, required=True, title='ProductID', description='The product ID of the device.'), 'Service': FieldInfo(annotation=str, required=True, title='Service', description='The service.'), 'Type': FieldInfo(annotation=str, required=True, title='Type', description='The type of the device.'), 'UpperFilters': FieldInfo(annotation=Union[Any, NoneType], required=True, title='UpperFilters', description='The upper filters.'), 'VendorID': FieldInfo(annotation=int, required=True, title='VendorID', description='The vendor ID of the device.')}#

Metadata about the fields defined on the model, mapping of field names to [FieldInfo][pydantic.fields.FieldInfo].

This replaces Model.__fields__ from Pydantic V1.

pydxdiag.schema.device.SoundCaptureDevice module#

class pydxdiag.schema.device.SoundCaptureDevice.SoundCaptureDevice(*, Description: str, DriverName: str, DriverVersion: str, DriverLanguage: str, IsBetaDriver: bool, IsDebugDriver: bool, DriverDate: datetime, DriverSize: int, DefaultSoundRecording: bool, DefaultVoiceRecording: bool, Flags: int, Formats: int)#

Bases: BaseModel

Class to represent the sound capture device.

Params Description:

Description of the sound capture device.

Params DriverName:

Driver name of the sound capture device.

Params DriverVersion:

Driver version of the sound capture device.

Params DriverLanguage:

Driver language of the sound capture device.

Params IsBetaDriver:

Whether the driver is a beta driver or not.

Params IsDebugDriver:

Whether the driver is a debug driver or not.

Params DriverDate:

Date of the driver.

Params DriverSize:

Size of the driver binaries.

Params DefaultSoundRecording:

Whether the sound capture device is the default sound recording device.

Params DefaultVoiceRecording:

Whether the sound capture device is the default voice recording device.

Params Flags:

Flags of the sound capture device.

Params Formats:

Formats of the sound capture device.

DefaultSoundRecording: bool#
DefaultVoiceRecording: bool#
Description: str#
DriverDate: datetime#
DriverLanguage: str#
DriverName: str#
DriverSize: int#
DriverVersion: str#
Flags: int#
Formats: int#
IsBetaDriver: bool#
IsDebugDriver: bool#
model_computed_fields: ClassVar[dict[str, ComputedFieldInfo]] = {}#

A dictionary of computed field names and their corresponding ComputedFieldInfo objects.

model_config: ClassVar[ConfigDict] = {}#

Configuration for the model, should be a dictionary conforming to [ConfigDict][pydantic.config.ConfigDict].

model_fields: ClassVar[dict[str, FieldInfo]] = {'DefaultSoundRecording': FieldInfo(annotation=bool, required=True, title='DefaultSoundRecording', description='Whether the sound capture device is the default sound recording device.'), 'DefaultVoiceRecording': FieldInfo(annotation=bool, required=True, title='DefaultVoiceRecording', description='Whether the sound capture device is the default voice recording device.'), 'Description': FieldInfo(annotation=str, required=True, title='Description', description='Description of the sound capture device.'), 'DriverDate': FieldInfo(annotation=datetime, required=True, title='DriverDate', description='Date of the driver.'), 'DriverLanguage': FieldInfo(annotation=str, required=True, title='DriverLanguage', description='Driver language of the sound capture device.'), 'DriverName': FieldInfo(annotation=str, required=True, title='DriverName', description='Driver name of the sound capture device.'), 'DriverSize': FieldInfo(annotation=int, required=True, title='DriverSize', description='Size of the driver binaries.'), 'DriverVersion': FieldInfo(annotation=str, required=True, title='DriverVersion', description='Driver version of the sound capture device.'), 'Flags': FieldInfo(annotation=int, required=True, title='Flags', description='Flags of the sound capture device.'), 'Formats': FieldInfo(annotation=int, required=True, title='Formats', description='Formats of the sound capture device.'), 'IsBetaDriver': FieldInfo(annotation=bool, required=True, title='IsBetaDriver', description='Whether the driver is a beta driver or not.'), 'IsDebugDriver': FieldInfo(annotation=bool, required=True, title='IsDebugDriver', description='Whether the driver is a debug driver or not.')}#

Metadata about the fields defined on the model, mapping of field names to [FieldInfo][pydantic.fields.FieldInfo].

This replaces Model.__fields__ from Pydantic V1.

pydxdiag.schema.device.SoundDevice module#

class pydxdiag.schema.device.SoundDevice.BufferStatics(*, AllBuffers: int, StaticBuffers: int, StreamingBuffers: int)#

Bases: BaseModel

Buffer Static for All kinds.

Params AllBuffers:

All buffers.

Params StaticBuffers:

Static buffers.

Params StreamingBuffers:

Streaming buffers.

AllBuffers: int#
StaticBuffers: int#
StreamingBuffers: int#
model_computed_fields: ClassVar[dict[str, ComputedFieldInfo]] = {}#

A dictionary of computed field names and their corresponding ComputedFieldInfo objects.

model_config: ClassVar[ConfigDict] = {}#

Configuration for the model, should be a dictionary conforming to [ConfigDict][pydantic.config.ConfigDict].

model_fields: ClassVar[dict[str, FieldInfo]] = {'AllBuffers': FieldInfo(annotation=int, required=True, description='All buffers.'), 'StaticBuffers': FieldInfo(annotation=int, required=True, description='Static buffers.'), 'StreamingBuffers': FieldInfo(annotation=int, required=True, description='Streaming buffers.')}#

Metadata about the fields defined on the model, mapping of field names to [FieldInfo][pydantic.fields.FieldInfo].

This replaces Model.__fields__ from Pydantic V1.

class pydxdiag.schema.device.SoundDevice.FreeHw3DBufferInfo(*, AllBuffers: int, StaticBuffers: int, StreamingBuffers: int)#

Bases: BufferStatics

Class to represent the free hardware 3D buffer information.

Inherits from BufferStatics.

model_computed_fields: ClassVar[dict[str, ComputedFieldInfo]] = {}#

A dictionary of computed field names and their corresponding ComputedFieldInfo objects.

model_config: ClassVar[ConfigDict] = {}#

Configuration for the model, should be a dictionary conforming to [ConfigDict][pydantic.config.ConfigDict].

model_fields: ClassVar[dict[str, FieldInfo]] = {'AllBuffers': FieldInfo(annotation=int, required=True, description='All buffers.'), 'StaticBuffers': FieldInfo(annotation=int, required=True, description='Static buffers.'), 'StreamingBuffers': FieldInfo(annotation=int, required=True, description='Streaming buffers.')}#

Metadata about the fields defined on the model, mapping of field names to [FieldInfo][pydantic.fields.FieldInfo].

This replaces Model.__fields__ from Pydantic V1.

class pydxdiag.schema.device.SoundDevice.FreeHwMixingBufferInfo(*, AllBuffers: int, StaticBuffers: int, StreamingBuffers: int)#

Bases: BufferStatics

Class to represent the free hardware mixing buffer information.

Inherits from BufferStatics.

model_computed_fields: ClassVar[dict[str, ComputedFieldInfo]] = {}#

A dictionary of computed field names and their corresponding ComputedFieldInfo objects.

model_config: ClassVar[ConfigDict] = {}#

Configuration for the model, should be a dictionary conforming to [ConfigDict][pydantic.config.ConfigDict].

model_fields: ClassVar[dict[str, FieldInfo]] = {'AllBuffers': FieldInfo(annotation=int, required=True, description='All buffers.'), 'StaticBuffers': FieldInfo(annotation=int, required=True, description='Static buffers.'), 'StreamingBuffers': FieldInfo(annotation=int, required=True, description='Streaming buffers.')}#

Metadata about the fields defined on the model, mapping of field names to [FieldInfo][pydantic.fields.FieldInfo].

This replaces Model.__fields__ from Pydantic V1.

class pydxdiag.schema.device.SoundDevice.MaxHw3DBufferInfo(*, AllBuffers: int, StaticBuffers: int, StreamingBuffers: int)#

Bases: BufferStatics

Class to represent the maximum hardware 3D buffer information.

Inherits from BufferStatics.

model_computed_fields: ClassVar[dict[str, ComputedFieldInfo]] = {}#

A dictionary of computed field names and their corresponding ComputedFieldInfo objects.

model_config: ClassVar[ConfigDict] = {}#

Configuration for the model, should be a dictionary conforming to [ConfigDict][pydantic.config.ConfigDict].

model_fields: ClassVar[dict[str, FieldInfo]] = {'AllBuffers': FieldInfo(annotation=int, required=True, description='All buffers.'), 'StaticBuffers': FieldInfo(annotation=int, required=True, description='Static buffers.'), 'StreamingBuffers': FieldInfo(annotation=int, required=True, description='Streaming buffers.')}#

Metadata about the fields defined on the model, mapping of field names to [FieldInfo][pydantic.fields.FieldInfo].

This replaces Model.__fields__ from Pydantic V1.

class pydxdiag.schema.device.SoundDevice.MaxHwMixingBufferInfo(*, AllBuffers: int, StaticBuffers: int, StreamingBuffers: int)#

Bases: BufferStatics

Class to represent the maximum hardware mixing buffer information.

Inherits from BufferStatics.

model_computed_fields: ClassVar[dict[str, ComputedFieldInfo]] = {}#

A dictionary of computed field names and their corresponding ComputedFieldInfo objects.

model_config: ClassVar[ConfigDict] = {}#

Configuration for the model, should be a dictionary conforming to [ConfigDict][pydantic.config.ConfigDict].

model_fields: ClassVar[dict[str, FieldInfo]] = {'AllBuffers': FieldInfo(annotation=int, required=True, description='All buffers.'), 'StaticBuffers': FieldInfo(annotation=int, required=True, description='Static buffers.'), 'StreamingBuffers': FieldInfo(annotation=int, required=True, description='Streaming buffers.')}#

Metadata about the fields defined on the model, mapping of field names to [FieldInfo][pydantic.fields.FieldInfo].

This replaces Model.__fields__ from Pydantic V1.

class pydxdiag.schema.device.SoundDevice.SoundDevice(*, Description: str, HardwareID: str, ManufacturerID: str | None = None, ProductID: str | None = None, Type: str | None, DriverName: str, DriverVersion: str, DriverLanguage: str, IsBetaDriver: bool, IsDebugDriver: bool, WHQLLogo: bool, DriverDate: datetime, DriverSize: int, OtherFiles: Any | None = None, DriverProvider: str, HwAccelLevel: str, DefaultSoundPlayback: bool, DefaultVoicePlayback: bool, VoiceManager: int, EAX20Listener: bool, EAX20Source: bool, I3DL2Listener: bool, I3DL2Source: bool, ZoomFX: bool, Flags: int, MinSecondarySampleRate: int, MaxSecondarySampleRate: int, PrimaryBuffers: int, MaxHwMixingBuffers: MaxHwMixingBufferInfo, MaxHw3DBuffers: MaxHw3DBufferInfo, FreeHwMixingBuffers: FreeHwMixingBufferInfo, FreeHw3DBuffers: FreeHw3DBufferInfo, TotalHwMemBytes: int, FreeHwMemBytes: int, MaxContigFreeHwMemBytes: int, UnlockTransferRateHwBuffers: int, PlayCPUOverheadSwBuffers: int)#

Bases: BaseModel

A class to represent the sound device of a computer.

Params Description:

The description of the sound device.

Params HardwareID:

The hardware ID of the sound device.

Params ManufacturerID:

The manufacturer ID of the sound device.

Params ProductID:

The product ID of the sound device.

Params Type:

The type of the sound device.

Params DriverName:

The name of the driver of the sound device.

Params DriverVersion:

The version of the driver of the sound device.

Params DriverLanguage:

The language of the driver of the sound device.

Parms IsBetaDriver:

Whether the driver of the sound device is a beta driver.

Params IsDebugDriver:

Whether the driver of the sound device is a debug driver.

Params WHQLLogo:

Whether the driver of the sound device is WHQL logo.

Params DriverDate:

The date of the driver of the sound device.

Params DriverSize:

The size of the driver binaries

Params OtherFiles:

Other files associated with the sound device.

Params DriverProvider:

The provider of the driver of the sound device.

Params HwAccelLevel:

The hardware acceleration level of the sound device.

Params DefaultSoundPlayback:

The default sound playback device.

Params DefaultVoicePlayback:

The default voice playback device.

Params VoiceManager:

The voice manager of the sound device.

Params EAX20Listener:

Is this Device EAX 2.0 Listener Supported

Params EAX20Source:

Is this Device an EAX 2.0 Source

Params I3DL2Listener:

Is this Device an I3DL2 Listener

Params I3DL2Source:

Is this Device an I3DL2 Source

Params ZoomFX:

Is this Device ZoomFX Supported

Params Flags:

Flags for the sound device.

Params MinSecondarySampleRate:

Minimum secondary sample rate

Params MaxSecondarySampleRate:

Maximum secondary sample rate

Params PrimaryBuffers:

Primary buffers

Params MaxHwMixingBuffers:

Maximum hardware mixing buffers

Params FreeHwMixingBuffers:

Free hardware mixing buffers

Params FreeHw3DAllBuffers:

Free hardware 3D buffers

Params TotalHwMemBytes:

Total hardware memory in bytes

Params FreeHwMemBytes:

Free hardware memory in bytes

Params MaxContigFreeHwMemBytes:

Maximum contiguous memory in bytes

Params UnlockTransferRateHwBuffers:

Unlock transfer rate hardware buffers

Params PlayCPUOverheadSwBuffers:

Play CPU overhead software buffers

DefaultSoundPlayback: bool#
DefaultVoicePlayback: bool#
Description: str#
DriverDate: datetime#
DriverLanguage: str#
DriverName: str#
DriverProvider: str#
DriverSize: int#
DriverVersion: str#
EAX20Listener: bool#
EAX20Source: bool#
Flags: int#
FreeHw3DBuffers: FreeHw3DBufferInfo#
FreeHwMemBytes: int#
FreeHwMixingBuffers: FreeHwMixingBufferInfo#
HardwareID: str#
HwAccelLevel: str#
I3DL2Listener: bool#
I3DL2Source: bool#
IsBetaDriver: bool#
IsDebugDriver: bool#
ManufacturerID: str | None#
MaxContigFreeHwMemBytes: int#
MaxHw3DBuffers: MaxHw3DBufferInfo#
MaxHwMixingBuffers: MaxHwMixingBufferInfo#
MaxSecondarySampleRate: int#
MinSecondarySampleRate: int#
OtherFiles: Any | None#
PlayCPUOverheadSwBuffers: int#
PrimaryBuffers: int#
ProductID: str | None#
TotalHwMemBytes: int#
Type: str | None#
UnlockTransferRateHwBuffers: int#
VoiceManager: int#
ZoomFX: bool#
model_computed_fields: ClassVar[dict[str, ComputedFieldInfo]] = {}#

A dictionary of computed field names and their corresponding ComputedFieldInfo objects.

model_config: ClassVar[ConfigDict] = {}#

Configuration for the model, should be a dictionary conforming to [ConfigDict][pydantic.config.ConfigDict].

model_fields: ClassVar[dict[str, FieldInfo]] = {'DefaultSoundPlayback': FieldInfo(annotation=bool, required=True, description='The default sound playback device.'), 'DefaultVoicePlayback': FieldInfo(annotation=bool, required=True, description='The default voice playback device.'), 'Description': FieldInfo(annotation=str, required=True, description='The description of the sound device.'), 'DriverDate': FieldInfo(annotation=datetime, required=True, description='The date of the driver of the sound device.'), 'DriverLanguage': FieldInfo(annotation=str, required=True, description='The language of the driver of the sound device.'), 'DriverName': FieldInfo(annotation=str, required=True, description='The name of the driver of the sound device.'), 'DriverProvider': FieldInfo(annotation=str, required=True, description='The provider of the driver of the sound device.'), 'DriverSize': FieldInfo(annotation=int, required=True, description='The size of the driver binaries'), 'DriverVersion': FieldInfo(annotation=str, required=True, description='The version of the driver of the sound device.'), 'EAX20Listener': FieldInfo(annotation=bool, required=True, description='Is this Device EAX 2.0 Listener Supported'), 'EAX20Source': FieldInfo(annotation=bool, required=True, description='Is this Device an EAX 2.0 Source'), 'Flags': FieldInfo(annotation=int, required=True, description='Flags for the sound device.'), 'FreeHw3DBuffers': FieldInfo(annotation=FreeHw3DBufferInfo, required=True, description='Free hardware 3D buffers'), 'FreeHwMemBytes': FieldInfo(annotation=int, required=True, description='Free hardware memory in bytes'), 'FreeHwMixingBuffers': FieldInfo(annotation=FreeHwMixingBufferInfo, required=True, description='Free hardware mixing buffers'), 'HardwareID': FieldInfo(annotation=str, required=True, description='The hardware ID of the sound device.'), 'HwAccelLevel': FieldInfo(annotation=str, required=True, description='The hardware acceleration level of the sound device.'), 'I3DL2Listener': FieldInfo(annotation=bool, required=True, description='Is this Device an I3DL2 Listener'), 'I3DL2Source': FieldInfo(annotation=bool, required=True, description='Is this Device an I3DL2 Source'), 'IsBetaDriver': FieldInfo(annotation=bool, required=True, description='Whether the driver of the sound device is a beta driver.'), 'IsDebugDriver': FieldInfo(annotation=bool, required=True, description='Whether the driver of the sound device is a debug driver.'), 'ManufacturerID': FieldInfo(annotation=Union[str, NoneType], required=False, default=None, description='The manufacturer ID of the sound device.'), 'MaxContigFreeHwMemBytes': FieldInfo(annotation=int, required=True, description='Maximum contiguous memory in bytes'), 'MaxHw3DBuffers': FieldInfo(annotation=MaxHw3DBufferInfo, required=True, description='Maximum hardware 3D buffers'), 'MaxHwMixingBuffers': FieldInfo(annotation=MaxHwMixingBufferInfo, required=True, description='Maximum hardware mixing buffers'), 'MaxSecondarySampleRate': FieldInfo(annotation=int, required=True, description='Maximum secondary sample rate'), 'MinSecondarySampleRate': FieldInfo(annotation=int, required=True, description='Minimum secondary sample rate'), 'OtherFiles': FieldInfo(annotation=Union[Any, NoneType], required=False, default=None, description='Other files associated with the sound device.'), 'PlayCPUOverheadSwBuffers': FieldInfo(annotation=int, required=True, description='Play CPU overhead software buffers'), 'PrimaryBuffers': FieldInfo(annotation=int, required=True, description='Primary buffers'), 'ProductID': FieldInfo(annotation=Union[str, NoneType], required=False, default=None, description='The product ID of the sound device.'), 'TotalHwMemBytes': FieldInfo(annotation=int, required=True, description='Total hardware memory in bytes'), 'Type': FieldInfo(annotation=Union[str, NoneType], required=True, description='The type of the sound device.'), 'UnlockTransferRateHwBuffers': FieldInfo(annotation=int, required=True, description='Unlock transfer rate hardware buffers'), 'VoiceManager': FieldInfo(annotation=int, required=True, description='The voice manager of the sound device.'), 'WHQLLogo': FieldInfo(annotation=bool, required=True, description='Whether the driver of the sound device is WHQL logo.'), 'ZoomFX': FieldInfo(annotation=bool, required=True, description='Is this Device ZoomFX Supported')}#

Metadata about the fields defined on the model, mapping of field names to [FieldInfo][pydantic.fields.FieldInfo].

This replaces Model.__fields__ from Pydantic V1.

pydxdiag.schema.device.SystemDevice module#

class pydxdiag.schema.device.SystemDevice.Driver(*, Name: str, InstallationPath: str, Version: str, Language: str, IsBetaDriver: bool, IsDebugDriver: bool, Date: datetime | None = None, Size: int)#

Bases: BaseModel

Class to desribe basic information for a input related device driver.

Params Name:

The name of the driver.

Params InstallationPath:

The installation path of the driver.

Params Version:

The version of the driver.

Params Language:

The language of the driver.

Params IsBetaDriver:

Whether the driver is a beta driver or not.

Params IsDebugDriver:

Whether the driver is a debug driver or not.

Params Date:

The date of the driver.

Params Size:

The size of the driver.

Date: datetime | None#
InstallationPath: str#
IsBetaDriver: bool#
IsDebugDriver: bool#
Language: str#
Name: str#
Size: int#
Version: str#
model_computed_fields: ClassVar[dict[str, ComputedFieldInfo]] = {}#

A dictionary of computed field names and their corresponding ComputedFieldInfo objects.

model_config: ClassVar[ConfigDict] = {}#

Configuration for the model, should be a dictionary conforming to [ConfigDict][pydantic.config.ConfigDict].

model_fields: ClassVar[dict[str, FieldInfo]] = {'Date': FieldInfo(annotation=Union[datetime, NoneType], required=False, default=None, title='Date', description='The date of the driver.'), 'InstallationPath': FieldInfo(annotation=str, required=True, title='InstallationPath', description='The installation path of the driver.'), 'IsBetaDriver': FieldInfo(annotation=bool, required=True, title='IsBetaDriver', description='Whether the driver is a beta driver or not.'), 'IsDebugDriver': FieldInfo(annotation=bool, required=True, title='IsDebugDriver', description='Whether the driver is a debug driver or not.'), 'Language': FieldInfo(annotation=str, required=True, title='Language', description='The language of the driver.'), 'Name': FieldInfo(annotation=str, required=True, title='Name', description='The name of the driver.'), 'Size': FieldInfo(annotation=int, required=True, title='Size', description='The size of the driver.'), 'Version': FieldInfo(annotation=str, required=True, title='Version', description='The version of the driver.')}#

Metadata about the fields defined on the model, mapping of field names to [FieldInfo][pydantic.fields.FieldInfo].

This replaces Model.__fields__ from Pydantic V1.

class pydxdiag.schema.device.SystemDevice.SystemDevice(*, Name: str, DeviceKey: str, Drivers: List[Driver])#

Bases: BaseModel

Class to describe basic information for a system device.

Params Name:

The name of the device.

Params DeviceKey:

The device key.

Params Drivers:

The drivers of the device.

DeviceKey: str#
Drivers: List[Driver]#
Name: str#
model_computed_fields: ClassVar[dict[str, ComputedFieldInfo]] = {}#

A dictionary of computed field names and their corresponding ComputedFieldInfo objects.

model_config: ClassVar[ConfigDict] = {}#

Configuration for the model, should be a dictionary conforming to [ConfigDict][pydantic.config.ConfigDict].

model_fields: ClassVar[dict[str, FieldInfo]] = {'DeviceKey': FieldInfo(annotation=str, required=True, title='DeviceKey', description='The device key.'), 'Drivers': FieldInfo(annotation=List[Driver], required=True, title='Drivers', description='The drivers of the device.'), 'Name': FieldInfo(annotation=str, required=True, title='Name', description='The name of the device.')}#

Metadata about the fields defined on the model, mapping of field names to [FieldInfo][pydantic.fields.FieldInfo].

This replaces Model.__fields__ from Pydantic V1.

pydxdiag.schema.device.VideoCaptureDevice module#

class pydxdiag.schema.device.VideoCaptureDevice.VideoCaptureDevice(*, FriendlyName: str, Category: str, SymbolicLink: str, Location: str, Rotation: int, SensorOrientation: int, Manufacturer: str, HardwareID: str, DriverDesc: str, DriverProvider: str, DriverVersion: str, DriverDate: datetime, Service: str, Class: str, DevNodeStatus: str, ContainerID: str, ProblemCode: str | None = None, BusReportedDeviceDesc: str | None = None, UpperFilters: str | None = None, LowerFilters: str | None = None, Stack: List[str], ContainerCategory: str | None, SensorGroupID: str, MFT0: str | None = None, DMFT: str | None = None, CustomCaptureSource: str | None = None, DependentStillCapture: str | None, EnableDshowRedirection: bool, DMFTChain: str | None, EnablePlatformDMFT: bool, FrameServerEnabled: str | None, AnalogProviders: str | None, MSXUCapability: str | None, ProfileIDs: str | None)#

Bases: BaseModel

Class to represent the video capture device.

Params FriendlyName:

Friendly name displayed for users.

Params Category:

Category of the video capture device.

Params SymbolicLink:

Symbolic link of the video capture device.

Params Location:

Location of the video capture device.

Params Rotation:

Rotation of the video capture device.

“params SensorOrientation:

Sensor orientation of the video capture device.

Params Manufacturer:

Manufacturer of the video capture device.

Params HardwareID:

Hardware ID of the video capture device.

Params DriverDesc:

Driver description of the video capture device.

Params DriverProvider:

Driver provider of the video capture device.

Parmas DriverVersion:

Driver version of the video capture device.

Params DriverDate:

Date of the driver.

Params Service:

Service type of the video capture device.

Params Class:

Class of the video capture device.

Params DevNodeStatus:

Device node status of the video capture device.

Params ContainerID:

Container ID of the video capture device.

Params ProblemCode:

Problem code of the video capture device.

Params BusReportedDeviceDesc:

Bus reported device description of the video capture device.

Params UpperFilters:

Upper filters of the video capture device.

Params LowerFilters:

Lower filters of the video capture device.

Params Stack:

Stack of the video capture device.

Params ContainerCategory:

Container category of the video capture device.

Params SensorGroupID:

Sensor group ID of the video capture device.

Params MFT0:

MFT0 of the video capture device.

Params DMFT:

DMFT of the video capture device.

Params CustomCaptureSource:

Custom capture source of the video capture device.

Params DependentStillCapture:

Dependent still capture of the video capture device.

Params EnableDshowRedirection:

Enable Dshow redirection of the video capture device.

Params DMFTChain:

DMFT chain of the video capture device.

Params EnablePlatformDMFT:

Enable platform DMFT of the video capture device.

Params FrameServerEnabled:

Frame server enabled of the video capture device.

Params AnalogProviders:

Analog providers of the video capture device.

Params MSXUCapability:

MSXU capability of the video capture device.

Params ProfileIDs:

Profile IDs of the video capture device.

AnalogProviders: str | None#
BusReportedDeviceDesc: str | None#
Category: str#
Class: str#
ContainerCategory: str | None#
ContainerID: str#
CustomCaptureSource: str | None#
DMFT: str | None#
DMFTChain: str | None#
DependentStillCapture: str | None#
DevNodeStatus: str#
DriverDate: datetime#
DriverDesc: str#
DriverProvider: str#
DriverVersion: str#
EnableDshowRedirection: bool#
EnablePlatformDMFT: bool#
FrameServerEnabled: str | None#
FriendlyName: str#
HardwareID: str#
Location: str#
LowerFilters: str | None#
MFT0: str | None#
MSXUCapability: str | None#
Manufacturer: str#
ProblemCode: str | None#
ProfileIDs: str | None#
Rotation: int#
SensorGroupID: str#
SensorOrientation: int#
Service: str#
Stack: List[str]#
UpperFilters: str | None#
model_computed_fields: ClassVar[dict[str, ComputedFieldInfo]] = {}#

A dictionary of computed field names and their corresponding ComputedFieldInfo objects.

model_config: ClassVar[ConfigDict] = {}#

Configuration for the model, should be a dictionary conforming to [ConfigDict][pydantic.config.ConfigDict].

model_fields: ClassVar[dict[str, FieldInfo]] = {'AnalogProviders': FieldInfo(annotation=Union[str, NoneType], required=True), 'BusReportedDeviceDesc': FieldInfo(annotation=Union[str, NoneType], required=False, default=None, description='Bus Reported Device Desc'), 'Category': FieldInfo(annotation=str, required=True, description='Category'), 'Class': FieldInfo(annotation=str, required=True, description='Class'), 'ContainerCategory': FieldInfo(annotation=Union[str, NoneType], required=True, description='Container Category'), 'ContainerID': FieldInfo(annotation=str, required=True, description='Cotainer ID'), 'CustomCaptureSource': FieldInfo(annotation=Union[str, NoneType], required=False, default=None, description='Custom Capture Source'), 'DMFT': FieldInfo(annotation=Union[str, NoneType], required=False, default=None, description='DMFT'), 'DMFTChain': FieldInfo(annotation=Union[str, NoneType], required=True), 'DependentStillCapture': FieldInfo(annotation=Union[str, NoneType], required=True), 'DevNodeStatus': FieldInfo(annotation=str, required=True, description='DevNode Status'), 'DriverDate': FieldInfo(annotation=datetime, required=True, description='Driver Date'), 'DriverDesc': FieldInfo(annotation=str, required=True, description='Driver Desc'), 'DriverProvider': FieldInfo(annotation=str, required=True, description='Driver Provider'), 'DriverVersion': FieldInfo(annotation=str, required=True, description='Driver Version'), 'EnableDshowRedirection': FieldInfo(annotation=bool, required=True), 'EnablePlatformDMFT': FieldInfo(annotation=bool, required=True), 'FrameServerEnabled': FieldInfo(annotation=Union[str, NoneType], required=True), 'FriendlyName': FieldInfo(annotation=str, required=True, description='Friendly Name'), 'HardwareID': FieldInfo(annotation=str, required=True, description='Hardware ID'), 'Location': FieldInfo(annotation=str, required=True, description='Location'), 'LowerFilters': FieldInfo(annotation=Union[str, NoneType], required=False, default=None, description='Lower Filters'), 'MFT0': FieldInfo(annotation=Union[str, NoneType], required=False, default=None, description='MFT0'), 'MSXUCapability': FieldInfo(annotation=Union[str, NoneType], required=True), 'Manufacturer': FieldInfo(annotation=str, required=True, description='Manufacturer'), 'ProblemCode': FieldInfo(annotation=Union[str, NoneType], required=False, default=None, description='Problem Code'), 'ProfileIDs': FieldInfo(annotation=Union[str, NoneType], required=True), 'Rotation': FieldInfo(annotation=int, required=True, description='Rotation'), 'SensorGroupID': FieldInfo(annotation=str, required=True, description='Sensor Group ID'), 'SensorOrientation': FieldInfo(annotation=int, required=True, description='Sensor Orientation'), 'Service': FieldInfo(annotation=str, required=True, description='Service'), 'Stack': FieldInfo(annotation=List[str], required=True, description='Stack'), 'SymbolicLink': FieldInfo(annotation=str, required=True, description='Symbolic Link'), 'UpperFilters': FieldInfo(annotation=Union[str, NoneType], required=False, default=None, description='Upper Filters')}#

Metadata about the fields defined on the model, mapping of field names to [FieldInfo][pydantic.fields.FieldInfo].

This replaces Model.__fields__ from Pydantic V1.

Module contents#