Skip to main content

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

This version

2.0

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 details)

Uploaded Source

Built Distribution

auto_timewatch-2.0-py3-none-any.whl (5.8 kB view details)

Uploaded Python 3

File details

Details for the file auto-timewatch-2.0.tar.gz.

File metadata

  • Download URL: auto-timewatch-2.0.tar.gz
  • Upload date:
  • Size: 4.5 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/4.0.0 CPython/3.9.0

File hashes

Hashes for auto-timewatch-2.0.tar.gz
Algorithm Hash digest
SHA256 f4e3a96e9ab915d9d907c608c2adb59b4de95ccb22cb94bfdf1da6498dcfa7f0
MD5 448f5c18092ab50aab74701fdca21a69
BLAKE2b-256 45aa02b0e6f5c7b48f2e7057ffd71eaa8623d42243138927cab467d112050b56

See more details on using hashes here.

File details

Details for the file auto_timewatch-2.0-py3-none-any.whl.

File metadata

File hashes

Hashes for auto_timewatch-2.0-py3-none-any.whl
Algorithm Hash digest
SHA256 b6a2642ae1fb609331ea17955493dd403c85ed269b078d4ca3e4ceeab4c463e3
MD5 910c91942504f7652ad990c17d1f5899
BLAKE2b-256 8d55dd61b3cbc80cd520e13aa113332f49dd08a9c708fc9ee60729806898a916

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