Automatically update hours card on TimeWatch
Project description
TimeWatcher
Automatically update hours card on TimeWatch
Python CLI program to help you automate filling up Timewatch card.
Integrate with cronjob
to make this fully automated process every month.
Usage
First install the package to your machine
pip install timewatcher
And execute the program when you want to fill the time
timewatcher
The first time you run it, you will go through the process of setting up the configuration file.
After you set it up for the first time, it will be save to ~/Library/Preferences/TimeWatcher/config.ini
and it can be changed in any time.
Configuration
This is the list of the user configuration options:
company_number
- Mandatory, your company number in Timewatchemployee_number
- Mandatory, you employee number used in Timewatchemployee_password
- Mandatory, password used to Timewatch, by default this is your ID numberstart_time
- Optional, the time to set as your start time in Timewatch. Default to 0900 (9 A.M)end_time
- Optional, the time to set as your end time in Timewatch. Default to 1800 (6 P.M)auto_end_time
- Optional, if set toTrue
it will calculate theend_time
based on the needed hours for each date in Timewatch. This mean the program can handle half days automatically using this option. The default isTrue
.
Development
If you want to run this program locally, clone the repo to your machine
https://github.com/birkagal/timewatcher
cd timewatcher
Initilize environment using poetry
poetry install --no-root
pre-commit install
You can make any changes you want.
To execute run the timewatcher
command inside the directory
timewatcher
Project details
Release history Release notifications | RSS feed
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
Hashes for timewatcher-2.0.0-py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 57f2f35533181590dd6559ce684098f916d51434d6685eaf611cf9746fa65586 |
|
MD5 | 4ab17f459d7ce0177b598f0942763f0a |
|
BLAKE2b-256 | ae8e0fe10a49872164f9473e7b7d73b165f987b0a3261a25d75f1929b947c73e |