Work Logger

Last Commit Repo Size License

Python Faker Pandas SQL Matplotlib Microsoft Excel

This project automates the tracking of employee work hours. It replaces manual data entry with a robust Python-driven system that stores information in a relational database (SQL) and generates visual performance reports.


📸 Screenshots

Excel Worksheet Data Visualisation


🔎 The Data Pipeline (Step-by-Step)

Ingestion & Storage (sync_data.py)

Verification (check_db.py)

Visualization (generate_report.py)

Output:

Summary

Setup the Environment

# Activate venv (Windows)
.\venv\Scripts\activate

Install dependencies

pip install pandas sqlalchemy openpyxl matplotlib

Prepare the Data

Sync to Database

python sync_data.py

Verify (Optional)

python check_db.py

Generate the Visual Report

python generate_report.py

⚠️ Common Troubleshooting


📁 Project Structure

data_analysis/
├── venv/                           # Python Virtual Environment
├── models.py                       # Database architecture (The Blueprint)
├── sync_data.py                    # Excel-to-SQL bridge (The Worker)
├── generate_report.py              # Chart generator (The Visualizer)
├── check_db.py                     # Database inspector (The Auditor)
├── work_logger.db                  # The SQLite database file (Auto-generated)
└── Work_Logger_Frontend.xlsx       # The Excel entry sheet

🖥️ Tech Stack:


🛣️ Roadmap Features


📑 Notes

End-to-End ETL Pipeline: - Extracted data from Excel, - Transformed it using Python/Pandas, and - Loaded it into a Relational Database (SQL).

--