Grocery Management System PDF
Grocery Management System PDF
School,
Roop Nagar ,Delhi
A Project Report on
Grocery Management System
For
CBSE 2023-24 Examination
[As a part of the Computer science(083)]
SUBMITTED BY
(Comp.Sc.)
ACKNOWLEDGEMENT
I undertook this Project work, as the part of my
XIIComputer Science course. I had tried to apply my best
of knowledge and experience, gained during the study
and class work experience. However, developing software
system is generally a quite complex and time-consuming
process. It requires a systematic study, insight vision and
professional approach during the design and
development. Moreover, the developer always feels the
need, the help and good wishes of the people near you,
who have considerable experience and idea
_______________
Introduction
We all go shopping to buy products of our requirement. We all would have observed
that the shops are moving towards digital systems for bill computation. Shop
management is an application that helps in managing the products and keeping its
count in inventory, maintain shop customer details, worker details, tracking the sales
in the shop.
To produce a working software which can manage and run the activities done in a
grocery store.
To keep a count of products sold and count of products kept in inventory to restock
them.
To keep up with the pace of digitalization and bring about the best results with minimal
mistakes and greater efficiency, one has to upgrade to using data management system for
running one’s grocery store.
Many companies that have created the software have implemented them in the markets
which have received positive feedback and helped in improving the product further.
These have also benefited the organizations and shop owners who use them, making
their work easier and efficient. The software needs to be easy to operate and accessible
through just loading the program in their existing computers.
This lets the owner as well as the country take a step in the modern era of
digitalization and automation, making work fully automated and accessible by the
click of a button.
Manual calculations may lead to human error and result into loss.
System development work flow
The products that arrive at the store needs to be loaded into the system’s database.
The products will be entered after accounting for the taxes
applied on each, commission, shelf life and quantity.
After the data has been loaded into the database by the data entry operator, the
products will be stocked on shelf for the customers.
The system is able to enter and display one or all workers details, such as his
name, work, age, contact information. This makes it easy to access their details
and store the same.
The system keeps a track about the customer details about his name, purchase and
contact information.
After a customer has made a purchase, the system can take the input of their final
cost and store them.
It also displays the stock available in a pie chart format for easy analysis.
The manager can have quick access to all his worker, customer, product details…
in a click.
import mysql.connector as sql SOURCE CODE
print("Connected...")
c=conn.cursor()
def main():
print("Welcome Aryan")
an='y'
while an=='y' or an=='Y':
print('Grocery Shop')
print('1.customer details')
print('2.product details')
print('3.worker details')
print('4.see all customer details')
print('5.see all product details')
print('6.see all worker details')
print('7.see one customer details')
print('8.see one product details')
print('9.see one worker details')
print('10.pie chart for avalibility of stock')
choice=int(input('enter the choice: '))
if choice==1:
cust_namea=input('enter your name: ')
phone_noa=int(input('enter your phone number: '))
sql_insert="insert into customer_details values("+str(phone_noa)+",'"+
(cust_namea)+"'"+")"
c.execute(sql_insert)
conn.commit()
print('data is updated')
an=input("Do you want to make another choice(y/n): ")
elif choice==2:
product_name=input('enter product name: ')
sql_insert="insert into product_details values("+"'"+(product_name)
+"',"+str(product_cost)+")"
c.execute(sql_insert)
conn.commit()
print('data is updated')
an=input("Do you want to make another choice(y/n): ")
elif choice==3:
worker_name=input('enter worker name: ')
worker_work=input('enter worker work: ')
worker_age=int(input('enter worker age: '))
worker_salary=float(input('enter worker salary: '))
an=input("Do you want to make another choice(y/n): ")
elif choice==9:
a=input('enter worker name: ')
t='select*from worker_details where worker_name=("{}")'.format(a)
c.execute(t)
v=c.fetchall()
for i in v:
print (v)
an=input("Do you want to make another choice(y/n): ")
elif choice==10:
import matplotlib.pyplot as plt
items=('shoes', 'stationary', 'watch', 'house_use' , 'food items')
availability=[156,200,103,206,196]
colors=['red', 'yellow_green', 'blue', 'gold', 'light_coral']
plt.pie(availability, labels=items, colors=colors)
plt.title('availability of items in shop')
plt.show()
an=input("Do you want to make another choice(y/n): ")
else:
exit()
if ans==1:
login()
elif ans==2:
exit()
Aryan
aryansagar
BIBLIOGRAPHY