GitHub - anshull-rajput/Leave-Management-System: An AI-powered Leave Management Web Application built using Python, Streamlit, and Pandas. · GitHub
Skip to content

About

An AI-powered Leave Management Web Application built using Python, Streamlit, and Pandas.

Topics

Resources

Stars

7 stars

Watchers

0 watching

Forks

Latest commit

 

History

40 Commits

Folders and files

Repository files navigation

📋 Leave Management System

A beginner-friendly Streamlit application for checking leave balance, applying for leave, and generating a leave summary PDF.

The repository keeps its original name, but the current application is a simple Leave Management System. It does not use an AI/ML model.

Features

  • Simple Student ID + Name login
  • View total, used, and available leaves
  • Apply for leave with a reason
  • Automatic approval based on available leave balance
  • Validation for invalid requests
  • Generate a downloadable PDF summary
  • CSV-based data storage

Tech Stack

  • Python
  • Streamlit
  • Pandas
  • FPDF
  • CSV

Run Locally

pip install -r requirements.txt
streamlit run AI_Bot.py

How It Works

  1. Enter a Student ID and Name from employee_data.csv.
  2. Check the available leave balance.
  3. Enter the reason and number of leave days.
  4. The request is approved when enough leave is available.
  5. Approved requests update the CSV leave balance.
  6. A PDF summary can be downloaded.

Demo Login

Use any matching Student ID + Name combination from employee_data.csv.

For example:

  • Student ID: 1011
  • Name: Anshul

Concepts Practiced

  • Python basics and functions
  • Streamlit UI
  • Pandas and CSV handling
  • Conditions and calculations
  • Input validation
  • Session state
  • PDF generation

Note

This is an educational project using CSV for simple local/demo data storage. It is not intended to be a production employee management system.

Author: Anshul Rajput

About

An AI-powered Leave Management Web Application built using Python, Streamlit, and Pandas.

Topics

Resources

Stars

7 stars

Watchers

0 watching

Forks

Releases

Packages

Contributors

Languages