Usage of module gives the idle time of the computer. Note: Linux requires xprintidle. Use "sudo apt install xprintidle" for the module to work.
Project description
## Gets the time your computer has been idle ## Use it in a while loop for getting continuous durations
import idle
print(idle.get_idle_duration())
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
Built Distribution
Filter files by name, interpreter, ABI, and platform.
If you're not sure about the file name format, learn more about wheel file names.
Copy a direct link to the current filters
File details
Details for the file idleTime-0.5.0.2.tar.gz.
File metadata
- Download URL: idleTime-0.5.0.2.tar.gz
- Upload date:
- Size: 2.7 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/3.1.1 pkginfo/1.5.0.1 requests/2.22.0 setuptools/45.0.0 requests-toolbelt/0.9.1 tqdm/4.41.1 CPython/3.7.5
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
9ebda5cecf6455fe83ca07b8b3189fb3be2f838b4b6f85860d284a35d102f03b
|
|
| MD5 |
c3c0d4cd75dced29dcfbb0b42572d35a
|
|
| BLAKE2b-256 |
7d40231c997261f8583d1fe8499b96da5532ea54ff3c445839442c566b0d07e3
|
File details
Details for the file idleTime-0.5.0.2-py3-none-any.whl.
File metadata
- Download URL: idleTime-0.5.0.2-py3-none-any.whl
- Upload date:
- Size: 2.9 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/3.1.1 pkginfo/1.5.0.1 requests/2.22.0 setuptools/45.0.0 requests-toolbelt/0.9.1 tqdm/4.41.1 CPython/3.7.5
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
07fb3eebb3fa16e47ea68327cbe7892114a132d1e543722e02f563ff4ce36c71
|
|
| MD5 |
695e3ffecfb3cafb3b19a5a686823ac6
|
|
| BLAKE2b-256 |
5abb4872cc1dc92bac36e878cb18b3d89b8781bd82902096940ebd9694589384
|