WMI
Windows Management Instrumentation
Decision gist · record as of 2026-08-14
Yes, if you are on Windows and need to query or control system resources via WMI—it remains functional and has no known vulnerabilities. However, be aware that the package is abandoned and untested against Python versions beyond 3.4 or Windows versions beyond 8.x. For new projects, verify compatibility with your Python and Windows versions first, and consider whether a more actively maintained alternative exists for your specific use case.AI-flagged interpretation of the facts on this page — verify before relying
Before you install
- Requires Windows OS and pywin32 to be installed; will not work on Linux or macOS.
- Installation is straightforward (low friction), but the package is abandoned as of 2020 with no recent maintenance.
- It depends on pywin32, which is actively maintained, but WMI itself will not receive bug fixes or updates.
License · maintenance · safety
permissive license (permissive) — Licensed under the MIT License (permissive), so you can use it freely in commercial or private projects with minimal restrictions.
last release 2020-04-28 (2299 days)
0 known vulnerabilities (OSV.dev, 2026-08-14) · 1,042,287 downloads/mo, #4,455 on PyPI
Alternatives
Verify before relying
pip install wmi
import wmi
c = wmi.WMI()
for service in c.Win32_Service(StartMode="Auto", State="Stopped"):
print(service.Caption)- Whether the package works reliably with Python versions beyond 3.4 (last tested version mentioned in description).
- Current compatibility with recent pywin32 builds and modern Windows versions (10, 11).
- Whether makepy compilation is still necessary for complex WMI queries on current systems.
What it is and what it does
WMI is a lightweight Python wrapper around Windows Management Instrumentation, Microsoft's system for accessing detailed information about computers and networks. It sits on top of pywin32 and abstracts away the COM plumbing, letting you write simple Python code to query services, hardware, performance metrics, and other system properties on Windows machines.
The package is designed for system administrators and developers who need to automate Windows system tasks—restarting services, checking disk space, monitoring processes, or gathering inventory data. It works by translating Python method calls into WMI queries against the underlying Windows system. However, the package has been abandoned since 2020 and receives no active maintenance, so it may have compatibility issues with newer Python versions or Windows releases.
Use it for
- Restart or manage Windows services programmatically based on system state.
- Query hardware inventory (disk, memory, network adapters) for system monitoring or reporting.
- Automate administrative tasks like checking running processes or service status across multiple machines.
- Build system health dashboards that pull real-time data from Windows WMI providers.
- Integrate Windows system information into Python-based IT management or monitoring tools.
Worth the install?
AI-flagged interpretation of the facts on this page. Verify before relying on it.
Yes, if you are on Windows and need to query or control system resources via WMI—it remains functional and has no known vulnerabilities.
However, be aware that the package is abandoned and untested against Python versions beyond 3.4 or Windows versions beyond 8.x. For new projects, verify compatibility with your Python and Windows versions first, and consider whether a more actively maintained alternative exists for your specific use case.
Install
wmi on PyPI
Before you install
Installation is straightforward (low friction), but the package is abandoned as of 2020 with no recent maintenance. It depends on pywin32, which is actively maintained, but WMI itself will not receive bug fixes or updates.
Requires Windows OS and pywin32 to be installed; will not work on Linux or macOS.
License in practice
Licensed under the MIT License (permissive), so you can use it freely in commercial or private projects with minimal restrictions.
Quickstart
pip install wmi
import wmi
c = wmi.WMI()
for service in c.Win32_Service(StartMode="Auto", State="Stopped"):
print(service.Caption)
Verify before relying
- Whether the package works reliably with Python versions beyond 3.4 (last tested version mentioned in description).
- Current compatibility with recent pywin32 builds and modern Windows versions (10, 11).
- Whether makepy compilation is still necessary for complex WMI queries on current systems.
Package facts
| License | permissive license permissive |
| Python support | Not specified |
| Install friction | Low. Pure-Python wheel |
| Runtime dependencies | 1 packagepywin32 |
| Maintenance | Abandoned 2,299 days since the last release |
| First released | |
| Downloads | 1,042,287 / month, #4,455 on PyPI 30-day window, as of 2026-08-14 |
| Known vulnerabilities | None known OSV.dev, checked 2026-08-14 |
Evidence: WMI-1.5.1-py2.py3-none-any.whl
Tags
Let your AI agent find packages like this
Example. Real query, live index.
You found this page by searching. An agent finds it by wishing: SkillFed indexes 14,416 PyPI packages by what they can do, searchable in plain language.
wish › “windows system monitoring”
- WMIWMI wraps Windows Management Instrumentation to let Python code query…
- GlancesGlances is a cross-platform system monitoring tool that displays…
- winevtWinevt lets you query and subscribe to Windows Event Logs directly…
Give your agent the search over MCP, or paste the wish link into any chat.
More Monitoring packages
Wraps any iterable to display a real-time progress bar in the terminal or Jupyter notebook, showing iteration count, elapsed time, and estimated time remaining.
Provides generated Python code for OpenTelemetry semantic conventions, enabling standardized attribute naming and constant definitions for instrumentation and telemetry collection.
Install it if you are using OpenTelemetry and want to follow semantic conventions correctly.
Provides the reference implementation of the OpenTelemetry API for collecting and exporting traces, metrics, and logs from Python applications.
Provides the abstract API and interfaces for OpenTelemetry instrumentation in Python, defining how to emit traces, metrics, and logs without tying code to a specific SDK implementation.
Exports OpenTelemetry observability data to an OpenTelemetry Collector using Protobuf-encoded messages over HTTP.
Install it if you are using OpenTelemetry in Python and need to send data to a Collector over HTTP.
Provides automatic instrumentation commands and programmatic APIs to inject distributed tracing into Python applications without code changes, detecting and instrumenting packages used by your program.
Install it if you need distributed tracing without code changes and have compatible instrumented packages in your environment.
See also pywin32 · shadowcopy · pypiwin32 · pyghmi · pywinauto · pysmb · pywin32-ctypes · pywinrm · pyhwpx · opentelemetry-instrumentation-tornado