Thanks to visit codestin.com
Credit goes to www.scribd.com

0% found this document useful (0 votes)
9 views24 pages

Project Computer Science

The project on Supermarket Management aims to streamline the management of supermarket operations, including customer and product details, using Python and MySQL. It focuses on enhancing customer experience by providing unique IDs, maintaining stock details, and facilitating faster billing processes. The project is designed to be user-friendly and economically feasible, ensuring accessibility for users with basic computing devices.

Uploaded by

raagulsarvesh
Copyright
© © All Rights Reserved
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as PDF, TXT or read online on Scribd
0% found this document useful (0 votes)
9 views24 pages

Project Computer Science

The project on Supermarket Management aims to streamline the management of supermarket operations, including customer and product details, using Python and MySQL. It focuses on enhancing customer experience by providing unique IDs, maintaining stock details, and facilitating faster billing processes. The project is designed to be user-friendly and economically feasible, ensuring accessibility for users with basic computing devices.

Uploaded by

raagulsarvesh
Copyright
© © All Rights Reserved
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as PDF, TXT or read online on Scribd
You are on page 1/ 24

MAHARISHI VIDYA MANDIR

SENIOR SECONDARY SCHOOL

COMPUTER SCIENCE
PROJECT ACADEMIC YEAR: 2024– 2025

TOPIC: SUPER MARKET MANAGEMENT

PREPARED BY
NAME
: R.RAAGUL SARVESH
CLASS & SEC : XII A 2
INDEX

SNO TOPIC PG
NO .
1 Introduction 5
2 Objectives of the Project 6
3 Feasibility of Study 7
4 Tables used in SQL
8
5 Source Code 9
6 Output
21
7 Tools and Technologies Used 22
8 Conclusion
23
9 Bibliography 24

4
INTRODUCTION

The project on Supermarket Management give idea about the management in


supermarket . It shows the list of the item available in the supermarket. It gives the
details of the shop and gets the details of the customers.

The project has maintained information of the shop ,customer , Products and prices of
the products. The product lists are stored in database. I have used python software and
Mysql database to store information in my project. The main objective of the program
is to give information about supermarket management system.

5
OBJECTIVES OF THE PROJECT
➢ The following objectives are covered in this project:
➢ This project manages the time of the customer and the super market .
➢ This maintains the stock details .
➢ This makes the supermarket billing easier and faster .
➢ This shows the products that are in offers etc...
➢ Every customer gets their unique customer ID to access their records via
customer ID.

6
Feasibility of Study

There are three feasibility that we can consider during the making of this project
to really see it's working application on usage in our day to day life they are

Economic feasibility
The project to absolutely economical as it doesn't really require much of time
or cost on its usage. We have had almost concentration on the accessibility of
this project to people. As expert a projects with no accessibility or project with
no use
Thereby, we have made it possible that anyone with a base the device which can
install python could use this. Time of the people is really saved by using this
project

Technical feasibility
Our project must really be technical feasible to ensure that the project is
proceeding or not. Thereby on its terms the project does it really as it was taken
atmost care ensuring a platform which is both developable and technological.
Both the hardware and software or minimal.

Operational Functions
The project in your hands is completely use your friendly. Special case is taken
to enjoy that our software meets all the needs of a person to use this program
and make it possible for them to use

7
TABLES USED IN SQL

TABLE:PRODUCTS

SOURCE CODE

INPUT

#FUNCTION MAINTAINING SHOP DETAILS

def shpdet():

