Skip to content

mbilal234/TrainTicketingSystem

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.

About

A Train Ticketing System built on Python

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Contributors 4

  •  
  •  
  •  
  •