dbus-idle


Namedbus-idle JSON
Version 2024.12.1 PyPI version JSON
download
home_pagehttps://github.com/bkbilly/dbus_idle
SummarySystem idle time using DBus
upload_time2024-12-28 22:52:52
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/09/9b/cb806a6be71a7b339e39be5eaf0774d6598c30ae3a4c01bfa91f6727fb40/dbus_idle-2024.12.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.12.1",
    "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": "2c90ce0371b90c78026226e36a4b0d413178fba3d55574d0dc23a763b8201d2f",
                "md5": "8455f19babc0f623cdf24f1818dd2884",
                "sha256": "7122d71942e94c5212f797cfadd84639fa361254324a7649ce55074fbaa7761e"
            },
            "downloads": -1,
            "filename": "dbus_idle-2024.12.1-py3-none-any.whl",
            "has_sig": false,
            "md5_digest": "8455f19babc0f623cdf24f1818dd2884",
            "packagetype": "bdist_wheel",
            "python_version": "py3",
            "requires_python": ">=3.7.0",
            "size": 5335,
            "upload_time": "2024-12-28T22:52:50",
            "upload_time_iso_8601": "2024-12-28T22:52:50.219705Z",
            "url": "https://files.pythonhosted.org/packages/2c/90/ce0371b90c78026226e36a4b0d413178fba3d55574d0dc23a763b8201d2f/dbus_idle-2024.12.1-py3-none-any.whl",
            "yanked": false,
            "yanked_reason": null
        },
        {
            "comment_text": "",
            "digests": {
                "blake2b_256": "099bcb806a6be71a7b339e39be5eaf0774d6598c30ae3a4c01bfa91f6727fb40",
                "md5": "2c83d403bc185a90e40977d74d1659fe",
                "sha256": "f76f5be2eb2fd0541d0ab610d143f93b81dca9e551d649edae63612326e2f22c"
            },
            "downloads": -1,
            "filename": "dbus_idle-2024.12.1.tar.gz",
            "has_sig": false,
            "md5_digest": "2c83d403bc185a90e40977d74d1659fe",
            "packagetype": "sdist",
            "python_version": "source",
            "requires_python": ">=3.7.0",
            "size": 4830,
            "upload_time": "2024-12-28T22:52:52",
            "upload_time_iso_8601": "2024-12-28T22:52:52.160289Z",
            "url": "https://files.pythonhosted.org/packages/09/9b/cb806a6be71a7b339e39be5eaf0774d6598c30ae3a4c01bfa91f6727fb40/dbus_idle-2024.12.1.tar.gz",
            "yanked": false,
            "yanked_reason": null
        }
    ],
    "upload_time": "2024-12-28 22:52:52",
    "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.87947s