Skip to content

WIP: Detect user idle time or inactivity on Linux and Windows.

License

Notifications You must be signed in to change notification settings

bscholer/idle_time

 
 

Repository files navigation

idle-time

pypi Build Status Coverage python version Project status license

Detect user idle time or inactivity on Linux and Windows.

WARNING This project is in an alpha status! Though there is already some code to support Windows, it has only been tested on Wayland/Gnome.

Requirements

  • Python 3.6 or later

Installation

Install using pip install idle-time

Usage

You can use this module from the command line

python -m idle-time

or access the current idle time from within your python program

from idle_time import IdleMonitor

monitor = IdleMonitor.get_monitor()
monitor.get_idle_time()

About

WIP: Detect user idle time or inactivity on Linux and Windows.

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages

  • Python 100.0%