Skip to main content

# 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!

Installation

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

Release files for login-workhours 0.1

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

Source distribution (sdist)

Source distribution for login-workhours 0.1
File Size Uploaded
login-workhours-0.1.tar.gz 2.8 kB Details

Built distribution (wheel)

Table of built distributions (wheels) for login-workhours 0.1
File Interpreter ABI Platform
login_workhours-0.1-py3-none-any.whl Python 3 none any Details

Total release size: 5.8 kB

Release files / login-workhours-0.1.tar.gz

Download URL login-workhours-0.1.tar.gz
Size 2.8 kB
Tags Source
SHA-256 checksum
How to use checksums
c3909ccd410fe1230dc6984984ba6f71ddd341a6b7f310223be3a6d446adcc81
BLAKE2b-256 checksum
How to use checksums
09b4b5f00f19eb0fc304e72d00f8cfea78160fca622a625092ff0eabc81b72f9
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/1.13.0 pkginfo/1.4.2 requests/2.21.0 setuptools/40.8.0 requests-toolbelt/0.8.0 tqdm/4.28.1 CPython/3.7.3

Release files / login_workhours-0.1-py3-none-any.whl

Download URL login_workhours-0.1-py3-none-any.whl
Size 3.0 kB
Tags Python 3
SHA-256 checksum
How to use checksums
7fb2ead7cae5879e8726ed7dfc054141e6dde930840437673bc2c1aecc207cb2
BLAKE2b-256 checksum
How to use checksums
26c17d8bf1800297dd4c9b6a8b6d18f8bed6bb35801982ca861d72464319a063
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/1.13.0 pkginfo/1.4.2 requests/2.21.0 setuptools/40.8.0 requests-toolbelt/0.8.0 tqdm/4.28.1 CPython/3.7.3

Release history Release notifications | RSS feed

This release

0.1 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