Linux-only wrapper around wmi-client for WMI (Windows)
Project description
# python-wmi-client-wrapper
This is a wrapper around wmi-client for Linux. Apparently the python-wmi module
uses Windows APIs to access WMI, which isn't something that is going to work on
Linux.
## installing
```
pip install wmi-client-wrapper
```
## usage
```
import wmi_client_wrapper as wmi
wmic = wmi.WmiClientWrapper(
username="Administrator",
password="password",
host="192.168.1.149",
)
output = wmic.query("SELECT * FROM Win32_Processor")
```
## testing
```
nosetests
```
## license
BSD
This is a wrapper around wmi-client for Linux. Apparently the python-wmi module
uses Windows APIs to access WMI, which isn't something that is going to work on
Linux.
## installing
```
pip install wmi-client-wrapper
```
## usage
```
import wmi_client_wrapper as wmi
wmic = wmi.WmiClientWrapper(
username="Administrator",
password="password",
host="192.168.1.149",
)
output = wmic.query("SELECT * FROM Win32_Processor")
```
## testing
```
nosetests
```
## license
BSD
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
File details
Details for the file wmi-client-wrapper-0.0.12.tar.gz
.
File metadata
- Download URL: wmi-client-wrapper-0.0.12.tar.gz
- Upload date:
- Size: 3.9 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | a058fbd671c5d3a19a87e3434f43505bf19b251cc885352320a09f5383d24263 |
|
MD5 | 0deaec14afe5964033ba06da57a0a241 |
|
BLAKE2b-256 | b861c6453af34f588b02e0a833c3616b6cba4b7f4a420e5fa6685d4c77e4f5f8 |