Skip to main content

Simple Clockify script to track active time

Project description

clockify-idleless

Very simple clockify script to track time without idle periods. Very opiniated approach serving the way I track my own time. The premise is that whatever time the user spends active on his/her computer correlates well with the time spent on a given project. The idea is to run the script at startup, forget about it and get reports of the approximate time spent working. If running on a workstation which is only used for work then that approximation should be good enough.

Requirements

  • Python >= 3.5

Quick Setup

  1. Install Python 3.5+ if you haven't already
  2. On the command line run: pip install clockify-idleless
  3. Run: clockify-idleless (it will exit with an error)
  4. Open [path to user home folder]/.clockify-idleless/config.ini
    1. Fill in APIKey (mandatory), you can get it from Clockify user settings
    2. Fill in DefaultProjectId (optional), you can get it from the url of the Clockify project page. Should be a string resembling 4ba584e621c3d66367e2d149
  5. Run clockify-idleless (a tray icon should appear on the taskbar)

Adding to startup on Windows

  1. Find the script executable in the Python Scripts folder, something like: C:\Users\[user]\AppData\Local\Programs\Python\Python35\Scripts\clockify_idleless.exe
  2. Open the startup folder by running (⊞ Win+R) shell:startup which should take you to a folder similar to: C:\Users\[user]\AppData\Roaming\Microsoft\Windows\Start Menu\Programs\Startup
  3. Create a shortcut of clockify_idleless.exe on the Startup folder
  4. Forget about the script and track your active time on Clockify's website

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

clockify_idleless-0.1.0.tar.gz (21.6 kB view details)

Uploaded Source

Built Distribution

clockify_idleless-0.1.0-py3-none-any.whl (23.4 kB view details)

Uploaded Python 3

File details

Details for the file clockify_idleless-0.1.0.tar.gz.

File metadata

  • Download URL: clockify_idleless-0.1.0.tar.gz
  • Upload date:
  • Size: 21.6 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/1.15.0 pkginfo/1.5.0.1 requests/2.22.0 setuptools/41.4.0 requests-toolbelt/0.9.1 tqdm/4.36.1 CPython/3.5.4

File hashes

Hashes for clockify_idleless-0.1.0.tar.gz
Algorithm Hash digest
SHA256 f700afe2156490e236dbe348cc02363ac2b1ce02cd86431f143a795fb524745f
MD5 3ce45d583c4426182dd9d028e60784d7
BLAKE2b-256 5299ddf3e0f435f8ecc76e6149b3578d5e4ad2fb2ca7490bdddceb4903e71167

See more details on using hashes here.

File details

Details for the file clockify_idleless-0.1.0-py3-none-any.whl.

File metadata

  • Download URL: clockify_idleless-0.1.0-py3-none-any.whl
  • Upload date:
  • Size: 23.4 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/1.15.0 pkginfo/1.5.0.1 requests/2.22.0 setuptools/41.4.0 requests-toolbelt/0.9.1 tqdm/4.36.1 CPython/3.5.4

File hashes

Hashes for clockify_idleless-0.1.0-py3-none-any.whl
Algorithm Hash digest
SHA256 5091087da01b63e4b3bade8a815337389f3bfe4f4c7af14777363300a6ec1a83
MD5 f07cc53f6ceea36cfb8895f80004cf8b
BLAKE2b-256 76fe260a4ad5e4496fbda285d4c2095ee8c1cb7e9794c965c500e39651428597

See more details on using hashes here.

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