idle-time
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)
| File | Size | Uploaded | Provenance | Actions |
|---|---|---|---|---|
| idle-time-0.1.0.tar.gz | 4.4 kB | Without provenance | Details for idle-time-0.1.0.tar.gz |
Built distribution (wheel)
| File | Interpreter | ABI | Platform | Actions Reset |
|---|---|---|---|---|
| idle_time-0.1.0-py3-none-any.whl | Python 3 | none | any | Details for idle_time-0.1.0-py3-none-any.whl |
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
|
Security for idle-time 0.1.0
Provenance
Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.
No provenance found
None of the files in this release were uploaded with provenance metadata.
A note on package security
PyPI is a repository for distributing packages, not a service for auditing them. While third-party security researchers and our staff do their best to detect and remove malicious packages, PyPI cannot guarantee the quality, security or suitability of any given package.
To learn more about protecting yourself from malicious actors, visit our package security documentation.