A comprehensive hotel management system built with Python, featuring:
- User Roles: Staff, Manager, Admin
- Reservation Management: Add, edit, delete, and search reservations
- Inventory Management: Manage items and view item lists
- User Management: View and manage users (admin/manager)
- Discounts: Apply and manage discount codes
- Database Integration: Uses SQL Server (configurable via
config.ini) - Security: Admin panel with password and user restrictions
- Configurable Settings: Hotel name, tax rate, lockout policy, and more via
config.ini - Valet System: Valet system to track cars in your parking lot
- Python 3.8+
- pyodbc
- SQL Server (or compatible database)
- ODBC Driver 17 for SQL Server
-
Clone the repository:
git clone https://github.com/zzz-creator/Hotel-Managment.git cd Hotel-Managment -
Install dependencies:
pip install -r requirements.txt
-
Configure the database:
- Edit
config.iniwith your database credentials and hotel settings.
- Edit
-
Set up the database schema:
- Run the provided SQL scripts to create necessary tables (Users, Reservations, Discounts, etc.).
python main.pyEdit config.ini to set:
- Database connection (
server,database,username,password) - Hotel name, tax rate, lockout policy, etc.
**Developed by zzz-creator