dbus-idle


Namedbus-idle JSON
Version 2024.3.1 PyPI version JSON
download
home_pagehttps://bkbilly.github.io/lnxlink
SummarySystem idle time using DBus
upload_time2024-03-21 23:32:20
maintainerNone
docs_urlNone
authorNone
requires_python>=3.7.0
licenseNone
keywords lnxlink
VCS
bugtrack_url
requirements No requirements were recorded.
Travis-CI No Travis.
coveralls test coverage No coveralls.
            # dbus-idle

[![pypi](https://img.shields.io/pypi/v/dbus-idle.svg)](https://pypi.python.org/pypi/dbus-idle)
![python version](https://img.shields.io/pypi/pyversions/dbus-idle.svg)
![license](https://img.shields.io/pypi/l/dbus-idle.svg)

Python library to detect user idle time in milliseconds or inactivity on Linux and Windows.


## Requirements

* Python 3.7 or later


## Installation

Install using:
```
sudo apt install meson libdbus-glib-1-dev patchelf
pip install dbus-idle
```


## Usage

You can use this module from the command line
```bash
dbus-idle
```
or access the current idle time from within your python program
```python
from dbus_idle import IdleMonitor

milliseconds = IdleMonitor().get_dbus_idle()
```

## Contribution
This is based on the work by [Alexander Frenzel](https://github.com/escaped/dbus_idle)

            

Raw data

            {
    "_id": null,
    "home_page": "https://bkbilly.github.io/lnxlink",
    "name": "dbus-idle",
    "maintainer": null,
    "docs_url": null,
    "requires_python": ">=3.7.0",
    "maintainer_email": null,
    "keywords": "lnxlink",
    "author": null,
    "author_email": "Alexander Frenzel <alex@relatedworks.com>, bkbilly <bkbilly@hotmail.com>",
    "download_url": "https://files.pythonhosted.org/packages/8e/df/472cc9a0a2c7f4f68d720408dae8d6efe32561973a43b8c949f09a8ff8a0/dbus_idle-2024.3.1.tar.gz",
    "platform": null,
    "description": "# dbus-idle\n\n[![pypi](https://img.shields.io/pypi/v/dbus-idle.svg)](https://pypi.python.org/pypi/dbus-idle)\n![python version](https://img.shields.io/pypi/pyversions/dbus-idle.svg)\n![license](https://img.shields.io/pypi/l/dbus-idle.svg)\n\nPython library to detect user idle time in milliseconds or inactivity on Linux and Windows.\n\n\n## Requirements\n\n* Python 3.7 or later\n\n\n## Installation\n\nInstall using:\n```\nsudo apt install meson libdbus-glib-1-dev patchelf\npip install dbus-idle\n```\n\n\n## Usage\n\nYou can use this module from the command line\n```bash\ndbus-idle\n```\nor access the current idle time from within your python program\n```python\nfrom dbus_idle import IdleMonitor\n\nmilliseconds = IdleMonitor().get_dbus_idle()\n```\n\n## Contribution\nThis is based on the work by [Alexander Frenzel](https://github.com/escaped/dbus_idle)\n",
    "bugtrack_url": null,
    "license": null,
    "summary": "System idle time using DBus",
    "version": "2024.3.1",
    "project_urls": {
        "Home Page": "https://bkbilly.github.io/dbus_idle",
        "Homepage": "https://bkbilly.github.io/lnxlink",
        "Source Code": "https://github.com/bkbilly/dbus_idle"
    },
    "split_keywords": [
        "lnxlink"
    ],
    "urls": [
        {
            "comment_text": "",
            "digests": {
                "blake2b_256": "6f40690f0986d1480d0a6463eec7886a14860dddfb60b79ca7fd12d90eccbcbf",
                "md5": "052c22b6599619452464191a399433bc",
                "sha256": "e91d3a3c40612cff6dd6268d6448537c4766b466076b3815c631489f10d85656"
            },
            "downloads": -1,
            "filename": "dbus_idle-2024.3.1-py3-none-any.whl",
            "has_sig": false,
            "md5_digest": "052c22b6599619452464191a399433bc",
            "packagetype": "bdist_wheel",
            "python_version": "py3",
            "requires_python": ">=3.7.0",
            "size": 5230,
            "upload_time": "2024-03-21T23:32:19",
            "upload_time_iso_8601": "2024-03-21T23:32:19.113691Z",
            "url": "https://files.pythonhosted.org/packages/6f/40/690f0986d1480d0a6463eec7886a14860dddfb60b79ca7fd12d90eccbcbf/dbus_idle-2024.3.1-py3-none-any.whl",
            "yanked": false,
            "yanked_reason": null
        },
        {
            "comment_text": "",
            "digests": {
                "blake2b_256": "8edf472cc9a0a2c7f4f68d720408dae8d6efe32561973a43b8c949f09a8ff8a0",
                "md5": "5a55b822d353491d616517712b983450",
                "sha256": "8254ad2fc53f926392e1c68cd10d2d4b7e09f4beaa617262f55cc7a9f819eccf"
            },
            "downloads": -1,
            "filename": "dbus_idle-2024.3.1.tar.gz",
            "has_sig": false,
            "md5_digest": "5a55b822d353491d616517712b983450",
            "packagetype": "sdist",
            "python_version": "source",
            "requires_python": ">=3.7.0",
            "size": 4734,
            "upload_time": "2024-03-21T23:32:20",
            "upload_time_iso_8601": "2024-03-21T23:32:20.569510Z",
            "url": "https://files.pythonhosted.org/packages/8e/df/472cc9a0a2c7f4f68d720408dae8d6efe32561973a43b8c949f09a8ff8a0/dbus_idle-2024.3.1.tar.gz",
            "yanked": false,
            "yanked_reason": null
        }
    ],
    "upload_time": "2024-03-21 23:32:20",
    "github": true,
    "gitlab": false,
    "bitbucket": false,
    "codeberg": false,
    "github_user": "bkbilly",
    "github_project": "dbus_idle",
    "travis_ci": false,
    "coveralls": false,
    "github_actions": true,
    "lcname": "dbus-idle"
}
        
Elapsed time: 0.21248s