Ecosyste.ms: Awesome

An open API service indexing awesome lists of open source software.

Awesome Lists | Featured Topics | Projects

https://github.com/mr-mudgal/time-card

This program is a concise, scalable solution tailored for shift analysis, ensuring efficient employee management at Bluejay Delivery.
https://github.com/mr-mudgal/time-card

excelreader interview interview-questions openpyxl pandas pandas-library python python3

Last synced: about 17 hours ago
JSON representation

This program is a concise, scalable solution tailored for shift analysis, ensuring efficient employee management at Bluejay Delivery.

Awesome Lists containing this project

README

        

# Time-Card
This is an assignment for the job position of Software Development at Bluejay Delivery.

Question: Write a program that:
1. Take the file as an input
2. Iterates over the records in the file and prints the name and position of employees:

- a. who has worked for 7 consecutive days.
- b. who have less than 10 hours of time between shifts but greater than 1 hour
- c. Who has worked for more than 14 hours in a single shift

Answer:
1. Download the zip file / clone repository.
2. Open terminal in the directory of the downloaded unzipped folder / cloned repository.
3. Execute the _main.py_ file by typing `python3 main.py` or other commands as per your system compatibility. {You can also run the file in any code editor / IDE}
5. Select any option according to the answer you want as per _a, b, c_ parts of the question.
6. That's it.

Excel Format:

Snapshot of the Terminal:
```
-------------------------------------------------------
1. Employees worked for 7 consecutive days
2. Employees with gap in range 1 to 10 between shifts
3. Employees worked more than 14 hours in single shift
Q. Exit
: 1
Name: Sparks, KeWWeMh | Position ID: WFS000101
Name: SiWgh, JaspreeM | Position ID: WFS000424
Name: CEreira Jr, JEse | Position ID: WFS000456
Name: GAeWdia, JAaW CarXEs | Position ID: WFS000473

-------------------------------------------------------
1. Employees worked for 7 consecutive days
2. Employees with gap in range 1 to 10 between shifts
3. Employees worked more than 14 hours in single shift
Q. Exit
: 2
Name: CaMaXaWE, CeghaW | Position ID: WFS000153
Name: Xee, XaCar | Position ID: WFS000200
Name: De Xa Cerda, IgWaciE | Position ID: WFS000318
Name: CEreira Jr, JEse | Position ID: WFS000456
Name: DeXgadiXXE REdarMe, ChrisMiaW S | Position ID: WFS000523
Name: REdrigAez, GraWdEW AWgeX | Position ID: WFS000550

-------------------------------------------------------
1. Employees worked for 7 consecutive days
2. Employees with gap in range 1 to 10 between shifts
3. Employees worked more than 14 hours in single shift
Q. Exit
: 3
Name: DeXgadiXXE REdarMe, ChrisMiaW S| Position ID: WFS000523

-------------------------------------------------------
1. Employees worked for 7 consecutive days
2. Employees with gap in range 1 to 10 between shifts
3. Employees worked more than 14 hours in single shift
Q. Exit
: Q
```

**Thank You**


_

developed by:

_
# [

Rishabh Mudgal

](https://github.com/mr-mudgal)