dbus-idle


Namedbus-idle JSON
Version 2024.12.0 PyPI version JSON
download
home_pagehttps://github.com/bkbilly/dbus_idle
SummarySystem idle time using DBus
upload_time2024-12-26 13:30:34
maintainerNone
docs_urlNone
authorNone
requires_python>=3.7.0
licenseNone
keywords dbus_idle dbus-idle
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://github.com/bkbilly/dbus_idle",
    "name": "dbus-idle",
    "maintainer": null,
    "docs_url": null,
    "requires_python": ">=3.7.0",
    "maintainer_email": null,
    "keywords": "dbus_idle, dbus-idle",
    "author": null,
    "author_email": "Alexander Frenzel <alex@relatedworks.com>, bkbilly <bkbilly@hotmail.com>",
    "download_url": "https://files.pythonhosted.org/packages/a2/12/dd5e88cea0ddb6179b5ab89656a11ce6c81c40e6008a96393bb09f25df1d/dbus_idle-2024.12.0.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.12.0",
    "project_urls": {
        "Homepage": "https://github.com/bkbilly/dbus_idle",
        "Source Code": "https://github.com/bkbilly/dbus_idle"
    },
    "split_keywords": [
        "dbus_idle",
        " dbus-idle"
    ],
    "urls": [
        {
            "comment_text": "",
            "digests": {
                "blake2b_256": "3a74dba7d08ebdb071b42b0486ddbfd22d3281c22776e52490279c22266eb41f",
                "md5": "7cd8cbbb74c35ab67cc35c1920bdbdfd",
                "sha256": "e572f1fe869ad36e13507fe9a0f9f1b809e8d8a5edc0a4c02a5a4c82f91f8624"
            },
            "downloads": -1,
            "filename": "dbus_idle-2024.12.0-py3-none-any.whl",
            "has_sig": false,
            "md5_digest": "7cd8cbbb74c35ab67cc35c1920bdbdfd",
            "packagetype": "bdist_wheel",
            "python_version": "py3",
            "requires_python": ">=3.7.0",
            "size": 5291,
            "upload_time": "2024-12-26T13:30:31",
            "upload_time_iso_8601": "2024-12-26T13:30:31.949358Z",
            "url": "https://files.pythonhosted.org/packages/3a/74/dba7d08ebdb071b42b0486ddbfd22d3281c22776e52490279c22266eb41f/dbus_idle-2024.12.0-py3-none-any.whl",
            "yanked": false,
            "yanked_reason": null
        },
        {
            "comment_text": "",
            "digests": {
                "blake2b_256": "a212dd5e88cea0ddb6179b5ab89656a11ce6c81c40e6008a96393bb09f25df1d",
                "md5": "a977ebe6298b6e6a1c4d090a8a5ba9c1",
                "sha256": "6fec423e6473a925de432093c7bbb776c890528df7363f7608b6c99aedb511e4"
            },
            "downloads": -1,
            "filename": "dbus_idle-2024.12.0.tar.gz",
            "has_sig": false,
            "md5_digest": "a977ebe6298b6e6a1c4d090a8a5ba9c1",
            "packagetype": "sdist",
            "python_version": "source",
            "requires_python": ">=3.7.0",
            "size": 4787,
            "upload_time": "2024-12-26T13:30:34",
            "upload_time_iso_8601": "2024-12-26T13:30:34.167595Z",
            "url": "https://files.pythonhosted.org/packages/a2/12/dd5e88cea0ddb6179b5ab89656a11ce6c81c40e6008a96393bb09f25df1d/dbus_idle-2024.12.0.tar.gz",
            "yanked": false,
            "yanked_reason": null
        }
    ],
    "upload_time": "2024-12-26 13:30:34",
    "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: 1.63994s