Skip to main content

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

idleTime-0.5.0.2.tar.gz (2.7 kB view hashes)

Uploaded Source

Built Distribution

idleTime-0.5.0.2-py3-none-any.whl (2.9 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