Bus Ticket Booking System
The Bus Ticket Booking System is a Python application built with Tkinter for the graphical user interface (GUI) and SQL for the database. It allows users to book bus tickets, view available seats, and manage bookings efficiently.
Features
- User Authentication: Secure login system to ensure only authorized users can access the system.
- Bus Ticket Booking: Users can search for available buses, select seats, and book tickets.
- Seat Reservation: View seat availability in real-time and reserve seats for upcoming trips.
- Booking Management: Admin interface to manage bookings, including viewing, updating, and canceling reservations.
- Database Integration: Utilizes SQL database to store and manage bus schedules, seat availability, and user bookings.
Installation
-
Clone the repository:
https://github.com/AyanSrivastava11/python_Project--Bus-Booking.git
-
Install the required dependencies:
pip install -r requirements.txt
-
Set up the SQL database by running the provided SQL script (database_setup.sql
) in your preferred SQL database management system.
-
Update the database connection details in the Python code to match your database configuration.
-
Run the Python application:
Usage
- Launch the application and log in with your credentials.
- Navigate through the interface to book tickets, view available buses, and manage bookings.
- Administrators can access additional features for managing bus schedules, seat availability, and bookings.
Contributing
Contributions to the Bus Ticket Booking System project are welcome! If you would like to contribute, follow these steps:
- Fork the repository.
- Create a new branch for your feature or addition:
git checkout -b feature-name
.
- Add your changes or new features.
- Commit your changes:
git commit -m 'Add new feature'
.
- Push to your forked repository:
git push origin feature-name
.
- Submit a pull request detailing your changes.
Please ensure that your contributions adhere to the project’s coding style and standards.