Automatic hour fill for TimeWatch
Project description
AutoWatch
Setup:
pip install .
.env example:
COMPANY_NUMBER=123
EMPLOYEE_NUMBER=10
MY_EMPLOYEE_NUMBER=10
PASSWORD=whatever
START_TIME=0900
END_TIME=1800
AUTOMATIC_TIME_FRAME=True
FILL_MONTH=7
FILL_YEAR=2022
Information about environment variables
- MY_EMPLOYEE_NUMBER - your own employee number, a safety measure for the case where EMPLOYEE_NUMBER is different because you filled hours for a colleague.
- START_TIME - the time you came to the office (default is 09:00)
- END_TIME - the time you left the office (default is 18:00)
- AUTOMATIC_TIME_FRAME - if True, it will fill in 9 hours from START_TIME (unless it's a half day, then it'll fill in 5 hours). If False, it'll just use END_TIME
- FILL_YEAR, FILL_MONTH - optional variables for if you need to fill a specific month and not the current month
Execution:
python -m autowatch.app
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
auto-timewatch-2.0.tar.gz
(4.5 kB
view hashes)
Built Distribution
Close
Hashes for auto_timewatch-2.0-py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | b6a2642ae1fb609331ea17955493dd403c85ed269b078d4ca3e4ceeab4c463e3 |
|
MD5 | 910c91942504f7652ad990c17d1f5899 |
|
BLAKE2b-256 | 8d55dd61b3cbc80cd520e13aa113332f49dd08a9c708fc9ee60729806898a916 |