Skip to main content

Compute working hours based on login / logouts events.

Project description

# Compute working hours from logins and logouts

I never know how much time I’m spending at work per week, so I wrote a little script that gets me this information out of logins / logouts.

It obviously only work if you have a separated computer for work and for your personal use. But that’s my case!


It’s pretty simple to install, here are a few lines for you:

$ pip install login-workhours
$ workhours
  Week #    Duration (hours)
--------  ------------------
    19                3.66
    21                4.19
    23                0.18
    24                0.01
    25               63.96
    28               23.99
    29               23.96
    30                1.61

Project details

Release history Release notifications

This version


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Files for login-workhours, version 0.1
Filename, size File type Python version Upload date Hashes
Filename, size login_workhours-0.1-py3-none-any.whl (3.0 kB) File type Wheel Python version py3 Upload date Hashes View hashes
Filename, size login-workhours-0.1.tar.gz (2.8 kB) File type Source Python version None Upload date Hashes View hashes

Supported by

Elastic Elastic Search Pingdom Pingdom Monitoring Google Google BigQuery Sentry Sentry Error logging AWS AWS Cloud computing DataDog DataDog Monitoring Fastly Fastly CDN SignalFx SignalFx Supporter DigiCert DigiCert EV certificate StatusPage StatusPage Status page