Skip to main content

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

Metadata

Release files for idle-time 0.1.0

For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.

Source distribution (sdist)

Source distribution for idle-time 0.1.0
File Size Uploaded
idle-time-0.1.0.tar.gz 4.4 kB Details

Built distribution (wheel)

Table of built distributions (wheels) for idle-time 0.1.0
File Interpreter ABI Platform
idle_time-0.1.0-py3-none-any.whl Python 3 none any Details

Total release size: 12.8 kB

Release files / idle-time-0.1.0.tar.gz

Download URL idle-time-0.1.0.tar.gz
Size 4.4 kB
Tags Source
SHA-256 checksum
How to use checksums
f027324571339fed3f2508134b78ca458e666ebcc29592e9bb66d6349c903c1e
BLAKE2b-256 checksum
How to use checksums
67b1a57b2678902bb57be6ad73ec54624159a061cff1916c690309a4123c9b09
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via poetry/0.12.11 CPython/3.7.3 Linux/5.1.7-arch1-1-ARCH

Release files / idle_time-0.1.0-py3-none-any.whl

Download URL idle_time-0.1.0-py3-none-any.whl
Size 8.4 kB
Tags Python 3
SHA-256 checksum
How to use checksums
238eda614f4c73870da8ae3a4484ce40ab851cf2e54bae3cfb16941b369ec883
BLAKE2b-256 checksum
How to use checksums
4add6af4776c02c94e414629b47f9badfaec74a1bff872c5ad27b2df031de53f
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via poetry/0.12.11 CPython/3.7.3 Linux/5.1.7-arch1-1-ARCH

Release history Release notifications | RSS feed

This release

0.1.0 This release

2 release files

Anthropic, PBC Visionary sponsor Bloomberg Visionary sponsor Hudson River Trading Visionary sponsor Meta Visionary sponsor NVIDIA Visionary sponsor Microsoft Sustainability sponsor Depot Continuous Integration AWS Cloud computing and Security Sponsor Datadog Monitoring Fastly CDN Google Download Analytics Sentry Error logging StatusPage Status page