# python-wmi-client-wrapper **Repository Path**: caimingxiang/python-wmi-client-wrapper ## Basic Information - **Project Name**: python-wmi-client-wrapper - **Description**: No description available - **Primary Language**: Python - **License**: Not specified - **Default Branch**: master - **Homepage**: None - **GVP Project**: No ## Statistics - **Stars**: 0 - **Forks**: 0 - **Created**: 2021-12-14 - **Last Updated**: 2021-12-14 ## Categories & Tags **Categories**: Uncategorized **Tags**: None ## README # 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") #get FibrePort Info wmic = wmi.WmiClientWrapper( username="Administrator", password="password", host="192.168.1.1", namespace='//./root/WMI' ) output = wmic.query('Select * FROM MSFC_FibrePortNPIVAttributes') ``` ## testing ``` nosetests ``` ## license BSD