Skip to content

This code can auto-fill your Cegeka CAMIS timesheets based on data provided from another, more usable, source

License

Notifications You must be signed in to change notification settings

arconautishche/cajuist

Repository files navigation

cajuist

as in "CAMISJUIST"

This code can auto-fill your Cegeka CAMIS timesheets based on data provided from another, more usable, source.

Currently available integrations:

  • Toggl
  • CSV-file

See more details on usage

How it works

You can use an existing script or write your own that will perform the simple 3 steps:

  1. Import registered tasks from a source (e.g. Toggl)
  2. Normalize the data - round to 15 min chunks, trim descriptions, etc
    • Model is where this happens
  3. Fill out CAMIS by interacting with its UI

How to use

  • Have Python 3.8+ installed
  • Clone this project locally
  • Switch to the .venv virtual environment. Run:
    > .venv/Scripts/Activate.ps1
  • Import the modules from requirements.txt. Run:
    > pip install -r requirements.txt
  • Create a file called .env and put your Cegeka AD login in there, like this:
    AD_LOGIN='firstname.lastname@cegeka.com'
    
  • Write your own script or use an existing one if it matches your needs

Working example

An example of such a script is toggl_to_camis.py, which performs those three steps for a specific case:

  1. Imports all entries from Toggl for today

  2. Trims workorders and task descriptions to what's typical at the Ventouris team (using Ventouris processor)

  3. Fills out CAMIS for today:

    • reuses lines completely matching Workorder + Activity + Description
    • adds new lines otherwise

    IT DOESN'T SAVE AUTOMATICALLY THOUGH (that's on purpose to let you review the entries before clicking Save)

About

This code can auto-fill your Cegeka CAMIS timesheets based on data provided from another, more usable, source

Topics

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages