The Tkinter Ticket Booking Application is a user-friendly software designed to facilitate the booking of tickets for various events. Built using Python's Tkinter library, it provides a graphical interface for users to view events, purchase tickets, and manage their bookings. The application utilizes SQLite for database management, ensuring that all booking information is stored securely and efficiently.
- Event Display: Users can view a list of upcoming events, including details such as:
- Event title
- Date and time
- Location
- Ticket price
- Available tickets
- Ticket Booking: Users can easily purchase tickets by filling out a booking form that includes:
- Full name
- Mobile number
- MPIN for verification
- Booking Management: Users can view their booked tickets, search for specific bookings, and delete unwanted tickets.
- Responsive Design: The application layout adapts to different screen sizes, providing an optimal user experience on various devices.
- Python 3.x: The programming language used to build the application.
- Tkinter: The standard GUI toolkit for Python, used to create the graphical interface.
- SQLite: A lightweight database engine used to store booking information.
- Pillow: A Python Imaging Library used for handling images in the application.
-
Clone the Repository:
git clone https://github.com/yourusername/samaaye-events.git cd samaaye-events
-
Install Required Packages: Ensure you have Python 3.x installed. You can install the required packages using pip:
pip install pillow
-
Run the Application: To start the application, execute the following command:
python main.py
-
Viewing Events:
- Upon launching the application, users will see a list of upcoming events displayed as cards.
- Each card contains essential information about the event, including the title, date, time, location, and ticket price.
-
Booking Tickets:
- Click the "Buy Tickets" button on the desired event card.
- Fill in the booking form with your details, including your full name, mobile number, and MPIN.
- Confirm your booking to complete the ticket purchase.
-
Managing Bookings:
- Navigate to the "Tickets" section to view all your bookings.
- Use the search functionality to find specific bookings by name, mobile number, or event title.
- Select a booking and click the "Delete" button to remove it from your list.
The application uses an SQLite database (samaaye_events.db
) to store all booking information. The database is created automatically when the application is run for the first time. It includes a bookings
table with the following fields:
- ID (Primary Key)
- Name
- Mobile Number
- Event Title
- Event Date
- Event Time
- Event Location
- Ticket Quantity
- Total Price
- Booking Date (Timestamp)
Contributions to the project are welcome! If you have suggestions for improvements or new features, please feel free to open an issue or submit a pull request.
- Fork the repository.
- Create a new branch (
git checkout -b feature-branch
). - Make your changes and commit them (
git commit -m 'Add new feature'
). - Push to the branch (
git push origin feature-branch
). - Open a pull request.
This project is licensed under the MIT License. See the LICENSE file for more details.
- Special thanks to the contributors and the open-source community for their support and resources.
- This project serves as an educational tool for learning about GUI development with Python and database management.
- Implement user authentication for a more personalized experience.
- Add payment gateway integration for online payments.
- Enhance the UI/UX for better user engagement.
- Include a feature for event organizers to add and manage events.
The Tkinter Ticket Booking Application is a comprehensive solution for managing event bookings. It combines a clean interface with robust functionality, making it an excellent choice for both users and event organizers.