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.
- 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
- Python
- Streamlit
- Pandas
- FPDF
- CSV
pip install -r requirements.txt
streamlit run AI_Bot.py- Enter a Student ID and Name from
employee_data.csv. - Check the available leave balance.
- Enter the reason and number of leave days.
- The request is approved when enough leave is available.
- Approved requests update the CSV leave balance.
- A PDF summary can be downloaded.
Use any matching Student ID + Name combination from employee_data.csv.
For example:
- Student ID:
1011 - Name:
Anshul
- Python basics and functions
- Streamlit UI
- Pandas and CSV handling
- Conditions and calculations
- Input validation
- Session state
- PDF generation
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