8
print("AMSU SUPERMARKET \n ALWAR THIRU NAGAR, \n landmark
opposite to AAVIN JUNCTION \n VIRUGAMBAKKAM, \n Chennai - 87 \n
contact no: 987654321/9988776655 \n ")

#FUNCTION FOR CUSTOMER DETAILS

def customer_details():
global name,customerid,phonenumber,address
name=input("Name of the Customer: ")
customerid=int(input("Customber id: "))
phonenumber=int(input("Customer phone number: "))
address=input("Address of the customer: ")
age=int(input("Age of the customer: "))
aadhar=input("aadhar number: ")
dob=input("Date of birth: ")

#FUNCTION SHOWING THE VARIETY OF PRODUCTS FROM


DATABASE ‘SUPER-MARKET’

def products():

9
drinks()
soap()
paste()
flour()
oil()
pulses()
biscuits()
offers()
dairy()
snacks()
chocolate()
cakes()
icecream()

#FUNCTIONS SHOWING PRODUCTS IN OFFER

def offers(): global c1 c1=150 print("ITEMS


UNDER OFFER ARE : ") pointer.execute('select
offered_items from products')
data=pointer.fetchall() for i in data: print(i[0])
a=int(input("item under offer required: "))

10
#FUNCTIONS SHOWING OIL AVAILABLE

def oil(): global c2 c2=200


print("OILS AVAILABLE")
pointer.execute('select oils from products')
data=pointer.fetchall() for i in data:
print(i[0]) b=int(input("oil requird: "))

#FUNCTIONS SHOWING BISCUITS IN STOCK

def biscuits(): global c3 c3=50


print("BISCUITS IN STOCK : ")
pointer.execute('select biscuits from products')
data=pointer.fetchall() for i in data:
print(i[0])
c=int(input("biscuit required: "))

#FUNCTIONS SHOWING DRINKS IN STOCK

def drinks(): global c4 c4=35


print("DRINKS AVAILABLE ARE :")
pointer.execute('select drinks from products')

11
data=pointer.fetchall() for i in data:
print(i[0]) d=int(input("drinks required: "))

#FUNCTIONS SHOWING SOAPS IN STOCK

def soap(): global c5 c5=35 print("SOAPS


AVAILABLES : ") pointer.execute('select
soap from products')
data=pointer.fetchall() for i in data:
print(i[0])
e=int(input("soap required: "))

#FUNCTIONS SHOWING PASTES IN STOCK

def paste(): global c6 c6=75 print("PASTE


AVAILABLE : ") pointer.execute('select
paste from products')
data=pointer.fetchall() for i in data:
print(i[0]) f=int(input("paste required: "))

#FUNCTIONS SHOWING PULSES IN STOCK

def pulses(): global c9 c9=250


print("PULSES AVAILABLE : ")

12
pointer.execute('select pulses from products')
data=pointer.fetchall() for i in data:
print(i[0])
i=int(input("pulses required: "))

#FUNCTIONS SHOWING DAIRY PRODUCTS IN STOCK

def dairy(): global c10 c10=80 print("DAIRY


PRODUCTS AVAILAVLE : ") pointer.execute('select
dairy_products from products')
data=pointer.fetchall() for i in data: print(i[0])
j=int(input("dairy product required: "))

#FUNCTIONS SHOWING SNACKS IN STOCK

def snacks(): global c11 c11=20


print("SNACKS AVAILABLE : ")
pointer.execute("select snacks from products")
data=pointer.fetchall() for i in data:
print(i[0])
k=int(input("snacks required: "))

13
#FUNCTIONS SHOWING CHIPS IN STOCK

def chips(): global c13 c13=20


print("CHIPS AVAILABLE : ")
pointer.execute('select chips from products')
data=pointer.fetchall() for i in data:
print(i[0])
m=int(input("Chips Required:"))

#FUNCTIONS SHOWING CHOCOLATE IN STOCK

def chocolate(): global c15 c15=20


print("CHOCOLATES AVAILABLE : ")
pointer.execute('select chocolates from products')
data=pointer.fetchall() for i in data:
print(i[0])
n=int(input("Chocolate required:"))

#FUNCTIONS SHOWING FLOURS IN STOCK

def flour(): global c16 c16=40


print("FLOUR AVAILABLE : ")

14
pointer.execute('select flours from products')
data=pointer.fetchall()
for i in data:
print(i[0])
o=int(input("Flour Required:"))

#FUNCTIONS SHOWING CAKES IN STOCK

def cakes(): global c17 c17=400


print("CAKES AVAILABLE : ")
pointer.execute('select cakes from products')
data=pointer.fetchall() for i in data:
print(i[0])
p=int(input("Cake required:"))

#FUNCTIONS SHOWING ICECREAMS IN STOCK

def icecream(): global c18 c18=150


print("ICE CREAMS AVAILABLE : ")
pointer.execute('select icecream from
products') data=pointer.fetchall()

15
for i in data: print(i[0])
q=int(input("Ice Cream Required :"))

def order():
ordernum=int(input("Order number:"))
productcode=input("Product code:")

#FUNCTION CONTAINING ORDER DETAILS

def orderdet(): global cha


sdnam=input("Receiver name:")
sndnum=int(input("Receiver phone number:"))
reqdat=input("required date:")
ordat=input("ordered date:")
cha=print("charge for delivery `50")
dev=input("delivery address: ")

#FUNCTION CONTAINING PAYEMENT DETAILS

def paymentdetails():
source=int(input("Source:\n1.cash on delivery\n2.Online payment:"))
if source==1:

16
tim=int(input("Enter the timing \n1.10am-1pm\n2.3pm-5pm\n3.5pm-
9pm:\n")) if
source==2:
banking=int(input("Enter the bank id:"))
banknam=input("Enter the name of the bank :")
actnam=input("Account name:")
actnum=input("Account number:")
ifsc=input("Enter the ifsc code:")

#FUNCTION GENERATING THE BILL

def bill():
print(name,phonenumber,address)
totalcost=c1+c2+c3+c4+c5+c6+c9+c10+c11+c15+c16+c17
print("Total cost of the order excluding delivery charge is :",totalcost)
print("THANK YOU FOR PURCHASING THE GOODS IN AMSU
SUPERMARKET \n WILL MEET NEXT TIME WITH ATTRACTING
OFFER
S AND DISCOUNTS ") print("For more details contact
9988776655/987654321 ") import pymysql as p

17
con=p.connect(host="localhost",user='root',password='12
345',database='SUP
ER_MARKET')

18
pointer=con.cursor

19
() shpdet()
customer_details()
products() order()
orderdet()
paymentdetails()
bill()
con.close()

20
OUTPUT

21
Tools and Technologies Used

Hardware Requirements

I.Operating System : Windows 7 and above

II.Processor : Any processor


III.RAM : 4 GB
IV Hard disk : 300 MB and above
V. Monitor
VI. Keyboard and Mouse

Software Requirements
I. Windows OS
II. Python Software
III. MySQL Software

|Page

22
Conclusion

The main objective of the project of supermarket management is to


manage details of customer, products, the product, supplier etc... It
tracks all the details about the product company, product type supplier
. This will provide the customer to view the products that are in stock
ie available, products which are in discounts and its range, you will
launched grocery items, attractive offers, top rating brands , items
under combo sale . The system provides any efficient way of managing
their supermarket stocks. Supermarket management saves the time
and be more productive. This can be used to search for all food items
which are available in the supermarket.

|Page

23
Bibliography

1. Sumita Arora
2. Computer Science with Python3.
https://www.programiz.com/

|Page

24

You might also like