Skip to main content

Detect user idle time

Project description

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()

Project details


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

idle-time-0.1.0.tar.gz (4.4 kB view hashes)

Uploaded Source

Built Distribution

idle_time-0.1.0-py3-none-any.whl (8.4 kB view hashes)

Uploaded Python 3

Supported by

AWS AWS Cloud computing and Security Sponsor Datadog Datadog Monitoring Fastly Fastly CDN Google Google Download Analytics Microsoft Microsoft PSF Sponsor Pingdom Pingdom Monitoring Sentry Sentry Error logging StatusPage StatusPage Status page