Skip to main content

WMI Device Manager

PyPI version Build Status Build status

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

See wmi_device_manager_ruby.

License

Please use this library under MIT License

See LICENSE file.

Metadata

Release files for wmidevicemanager 1.2.3

For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.

Source distribution (sdist)

Source distribution for wmidevicemanager 1.2.3
File Size Uploaded
wmidevicemanager-1.2.3.tar.gz 11.6 kB Details

Built distribution (wheel)

Table of built distributions (wheels) for wmidevicemanager 1.2.3
File Interpreter ABI Platform
wmidevicemanager-1.2.3-py3-none-any.whl Python 3 none any Details

Total release size: 24.1 kB

Release files / wmidevicemanager-1.2.3.tar.gz

Download URL wmidevicemanager-1.2.3.tar.gz
Size 11.6 kB
Tags Source
SHA-256 checksum
How to use checksums
17abc3f57b6e0663ab722f9872858900c9fad6ce459d80e356b16b2a9ce6fa26
BLAKE2b-256 checksum
How to use checksums
4c80a877618ba280a692009cdbe3d57ddf5a174943be84e3eaf7be5b9b5ead6d
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/1.15.0 pkginfo/1.5.0.1 requests/2.22.0 setuptools/40.6.2 requests-toolbelt/0.9.1 tqdm/4.36.1 CPython/3.6.8

Release files / wmidevicemanager-1.2.3-py3-none-any.whl

Download URL wmidevicemanager-1.2.3-py3-none-any.whl
Size 12.5 kB
Tags Python 3
SHA-256 checksum
How to use checksums
15c3ea4bd92f536e4cfd15706db263a69e632b0791ceffb0be8a73fcabc2b4f0
BLAKE2b-256 checksum
How to use checksums
43c608842333e43dea9e4db4392df5714b80ad3a606379c8059c6841c845ca3f
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/1.15.0 pkginfo/1.5.0.1 requests/2.22.0 setuptools/40.6.2 requests-toolbelt/0.9.1 tqdm/4.36.1 CPython/3.6.8

Release history Release notifications | RSS feed

This release

1.2.3 This release

2 release files

1.2.2

2 release files

1.2.1

2 release files

Anthropic, PBC Visionary sponsor Bloomberg Visionary sponsor Hudson River Trading Visionary sponsor Meta Visionary sponsor NVIDIA Visionary sponsor Microsoft Sustainability sponsor Depot Continuous Integration AWS Cloud computing and Security Sponsor Datadog Monitoring Fastly CDN Google Download Analytics Sentry Error logging StatusPage Status page