Welcome to the Hotel Management System GitHub repository! This project provides a simple command-line interface for managing guest and employee details, along with visualizations of the data using Python's Pandas and Matplotlib libraries.
To run this project on your local machine, follow these steps:
-
Clone the repository to your local machine:
git clone https://github.com/your-username/hotel-management-system.git
-
Install the required dependencies using pip:
pip install pandas matplotlib colorama
-
Open a terminal or command prompt and navigate to the project directory:
cd hotel-management-system
-
Run the main script:
python main.py
-
Display Guest Details: View the list of all guests currently in the system.
-
Add Guest: Add a new guest to the system, providing their details such as ID, name, state, room number, and status.
-
Delete Guest: Remove a guest from the system by specifying their ID.
-
Update Guest Details: Modify guest details, including name, state, room number, and status.
-
Display Guest Distribution by State: Visualize the distribution of guests from different states using a pie chart.
-
Display Check-in vs Check-out Percentage: View the percentage of guests who have checked in versus checked out using a pie chart.
-
Display Employee Details: View the list of all employees currently in the system.
-
Add Employee: Add a new employee to the system, providing their ID, name, post, and salary.
-
Delete Employee: Remove an employee from the system by specifying their ID.
-
Update Employee Details: Modify employee details, including name, post, and salary.
-
Plot Employee Salaries: Visualize employee salaries using a line plot.
-
Plot Mean Employee Salaries: Display the mean salaries of employees by post using a bar chart.
Upon running the script, you will be presented with a menu to choose between managing guest details and employee details. Each section of the menu provides various sub-options to perform specific tasks. Simply follow the prompts and input your choices as instructed.
If you'd like to contribute to this project, feel free to fork the repository, make your changes, and submit a pull request. We welcome any improvements or additional features you'd like to add.