Skip to content

mbilal234/TrainTicketingSystem

Folders and files

NameName
Last commit message
Last commit date

Latest commit

8937c8d · Dec 28, 2023
Oct 13, 2023
Sep 25, 2023
Dec 27, 2023
Sep 23, 2023
Dec 18, 2023
Sep 25, 2023
Sep 24, 2023
Oct 12, 2023
Sep 25, 2023
Dec 7, 2023

Repository files navigation

Train Reservation System

This is a Train Reservation System built with PyQt5 for Python. It allows users to book train tickets, view reservations, update bookings, and cancel reservations. The system handles both economy and business class bookings.

Features

  • User-friendly Interface: The application features a user-friendly graphical interface built using PyQt5.
  • Booking: Users can book train tickets by providing their name, CNIC, date of birth, departure, destination, date, type (economy or business), and other details.
  • Seat Selection: The system suggests available train times and seat/berth options based on user preferences.
  • Fare Calculation: Fare costs are calculated based on the type of booking, number of seats, and other factors.
  • View Reservations: Users can view their reservations by entering their name and CNIC.
  • Cancellation: Users can cancel their bookings, and refunds are processed accordingly.

How to Use

  1. Clone this repository to your local machine.
  2. Make sure you have Python and PyQt5 installed.
  3. Run the following command to start the application:
  4. Use the tabs to navigate through booking, viewing, updating, and canceling reservations.

Dependencies

  • Python 3.x
  • PyQt5

Authors

  • M. Ashhub Ali
  • M. Bilal
  • Abdul Arham

License

This project is licensed under the MIT License. See the LICENSE file for details.