Skip to main content

Verification that attendances comply with german rules. Also provide an integration to the api of FactorialHR

Project description

FactorialHR work time verification

pyversions implementation status pypi dpm

This script verifies attendances whether they comply with german law. In particular, the following rules are verified:

  • Whether the work time is longer than 6 hours without a break of 30 min
  • Whether the work time is longer than 9 hours without a break of 45 min
  • Whether the work time is longer than 10 hours without a break of 11 hours

It also provides a way to fetch the attendances of all employees from FactorialHR using a company api-key.

main_window

Disclaimer

I do not guarantee that this package complies with german law all the time. Changes may occur anytime. Use at your own risk.

Errors where the time attended is 1 min above the limit are ignored, because factorial's automated time tracking is not precises enough.

Usage

  • Install the tool with pip install fwtv
  • Run tool with factorial-working-time

Preconditions

Preconditions errors are syntactical errors like an attendance that starts and end and the same time, or if a clock_in or clock_out parameter is missing.

Contributing

Feel free to contribute! Please fork this repository, install the development dependencies with pip install -e ".[dev]" and create pull request.

Project details


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

fwtv-2.4.1.tar.gz (157.5 kB view details)

Uploaded Source

Built Distribution

If you're not sure about the file name format, learn more about wheel file names.

fwtv-2.4.1-py3-none-any.whl (24.2 kB view details)

Uploaded Python 3

File details

Details for the file fwtv-2.4.1.tar.gz.

File metadata

  • Download URL: fwtv-2.4.1.tar.gz
  • Upload date:
  • Size: 157.5 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/6.1.0 CPython/3.12.9

File hashes

Hashes for fwtv-2.4.1.tar.gz
Algorithm Hash digest
SHA256 03a2b78703457a20b686ba1ee5eb554df7b3596a7e90dd87a284101cec373e49
MD5 aeb5bff30e3e1ec34ba1922d2606dbd9
BLAKE2b-256 185b81bebdf6345a44f62ee7e625e3086e8be0cfc80255b5682120e54ca2e393

See more details on using hashes here.

File details

Details for the file fwtv-2.4.1-py3-none-any.whl.

File metadata

  • Download URL: fwtv-2.4.1-py3-none-any.whl
  • Upload date:
  • Size: 24.2 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/6.1.0 CPython/3.12.9

File hashes

Hashes for fwtv-2.4.1-py3-none-any.whl
Algorithm Hash digest
SHA256 029e6cbbf9c3f49546038143c752f435215080cf3f630dc6a583f34deaf7d626
MD5 f1e953e457c69bebb32433cb21a1832a
BLAKE2b-256 54b0a099b18d929b679afe84bd1f74ea61e353abda73ffe114da0a96c5aff067

See more details on using hashes here.

Supported by

AWS Cloud computing and Security Sponsor Datadog Monitoring Depot Continuous Integration Fastly CDN Google Download Analytics Pingdom Monitoring Sentry Error logging StatusPage Status page