Skip to main content

Utility to retrieve information about WMI devices on Linux

Project description

lswmi

Hatch project Tests codecov

Utility to retrieve information about WMI devices on Linux.

Requirements

Python >= 3.11 is required to use this utility.

Installation

python3 -m pip install lswmi

Examples

Listing all available WMI devices:

python3 -m lswmi
05901221-D566-11D1-B2F0-00A0C9062910: Data   (Instances: 1)
ABBC0F6A-8EA1-11D1-00A0-C90629100000: Method (Instances: 1)
05901221-D566-11D1-B2F0-00A0C9062910: Data   (Instances: 1)
ABBC0F72-8EA1-11D1-00A0-C90629100000: Event  (Instances: 1)
97845ED0-4E6D-11DE-8A39-0800200C9A66: Method (Instances: 1)
C3021213-D0BC-41A2-BA17-816CD5ED7744: Method (Instances: 1)
05901221-D566-11D1-B2F0-00A0C9062910: Data   (Instances: 1)
B82BB115-43AE-4B35-B79D-BD6416ABC381: Method (Instances: 1)
05901221-D566-11D1-B2F0-00A0C9062910: Data   (Instances: 1)
A0485619-3E07-4ABE-BE6B-0AB67E2A92E6: Method (Instances: 1)

Enable verbose output:

python3 -m lswmi -V
05901221-D566-11D1-B2F0-00A0C9062910: Data   (Instances: 1)
    Identification: MO
    Expensive: False
    Setable: False
    Driver: wmi-bmof

ABBC0F6A-8EA1-11D1-00A0-C90629100000: Method (Instances: 1)
    Identification: AA
    Expensive: False

05901221-D566-11D1-B2F0-00A0C9062910: Data   (Instances: 1)
    Identification: MO
    Expensive: False
    Setable: False
    Driver: wmi-bmof

ABBC0F72-8EA1-11D1-00A0-C90629100000: Event  (Instances: 1)
    Identification: D2
    Expensive: False

97845ED0-4E6D-11DE-8A39-0800200C9A66: Method (Instances: 1)
    Identification: BC
    Expensive: False

C3021213-D0BC-41A2-BA17-816CD5ED7744: Method (Instances: 1)
    Identification: BC
    Expensive: False

05901221-D566-11D1-B2F0-00A0C9062910: Data   (Instances: 1)
    Identification: BA
    Expensive: False
    Setable: False
    Driver: wmi-bmof

B82BB115-43AE-4B35-B79D-BD6416ABC381: Method (Instances: 1)
    Identification: BC
    Expensive: False

05901221-D566-11D1-B2F0-00A0C9062910: Data   (Instances: 1)
    Identification: MO
    Expensive: False
    Setable: False
    Driver: wmi-bmof

A0485619-3E07-4ABE-BE6B-0AB67E2A92E6: Method (Instances: 1)
    Identification: BC
    Expensive: False

Project details


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

lswmi-1.2.0.tar.gz (13.2 kB view details)

Uploaded Source

Built Distribution

If you're not sure about the file name format, learn more about wheel file names.

lswmi-1.2.0-py3-none-any.whl (11.8 kB view details)

Uploaded Python 3

File details

Details for the file lswmi-1.2.0.tar.gz.

File metadata

  • Download URL: lswmi-1.2.0.tar.gz
  • Upload date:
  • Size: 13.2 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/4.0.2 CPython/3.11.8

File hashes

Hashes for lswmi-1.2.0.tar.gz
Algorithm Hash digest
SHA256 511129440ea8e0d35cbba703c2fc86119ed0bbaa9312c6ea824b04c7e2baf073
MD5 3fd069294c485035fe88b36fadd10324
BLAKE2b-256 048378da9eedad5ff9ed174ad5e409176beb964fbfbc436666bed983242df146

See more details on using hashes here.

File details

Details for the file lswmi-1.2.0-py3-none-any.whl.

File metadata

  • Download URL: lswmi-1.2.0-py3-none-any.whl
  • Upload date:
  • Size: 11.8 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/4.0.2 CPython/3.11.8

File hashes

Hashes for lswmi-1.2.0-py3-none-any.whl
Algorithm Hash digest
SHA256 ce883cffc9071260b832fa13d4c21bfab4e1267266db4e887b77f0cee788412e
MD5 a6fb3dde6b0d562fbb09bf7a3bcc746b
BLAKE2b-256 6063737b5104b52fdf3868c6e386d65e32f8ff7386c6b3740425b20b553aaa3f

See more details on using hashes here.

Supported by

AWS Cloud computing and Security Sponsor Datadog Monitoring Depot Continuous Integration Fastly CDN Google Download Analytics Pingdom Monitoring Sentry Error logging StatusPage Status page