|
1 | | -# Python based Hotel Management System |
2 | | - This is a project made by me for service and room management in hotels. This is totally based on Python and SQL. I will try to add more functions to this later in the future |
| 1 | +# Hotel Management System |
3 | 2 |
|
4 | | -First we need to create database and tables for to store our data, that's why we have to run Creating Database(Room_Managmenent_System).py. This will create required database and tables on our database server. |
| 3 | +A simple Python-based Room Management System that uses **MySQL** for backend data storage. This system allows you to: |
5 | 4 |
|
6 | | -Then, we can run Main Program.py. It has many features which are required to manage a hotel. In future I will try to add some more feature. Till then, enjoy :) |
| 5 | +- Create and manage a hotel room database. |
| 6 | +- Add or delete tables and columns. |
| 7 | +- Check-in and check-out guests. |
| 8 | +- Manage guest details and billing. |
| 9 | +- Initialize discounts and services. |
| 10 | +- Add or delete individual table columns dynamically. |
7 | 11 |
|
8 | | -I have used these modules in these files, so kindly ensure that you have all of these modules installed in your PC: |
| 12 | +--- |
9 | 13 |
|
10 | | -mysqlconnector: Connects MySQL and Python and then we can use MySQL in python also. |
| 14 | +## Features |
11 | 15 |
|
12 | | -Module link: |
13 | | -```pip install mysql-connector-python``` |
| 16 | +- Create and drop the database `ROOM_MANAGEMENT_SYSTEM` |
| 17 | +- Create `CHECK_IN` and `CHECK_OUT` tables if they do not exist |
| 18 | +- Delete specific tables or the entire database |
| 19 | +- Add or delete columns dynamically from existing tables |
| 20 | +- Modular and OOP-based design |
14 | 21 |
|
15 | | -tabulate: This module helps to showcase results in tabular form in python: |
16 | | -Module link: |
17 | | -```pip install tabulate``` |
| 22 | +--- |
18 | 23 |
|
19 | | -For different types of table please refer this link: https://pypi.org/project/tabulate/#:~:text=M%20%2019%0A%2D%20%20%2D%20%20%2D%2D-,Table%20format,-There%20is%20more |
| 24 | +## Technologies Used |
| 25 | + |
| 26 | +- Python 3 |
| 27 | +- MySQL (via `mysql-connector-python`) |
| 28 | + |
| 29 | +--- |
| 30 | + |
| 31 | +## Setup Instructions |
| 32 | + |
| 33 | +### 1. Clone the repository |
| 34 | +```bash |
| 35 | +git clone https://github.com/your-username/room-management-system.git |
| 36 | +cd room-management-system |
0 commit comments