A library to get information in device manager based on WMI.
Project description
WMI Device Manager
This is a library to get information in device manager on Windows10 based on WMI.
You can get almost all information of device manager via this library.
For example, "BIOS Device Name", "Driver INF Path" and so on.
How to use
Use files in wmidevicemanager
directory.
You need to install comtypes
library.
import wmidevicemanager
wmi = wmidevicemanager.WmiDeviceManager()
for x in wmi:
print(x.DeviceID)
pci_root = next(x for x in wmi if x.BiosDeviceName == r"\_SB.PCI0")
for child in pci_root.children:
print(child.DeviceID)
for device in wmi:
if device.BiosDeviceName == r"\_SB.PCI0.RP01.PXSX" or device.BiosDeviceName == r"\_SB.PCI0.RP02.PXSX":
device.Disable()
Library for Ruby
License
Please use this library under MIT License
See LICENSE file.
Project details
Release history Release notifications | RSS feed
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
wmidevicemanager-1.2.3.tar.gz
(11.6 kB
view hashes)
Built Distribution
Close
Hashes for wmidevicemanager-1.2.3-py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 15c3ea4bd92f536e4cfd15706db263a69e632b0791ceffb0be8a73fcabc2b4f0 |
|
MD5 | 2e3ba74d8515521f020de041d8970af5 |
|
BLAKE2b-256 | 43c608842333e43dea9e4db4392df5714b80ad3a606379c8059c6841c845ca3f |