lswmi


Namelswmi JSON
Version 1.2.0 PyPI version JSON
download
home_page
SummaryUtility to retrieve information about WMI devices on Linux
upload_time2024-03-03 18:41:44
maintainer
docs_urlNone
author
requires_python>=3.11
license
keywords acpi wmi
VCS
bugtrack_url
requirements No requirements were recorded.
Travis-CI No Travis.
coveralls test coverage No coveralls.
            # lswmi

[![Hatch project](https://img.shields.io/badge/%F0%9F%A5%9A-Hatch-4051b5.svg)](https://github.com/pypa/hatch)
![Tests](https://github.com/Wer-Wolf/lswmi/actions/workflows/Test.yaml/badge.svg)
[![codecov](https://codecov.io/gh/Wer-Wolf/lswmi/graph/badge.svg?token=XIT6Q90IMW)](https://codecov.io/gh/Wer-Wolf/lswmi)

Utility to retrieve information about WMI devices on Linux.

## Requirements

Python >= 3.11 is required to use this utility.

## Installation

```sh
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

```
            

Raw data

            {
    "_id": null,
    "home_page": "",
    "name": "lswmi",
    "maintainer": "",
    "docs_url": null,
    "requires_python": ">=3.11",
    "maintainer_email": "",
    "keywords": "ACPI,WMI",
    "author": "",
    "author_email": "Armin Wolf <W_Armin@gmx.de>",
    "download_url": "https://files.pythonhosted.org/packages/04/83/78da9eedad5ff9ed174ad5e409176beb964fbfbc436666bed983242df146/lswmi-1.2.0.tar.gz",
    "platform": null,
    "description": "# lswmi\n\n[![Hatch project](https://img.shields.io/badge/%F0%9F%A5%9A-Hatch-4051b5.svg)](https://github.com/pypa/hatch)\n![Tests](https://github.com/Wer-Wolf/lswmi/actions/workflows/Test.yaml/badge.svg)\n[![codecov](https://codecov.io/gh/Wer-Wolf/lswmi/graph/badge.svg?token=XIT6Q90IMW)](https://codecov.io/gh/Wer-Wolf/lswmi)\n\nUtility to retrieve information about WMI devices on Linux.\n\n## Requirements\n\nPython >= 3.11 is required to use this utility.\n\n## Installation\n\n```sh\npython3 -m pip install lswmi\n```\n\n## Examples\n\nListing all available WMI devices:\n\n```\npython3 -m lswmi\n05901221-D566-11D1-B2F0-00A0C9062910: Data   (Instances: 1)\nABBC0F6A-8EA1-11D1-00A0-C90629100000: Method (Instances: 1)\n05901221-D566-11D1-B2F0-00A0C9062910: Data   (Instances: 1)\nABBC0F72-8EA1-11D1-00A0-C90629100000: Event  (Instances: 1)\n97845ED0-4E6D-11DE-8A39-0800200C9A66: Method (Instances: 1)\nC3021213-D0BC-41A2-BA17-816CD5ED7744: Method (Instances: 1)\n05901221-D566-11D1-B2F0-00A0C9062910: Data   (Instances: 1)\nB82BB115-43AE-4B35-B79D-BD6416ABC381: Method (Instances: 1)\n05901221-D566-11D1-B2F0-00A0C9062910: Data   (Instances: 1)\nA0485619-3E07-4ABE-BE6B-0AB67E2A92E6: Method (Instances: 1)\n```\n\nEnable verbose output:\n\n```\npython3 -m lswmi -V\n05901221-D566-11D1-B2F0-00A0C9062910: Data   (Instances: 1)\n    Identification: MO\n    Expensive: False\n    Setable: False\n    Driver: wmi-bmof\n\nABBC0F6A-8EA1-11D1-00A0-C90629100000: Method (Instances: 1)\n    Identification: AA\n    Expensive: False\n\n05901221-D566-11D1-B2F0-00A0C9062910: Data   (Instances: 1)\n    Identification: MO\n    Expensive: False\n    Setable: False\n    Driver: wmi-bmof\n\nABBC0F72-8EA1-11D1-00A0-C90629100000: Event  (Instances: 1)\n    Identification: D2\n    Expensive: False\n\n97845ED0-4E6D-11DE-8A39-0800200C9A66: Method (Instances: 1)\n    Identification: BC\n    Expensive: False\n\nC3021213-D0BC-41A2-BA17-816CD5ED7744: Method (Instances: 1)\n    Identification: BC\n    Expensive: False\n\n05901221-D566-11D1-B2F0-00A0C9062910: Data   (Instances: 1)\n    Identification: BA\n    Expensive: False\n    Setable: False\n    Driver: wmi-bmof\n\nB82BB115-43AE-4B35-B79D-BD6416ABC381: Method (Instances: 1)\n    Identification: BC\n    Expensive: False\n\n05901221-D566-11D1-B2F0-00A0C9062910: Data   (Instances: 1)\n    Identification: MO\n    Expensive: False\n    Setable: False\n    Driver: wmi-bmof\n\nA0485619-3E07-4ABE-BE6B-0AB67E2A92E6: Method (Instances: 1)\n    Identification: BC\n    Expensive: False\n\n```",
    "bugtrack_url": null,
    "license": "",
    "summary": "Utility to retrieve information about WMI devices on Linux",
    "version": "1.2.0",
    "project_urls": {
        "Bugtracker": "https://github.com/Wer-Wolf/lswmi/issues",
        "Repository": "https://github.com/Wer-Wolf/lswmi"
    },
    "split_keywords": [
        "acpi",
        "wmi"
    ],
    "urls": [
        {
            "comment_text": "",
            "digests": {
                "blake2b_256": "6063737b5104b52fdf3868c6e386d65e32f8ff7386c6b3740425b20b553aaa3f",
                "md5": "a6fb3dde6b0d562fbb09bf7a3bcc746b",
                "sha256": "ce883cffc9071260b832fa13d4c21bfab4e1267266db4e887b77f0cee788412e"
            },
            "downloads": -1,
            "filename": "lswmi-1.2.0-py3-none-any.whl",
            "has_sig": false,
            "md5_digest": "a6fb3dde6b0d562fbb09bf7a3bcc746b",
            "packagetype": "bdist_wheel",
            "python_version": "py3",
            "requires_python": ">=3.11",
            "size": 11774,
            "upload_time": "2024-03-03T18:41:43",
            "upload_time_iso_8601": "2024-03-03T18:41:43.198055Z",
            "url": "https://files.pythonhosted.org/packages/60/63/737b5104b52fdf3868c6e386d65e32f8ff7386c6b3740425b20b553aaa3f/lswmi-1.2.0-py3-none-any.whl",
            "yanked": false,
            "yanked_reason": null
        },
        {
            "comment_text": "",
            "digests": {
                "blake2b_256": "048378da9eedad5ff9ed174ad5e409176beb964fbfbc436666bed983242df146",
                "md5": "3fd069294c485035fe88b36fadd10324",
                "sha256": "511129440ea8e0d35cbba703c2fc86119ed0bbaa9312c6ea824b04c7e2baf073"
            },
            "downloads": -1,
            "filename": "lswmi-1.2.0.tar.gz",
            "has_sig": false,
            "md5_digest": "3fd069294c485035fe88b36fadd10324",
            "packagetype": "sdist",
            "python_version": "source",
            "requires_python": ">=3.11",
            "size": 13186,
            "upload_time": "2024-03-03T18:41:44",
            "upload_time_iso_8601": "2024-03-03T18:41:44.633093Z",
            "url": "https://files.pythonhosted.org/packages/04/83/78da9eedad5ff9ed174ad5e409176beb964fbfbc436666bed983242df146/lswmi-1.2.0.tar.gz",
            "yanked": false,
            "yanked_reason": null
        }
    ],
    "upload_time": "2024-03-03 18:41:44",
    "github": true,
    "gitlab": false,
    "bitbucket": false,
    "codeberg": false,
    "github_user": "Wer-Wolf",
    "github_project": "lswmi",
    "travis_ci": false,
    "coveralls": false,
    "github_actions": true,
    "lcname": "lswmi"
}
        
Elapsed time: 0.20732s