- Introduction
- Features
- Prerequisites
- Getting Started
- How to Use
- Database Configuration
- Dependencies
- Contributing
- License
The Courier Tracking System is a Python application that uses the Tkinter library for creating a graphical user interface (GUI) to interact with a MySQL database. This system allows users to track courier deliveries, cancel deliveries, update delivery addresses, and register new users.
- Fetch courier information by providing a delivery ID and password.
- Cancel deliveries, removing associated records from the database.
- Update delivery addresses for existing deliveries.
- Register new users, storing their information in the database.
- Display retrieved courier information in a user-friendly interface.
Before you begin, ensure you have met the following requirements:
- Python 3.x installed on your system.
- Tkinter library for the GUI interface.
- mysql-connector-python library for connecting to the MySQL database.
- PIL (Python Imaging Library) for handling images (you can install it using
pip install pillow
).
- Clone this repository to your local machine using
git clone
.
- Navigate to the project directory.
- Run the Python script
courier_tracking.py
using your preferred Python interpreter.
- Enter the delivery ID and password in the respective entry fields.
- Click the "FETCH" button to retrieve courier information.
- Enter the delivery ID and password in the respective entry fields.
- Click the "CANCEL" button to cancel the delivery and remove associated records from the database.
- Enter the delivery ID, password, and the updated delivery address in the respective entry fields.
- Click the "UPDATE ADDRESS" button to update the delivery address in the database.
- Enter user information, including name, username, password, user ID, and address in the respective entry fields.
- Click the "Create" button to register the new user and store their information in the database.
Ensure that you have a MySQL database named "courier_tracking" set up on your local system. The code assumes a specific database schema, so you may need to configure the database accordingly.
- tkinter
- mysql-connector-python
- pillow (PIL)
You can install these dependencies using pip
if they are not already installed.
Contributions are welcome! If you'd like to contribute to this project, please follow these steps:
- Fork the repository.
- Create a new branch.
- Make your contributions.
- Create a pull request.
Feel free to customize this README file to include additional information about your project or any specific instructions for your users. Providing clear and comprehensive documentation will help others understand and use your project effectively.