auto-timewatch-2.0
توضیحات
Automatic hour fill for TimeWatch
| ویژگی | مقدار |
|---|---|
| سیستم عامل | - |
| نام فایل | auto-timewatch-2.0 |
| نام | auto-timewatch |
| نسخه کتابخانه | 2.0 |
| نگهدارنده | [] |
| ایمیل نگهدارنده | [] |
| نویسنده | Daniel Attiach |
| ایمیل نویسنده | - |
| آدرس صفحه اصلی | https://github.com/danielattiach/autowatch |
| آدرس اینترنتی | https://pypi.org/project/auto-timewatch/ |
| مجوز | MIT |
# 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
نیازمندی
| مقدار | نام |
|---|---|
| ==4.11.1 | beautifulsoup4 |
| ==0.10.5 | python-dotenv |
| ==2.27.1 | requests |
نحوه نصب
نصب پکیج whl auto-timewatch-2.0:
pip install auto-timewatch-2.0.whl
نصب پکیج tar.gz auto-timewatch-2.0:
pip install auto-timewatch-2.0.tar.gz