Courier Management System Python – In this article let’s see how implement courier tracking & management project using Django framework. These days courier sector growing fast because all are buys products via online shopping stores. So we need the help from courier offices to deliver a goods.
For example Delhivery is one of the best courier pickup delivery sipping services around India. They are manage all the customers via Tracking number and the shipment completed by their end. It’s execute on supply chain category.
Major Ecommerce sites are depend on courier service providers such as Ekart Logistics, Ecom, DHL, DTDC Blue Dart etc. So without this no companies are able to operate and sell their products. Therefore courier system undertaking biggest places on business.
Courier Management Python
Okay now we start tour projects step by step with proper guidelines. Then only you got clear idea for how it was executed. In this project totally three modules, one for admin, another one is delivery person then finally customers.
- Admin (Manage all orders)
- Manager (Assign delivery area for delivery boys)
- Delivery boys (Scan QR code for particular products only)
- Customer – To checkout the address & orders from admin end.
How it’s working ?
Just assume one of the customer place order from Amazon sites. The next step is Amazon send the notification for seller who upload that products. After that the seller collect full information such as customer order, address, payment mode etc.
Next process is seller pack the product and gives from nearest or favorite courier partner. Finally courier officers are deliver the products & collect payment from customers. If all orders processing is completed, then they are need to send payments for amazon.
Amazon start to review the orders & once it’s completed then proceed the payment section with proper commission. It’s like chain process, without partnership do not complete the customer orders.
Once check the output file & if it’s okay then proceed with next section for download source code. Because we don’t like to waste our readers times. However we have lot of project with free source code
Her adding the login code for just the clarification. For the source code available on end of the article. I am using MySQL database for accessing data from client side.
import mysql.connector as myq def check_login(id, pw): mydb = myq.connect( host="localhost", user="root", password="root" ) mycur = mydb.cursor() mycur.execute("USE COURIER") arg = tuple([id]) mycur.callproc('disp_det', arg) for result in mycur.stored_results(): res = result.fetchall() if len(res) != 0: for row in res: ret_pw = row ret_name = row mycur.close() mydb.close() if str(ret_pw) == str(pw): return ret_name return "ERROR" def check_login_emp(id, pw): mydb = myq.connect( host="localhost", user="root", password="root" ) mycur = mydb.cursor() mycur.execute("USE COURIER") arg = tuple([id]) mycur.callproc('disp_emp', arg) for result in mycur.stored_results(): res = result.fetchall() if len(res) != 0: for row in res: ret_pw = row ret_name = row mycur.close() mydb.close() if str(ret_pw) == str(pw): return ret_name return "ERROR"
Above information helps to build the courier management system python project. I hope it’s now showing any issues, if raised just comment below I will fix within a hour. Mostly our source code executed fine without showing errors. Because we have 5 plus years experience on software industries.