0% found this document useful (0 votes)
50 views16 pages

Bakery Management System Project Report

Uploaded by

Palak Sewani
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)
50 views16 pages

Bakery Management System Project Report

Uploaded by

Palak Sewani
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

VARDHMAN

International School
This is to certify that Palak Laxman Sewani of class XII of
Vardhman International has done his/her project on
Examination Module for School under my supervision. He/She
has taken interest and has shown at most sincerity in completion
of this project.

I certify this Project up to my expectation & as per guidelines


issued by CBSE, NEW DELHI.

Internal Examiner External Examiner

Principal
I would like to express my sincere gratitude to our Computer
Science teacher, Mr. Azad Bhagat Singh, for his guidance,
support, and encouragement throughout the completion of this
project. His explanations and classroom teaching have helped
me understand the concepts clearly and work on this project
with confidence.
I am also thankful to our Principal, Ms. Shruti Upadhyay, for
providing a supportive learning environment and the necessary
facilities to complete this project successfully.
Finally, I extend my thanks to my classmates for their
cooperation and helpful discussions during the project work.
TABLE OF CONTENTS

❖ Certificate
❖ Acknowledgement
❖ Introduction to Python
❖ Introduction to the Project
❖ System Requirements
❖ Backend Details
❖ Frontend Details
❖ Source Code
❖ Screenshots of Execution
❖ Bibliography
INTRODUCTION TO PYTHON

Python is an interpreted, object-oriented, high-level


programming language with dynamic semantics. Its
high-level built in data structures, combined with
dynamic typing and dynamic binding, make it very
attractive for Rapid Application Development, as
well as for use as a scripting or glue language to
connect existing components together. Python's
simple, easy to learn syntax emphasizes readability
and therefore reduces the cost of program
maintenance. Python supports modules and
packages, which encourages program modularity and
code reuse. The Python interpreter and the extensive
standard library are available in source or binary form
without charge for all major platforms, and can be
freely distributed.
History of Python:
Python is a widely used general-purpose, high-level
programming language. It was initially designed by
Guido van Rossum in 1991 and developed by
Python Software Foundation. It was mainly
developed for emphasis on code readability, and its
syntax allows programmers to express concepts in
fewer lines of code.
INTRODUCTION TO THE PROJECT
INTRODUCTION
“BAKERY MANAGEMENT SYSTEM”
This project helps bakery staff and customers keep
track of items, sales, and daily transactions in an
organized way. With digital management, all
information becomes quick to access and easy to
update. By automating the process of viewing items,
recording purchases, and generating bills, the bakery
can serve customers faster and reduce mistakes. The
system also allows the shop to view daily, monthly,
and yearly sales reports, making it easier to monitor
performance and manage inventory efficiently.
SYSTEM REQUIREMENTS

HARDWARE REQUIREMENT:
➢A standard desktop or laptop
➢2 GB RAM or higher
➢500 MB free storage
➢Keyboard & monitor

SOFTWARE REQUIREMENT:

➢ Windows 10 or higher
➢ Pandas, CSV (as backend)
➢ Python IDLE 3.6 or higher (as frontend).
➢ Microsoft Word 2010 or higher for
documentation.
BACKEND DETAILS
CSV File Name:
• [Link]
• [Link]
• last_purchase.csv
File Data :
• [Link] – This file stores the list of bakery
items and their prices. It contains two columns:
Item and Price.
• [Link]– This file keeps track of how many
units of each item have been sold. It contains
the columns Item and Quantity.
• last_purchase.csv – This file stores the most
recent customer purchase. It contains columns:
Item, Quantity, Price, and Total.
SOURCE CODE
• [Link]
import pandas as pd
import SALES_GRAPH as sg
import BUY_ITEMS as bit
import BILL as bl
while True:
print("-------- Welcome to Sweet Bakery Delight --------")
print("1. View Items")
print("2. Buy Items")
print("3. Show Bill")
print("4. Show sales graph")
print("5. Exit")

choice = input("Enter your choice (1-5): ")

if choice == '1':
x = pd.read_csv("[Link]")
print("Available Items:", x)

elif choice == '2':


bit.buy_items()

elif choice == '3':


[Link]()

elif choice == '4':


sg.show_sales_graph()

elif choice == '5':


print("Thank you for visiting! Goodbye.")
break

else:
print("Invalid choice! Enter 1-5 only.")
BUY_ITEMS.py
import pandas as pd

def buy_items():

items = pd.read_csv('[Link]')

sales = pd.read_csv('[Link]')

print("-------- Buy Items --------")

print(items)

item_index = int(input("Enter the item number you want to buy (0-4): "))

if 0 <= item_index < len(items):

item_name = [Link][item_index, 'Item']

price = [Link][item_index, 'Price']

quantity = int(input("Enter quantity of " + item_name + ": "))

total_cost = price * quantity

print("You bought", quantity, item_name)

print("Total cost =", total_cost)

[Link][sales['Item'] == item_name, 'Quantity'] += quantity

sales.to_csv('[Link]', index=False)

print("Thank you for shopping!")

purchase_data = [Link]({

"Item": [item_name],

"Quantity": [quantity],

"Price": [price],

"Total": [total_cost] })

purchase_data.to_csv("last_purchase.csv", index=False)

else:

print("Invalid item number. Please choose between 0 to 4.")


• [Link]
import pandas as pd

def bill():

data = pd.read_csv('last_purchase.csv') # just reads the file

print("\n-------- Customer Bill --------")

print("Item:", [Link][0, 'Item'])

print("Quantity:", [Link][0, 'Quantity'])

print("Price per item:", [Link][0, 'Price'])

print("Total Amount:", [Link][0, 'Total'])

print("Thank you for shopping!")

• SALES_GRAPH.py

import [Link] as plt

import pandas as pd

def show_sales_graph():

sales = pd.read_csv('[Link]')

[Link](sales['Item'], sales['Quantity'])

[Link]('Sales Report (Live Updated)')

[Link]('Items')

[Link]('Quantity Sold')

[Link](rotation=45)

plt.tight_layout()

[Link]()
SCREEN SHOTS OF EXECUTION

Main page Output

View Items Output


Buy Items Output

Show Bill Output


Show Sales Graph Output

Exit Output
BIBLIOGRAPHY

BOOKS:

✓ NCERT Informatics Practices


✓ Informatics Practices WITH PYTHON- BY
SUMITA ARORA
✓ PYTHON COOKBOOK

WEBSITES:
✓ [Link]
✓ [Link]

You might also like