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

Uploaded Source

Built Distribution

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

Uploaded Python 3

File details

Details for the file idle-time-0.1.0.tar.gz.

File metadata

  • Download URL: idle-time-0.1.0.tar.gz
  • Upload date:
  • Size: 4.4 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: poetry/0.12.11 CPython/3.7.3 Linux/5.1.7-arch1-1-ARCH

File hashes

Hashes for idle-time-0.1.0.tar.gz
Algorithm Hash digest
SHA256 f027324571339fed3f2508134b78ca458e666ebcc29592e9bb66d6349c903c1e
MD5 5a3e5f191d768ddd7e666875b8a7ac65
BLAKE2b-256 67b1a57b2678902bb57be6ad73ec54624159a061cff1916c690309a4123c9b09

See more details on using hashes here.

File details

Details for the file idle_time-0.1.0-py3-none-any.whl.

File metadata

  • Download URL: idle_time-0.1.0-py3-none-any.whl
  • Upload date:
  • Size: 8.4 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: poetry/0.12.11 CPython/3.7.3 Linux/5.1.7-arch1-1-ARCH

File hashes

Hashes for idle_time-0.1.0-py3-none-any.whl
Algorithm Hash digest
SHA256 238eda614f4c73870da8ae3a4484ce40ab851cf2e54bae3cfb16941b369ec883
MD5 868d102433b0b13431d7a9fd8015b84c
BLAKE2b-256 4add6af4776c02c94e414629b47f9badfaec74a1bff872c5ad27b2df031de53f

See more details on using hashes here.

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