This repository contains a Car Rental System developed in Python using Object-Oriented Programming (OOP) and PyQt6 for the graphical user interface (GUI).
The system simulates a real-world car rental service where users can interact through a desktop application to view available cars, rent vehicles, return them, and make payments.
The project was created as an academic exercise to understand GUI-based system design, class relationships, and practical implementation of OOP concepts.
- Graphical user interface using PyQt6
- View all available cars
- Rent a car through GUI
- Return a rented car
- Customer management
- Pre-defined rental packages
- One active rental per customer
- Late return fine calculation
- Simulated online payment system
- Billing and receipt generation
- Python 3
- PyQt6 (GUI Framework)
- Object-Oriented Programming (OOP)
- Basic file handling
The system is based on the following main components:
- Car – Represents a car with details like model, price, and availability.
- Customer – Stores customer information and rental history.
- RentalSystem – Manages rentals, returns, and business logic.
- PaymentSystem – Simulates online payment processing.
- GUI (PyQt6) – Handles all user interactions.
- Install PyQt6:
pip install pyqt6
2.git clone https://github.com/your-username/Car-Rental-System.git
3.cd Car-Rental-System
- python main.py