## timewatch
Tired of reporting work hours every day/month?
Your boss trusts you with your time, but HR demands you fill timewatch's form?
You're too preoccupied with work, and forget filling up timewatch.co.il?
We've all been there, just set up a monthly timewatch cron and get back to work!
### What is this?
This script automatically sets default working hours for all work days using timewatch.co.il's web interface.
It reads expected work hours for each day and automatically sets each day's work to that amount.
It is therefor handling govt. off days and weekends, and is quite configurable.
## Usage
To report required working hours for the current month, simply execute
```./main <company id> <employee number> <password>```
### Full usage and functionality
```
usage: main.py [-h] [-y YEAR] [-m MONTH] [-v] [-o {all,incomplete,regular}]
[-s STARTTIME] [-j JITTER]
company user password
Automatic work hours reporting for timewatch.co.il
positional arguments:
company Company ID
user user name/id
password user password
optional arguments:
-h, --help show this help message and exit
-y YEAR, --year YEAR Year number to fill
-m MONTH, --month MONTH
Month number or name
-v, --verbose increase logging level
-o {all,incomplete,regular}, --override {all,incomplete,regular}
Control override behavior. all - override all working
days, unsafe to vacation/sick days. incomplete = only
override days with partial records. regular - override
regular days (without absence reason) only
-s STARTTIME, --starttime STARTTIME
punch-in time
-j JITTER, --jitter JITTER
punching time random range in minutes.
```
### Installation
```
git clone https://github.com/nirizr/timewatch.git
cd timewatch
pip install -r requirements.txt
```
or
```
pip install timewatch --target './'
cd timewatch
./main.py <args>
```
### Known issues
* Doesn't sign the doc (I suggest you do it manually after reviewing there are no bugs in the report).
* no support for reporting vacation/sick days through the script yet (You can report using timewatch's web interface before/after running the script)
[v-image]: https://img.shields.io/pypi/v/timewatch.svg
[dm-image]: https://img.shields.io/pypi/dm/timewatch.svg
[pypi-url]: https://pypi.python.org/pypi/timewatch/
Metadata
Release files for timewatch 0.5.4
For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.
Source distribution (sdist)
| File | Size | Uploaded | Provenance | Actions |
|---|---|---|---|---|
| timewatch-0.5.4.tar.gz | 5.2 kB | Without provenance | Details for timewatch-0.5.4.tar.gz |
Release files / timewatch-0.5.4.tar.gz
| Download URL | timewatch-0.5.4.tar.gz |
|---|---|
| Size | 5.2 kB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
7b229294ec4965e33d91240e55fd7cfb4e42d24b032761b82d26c1cd05f40f80
|
|
BLAKE2b-256 checksum How to use checksums |
d22581e8071e77135a1b9f2880406dd1a7b6fc5a5ea1ed474f17c903a2e78428
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
Security for timewatch 0.5.4
Provenance
Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.
No provenance found
None of the files in this release were uploaded with provenance metadata.
A note on package security
PyPI is a repository for distributing packages, not a service for auditing them. While third-party security researchers and our staff do their best to detect and remove malicious packages, PyPI cannot guarantee the quality, security or suitability of any given package.
To learn more about protecting yourself from malicious actors, visit our package security documentation.