dbus-idle-2023.3.2
توضیحات
System idle time using DBus
| ویژگی | مقدار |
|---|---|
| سیستم عامل | OS Independent |
| نام فایل | dbus-idle-2023.3.2 |
| نام | dbus-idle |
| نسخه کتابخانه | 2023.3.2 |
| نگهدارنده | [] |
| ایمیل نگهدارنده | [] |
| نویسنده | - |
| ایمیل نویسنده | Alexander Frenzel <alex@relatedworks.com>, bkbilly <bkbilly@hotmail.com> |
| آدرس صفحه اصلی | https://bkbilly.github.io/lnxlink |
| آدرس اینترنتی | https://pypi.org/project/dbus-idle/ |
| مجوز | - |
# dbus-idle
[](https://pypi.python.org/pypi/dbus-idle)


Python library to detect user idle time 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
monitor = IdleMonitor.get_monitor()
monitor.get_dbus_idle()
```
## Contribution
This is based on the work by [Alexander Frenzel](https://github.com/escaped/dbus_idle)
نیازمندی
| مقدار | نام |
|---|---|
| >=1.3.2 | dbus-python |
زبان مورد نیاز
| مقدار | نام |
|---|---|
| >=3.7.0 | Python |
نحوه نصب
نصب پکیج whl dbus-idle-2023.3.2:
pip install dbus-idle-2023.3.2.whl
نصب پکیج tar.gz dbus-idle-2023.3.2:
pip install dbus-idle-2023.3.2.tar.gz