Skip to content

A program to automatically fill in work attendance 🤖

Notifications You must be signed in to change notification settings

gianlucalauro/Autofill-Presence

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

5 Commits
 
 
 
 
 
 
 
 

Repository files navigation

Autofill Presence

Setup

  1. cd into project directory
  2. install dependencies with: pip install -r requirements.txt
  3. insert your credentials in: credentials.json

Instructions

The first argument is an enum and it can be:

  • Presenza
  • Smart

Presenza

Invoke the script like this: python /path/to/autofill_presence.py "Presenza" "In sede" asa_1=6 asa_2=2

  • The second argument is an enum and it can be:

    • In sede
    • Fuori Sede
  • The third argument can have as many asa as you want with this pattern: asa_n=x

Smart

Invoke the script like this: python /path/to/autofill_presence.py "Smart" 8 0800

  • The second argument is used for smart working hours

  • The third argument is for the current datetime hours. The format in hours is, for example: 1030 (equals 10:30)

When you are sure that the script works correctly, you can also start a cronjob

About

A program to automatically fill in work attendance 🤖

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages