System idle time using DBus
Project description
dbus-idle
Detect user idle time or inactivity on Linux and Windows.
Requirements
- Python 3.7 or later
Installation
Install using pip install dbus-idle
Usage
You can use this module from the command line
python -m dbus-idle
or access the current idle time from within your python program
from dbus_idle import IdleMonitor
monitor = IdleMonitor.get_monitor()
monitor.get_dbus_idle()
Contribution
This is based on the work by Alexander Frenzel
Project details
Release history Release notifications | RSS feed
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
dbus_idle-2023.3.1.tar.gz
(4.4 kB
view hashes)
Built Distribution
Close
Hashes for dbus_idle-2023.3.1-py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 870cb55395ee127500e01aed220ce5da09cdc31f33a9e1a13f9612d2f5443ba5 |
|
MD5 | a4690a2b72304e18889b7eca61a08165 |
|
BLAKE2b-256 | c52ba810c4a09f0e509a7d6f5fb10c233c96baf160a90d32e4de543403b9ead9 |