A command-line Hotel Management System built with Python and MySQL.
This system automates customer management, room booking, billing, and service tracking โ streamlining hotel operations and ensuring accurate record-keeping.
- ๐ค Customer Management: Add, view, search, update, and delete customer records.
- ๐ Room Booking: Assign random room numbers, calculate rent by type & stay duration.
- ๐ฐ Billing System: Auto-calculate charges for:
- Room
- Restaurant services
- Laundry services
- Game activities
- ๐๏ธ Data Persistence: All data stored in MySQL for reliability.
- ๐ป User-Friendly CLI: Interactive menu-driven system.
- Language: Python 3.x
- Database: MySQL
- Libraries:
mysql-connector-python - Concepts: OOPs, CRUD Operations
- Install Python 3.x โ Download here
- Install MySQL Server โ Download here
- Install MySQL Connector:
pip install mysql-connector-python
2๏ธโฃ Database Setup
Run the setup script (update password inside first):
python database_setup.py
It will: โ๏ธ Create database HOTEL_MANAGEMENT โ๏ธ Create tables: hoteldata, customer, room โ๏ธ Insert sample data
3๏ธโฃ Run Application
Update your MySQL credentials in hotel_management.py and then run:
python hotel_management.py
๐ฎ Usage
When you start the app, youโll see:
1. Speciality of your Hotel
2. Customer Management
3. Booking for Private Party
4. EXIT
๐จ Speciality of your Hotel โ Hotel details, services & facilities
๐ค Customer Management โ Manage bookings & customer records (CRUD)
๐ Booking for Private Party โ (Future feature / placeholder)
โ EXIT โ Exit program
๐ Project Structure . โโโ hotel_management.py # Main application โโโ database_setup.py # DB initialization script โโโ README.md # Project documentation โโโ .gitignore
Want to make it better? Fork the repo, open an issue, or submit a PR ๐
๐ License
Licensed under the MIT License. Feel free to use and modify.
๐จโ๐ป Developed by Sumit Chaudhary
โจ Changes I made:
- Added icons (๐ค ๐จ ๐ฐ ๐ etc.) for quick readability.
- Broke long paragraphs into lists and sections.
- Made setup & usage step-by-step.
- Screenshots have clear section titles.
- Added attractive project structure block.
Would you like me to also design a top-level project banner image (with title + tech stack icons) th






