0% found this document useful (0 votes)
1 views

Kami Export - Sample Project Report

The document outlines a Computer Science project titled 'Shop Management' submitted by Arjun Ahlawat from Kendriya Vidyalaya NFC Vigyan Vihar for the academic year 2024-25. It details the project's purpose to automate shop operations, including inventory management, sales processing, and customer records, using Python and MySQL. The document includes acknowledgments, required hardware and software, source code, outputs, and references for further learning.

Uploaded by

Arjun Ahlawat
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)
1 views

Kami Export - Sample Project Report

The document outlines a Computer Science project titled 'Shop Management' submitted by Arjun Ahlawat from Kendriya Vidyalaya NFC Vigyan Vihar for the academic year 2024-25. It details the project's purpose to automate shop operations, including inventory management, sales processing, and customer records, using Python and MySQL. The document includes acknowledgments, required hardware and software, source code, outputs, and references for further learning.

Uploaded by

Arjun Ahlawat
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/ 18

PM SHRI KENDRIYA VIDYALAYA

NFC VIGYAN VIHAR DELHI

COMPUTER SCIENCE PROJECT


2024-25

PROJECT TOPIC:

SHOP MANAGEMENT
Submitted by:
Name:ARJUN AHLAWAT
Class: 12 A
UNDER THE GUIDANCE OF:
RANVIJAY SINGH, PGT (CS)
CERTIFICATE

This is to certify that __ARJUN AHLAWAT_____ of class: XII -


A of KENDRIYA VIDYALAYA NFC VIGYAN VIHAR has done his
project on SHOP MANAGEMENT under my supervision. He
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
ACKNOWLEDGMENT

It is with pleasure that I acknowledge my sincere gratitude to


our teacher, MR. RANVIJAY SINGH, PGT (CS) who taught and
undertook the responsibility of teaching the subject computer
science. I have greatly benefited from his classes.
I am especially indebted to our Principal DR. GAYA RAVIDAS
who has always been a source of encouragement and support
and without whose inspiration this project would not have been
a successful I would like to place on record heartfelt thanks to
him.

Finally, I would like to express my sincere appreciation for all


the other students in my batch, their friendship & the fine time
that we all shared together.
HARDWARES AND SOFTWARES
REQUIRED

HARDWARES
1. Desktop Computer / Laptop
2. Mobile Phone

SOFTWARES
1. Python (Latest Version)
2. MySQL
3. MySQL-Connector-Python,Requests,Wikipedia-
API, Datetime, Pyfiglet Modules
TABLE OF CONTENTS

S.No. Topic Page No.


1 Certificate
2 Acknowledgement
Hardwares and Softwares
3
Required
4 Introduction
5 Python Source Code
7 Outputs
8 References
INTRODUCTION

The "Shop Management System" project is a


comprehensive solution aimed at simplifying and
automating the day-to-day operations of a shop.
This system is designed to efficiently manage
inventory, sales, billing, and customer records,
reducing manual effort and minimizing errors in
operations. It provides a user-friendly interface to
ensure ease of use for shop owners and staff.
The system includes the following features:
● Real-time inventory management to track stock
levels.
● Sales processing and automated bill generation.
● Secure database to store customer and
transaction details.
● Reporting and analytics for better decision-
making.
This project is developed using [PYTHON] and follows
a modular approach to ensure flexibility and
scalability.
PYTHON SOURCE CODE

inventory = {}

def add_item():
item_name = input("Enter item name:
").strip()
if item_name in inventory:
print(f"{item_name} already exists.
Updating quantity.")
quantity = int(input(f"Enter quantity
to add for {item_name}: "))
inventory[item_name]['quantity'] +=
quantity
else:
price = float(input("Enter price for the
item: "))
quantity = int(input("Enter quantity:
"))
inventory[item_name] = {'price': price,
'quantity': quantity}
print(f"{item_name} added/updated
successfully.")

def view_inventory():
if not inventory:
print("Inventory is empty.")
return
print("\n--- Inventory ---")

print(f"{'Item':<15}{'Price':<10}{'Quantity
':<10}")
for item, details in inventory.items():

print(f"{item:<15}{details['price']:<10}{d
etails['quantity']:<10}")
print("-----------------\n")

def sell_item():
if not inventory:
print("Inventory is empty. Cannot sell
items.")
return
total_bill = 0
print("Enter 'done' when finished
selling.")
while True:
item_name = input("Enter item name
to sell: ").strip()
if item_name.lower() == 'done':
break
if item_name not in inventory:
print(f"{item_name} not found in
inventory.")
continue
quantity = int(input(f"Enter quantity
to sell for {item_name}: "))
if quantity >
inventory[item_name]['quantity']:
print(f"Not enough stock for
{item_name}. Available:
{inventory[item_name]['quantity']}")
continue
inventory[item_name]['quantity'] -=
quantity
total_cost = quantity *
inventory[item_name]['price']
total_bill += total_cost
print(f"Sold {quantity} of {item_name}
for ${total_cost:.2f}")
print(f"\nTotal Bill: ${total_bill:.2f}")

def main():
while True:
print("\n--- Shop Management System
---")
print("1. Add Item to Inventory")
print("2. View Inventory")
print("3. Sell Items")
print("4. Exit")
choice = input("Enter your choice (1-
4): ")
if choice == '1':
add_item()
elif choice == '2':
view_inventory()
elif choice == '3':
sell_item()
elif choice == '4':
print("Exiting... Thank you for using
Shop Management System!")
break
else:
print("Invalid choice. Please try
again.")

if __name__ == "__main__":
main()
OUTPUTS
--- Shop Management System ---
1. Add Item to Inventory
2. View Inventory
3. Sell Items
4. Exit
Enter your choice (1-4): 1
Enter item name: APPLE
Enter price for the item: 30
Enter quantity: 50
APPLE added/updated successfully.

--- Shop Management System ---


1. Add Item to Inventory
2. View Inventory
3. Sell Items
4. Exit
Enter your choice (1-4): 2

--- Inventory ---


Item Price Quantity
APPLE 30.0 50
-----------------
--- Shop Management System ---
1. Add Item to Inventory
2. View Inventory
3. Sell Items
4. Exit
Enter your choice (1-4): 3
Enter 'done' when finished selling.
Enter item name to sell: APPLE
Enter quantity to sell for APPLE: 20
Sold 20 of APPLE for $600.00
Enter item name to sell: APPLE
Enter quantity to sell for APPLE: 60
Not enough stock for APPLE. Available: 30
Enter item name to sell: 4
4 not found in inventory.
Enter item name to sell:
REFERENCES

Python Official Documentation


● Website: https://docs.python.org/
● Use this for understanding Python syntax, libraries, and best
practices.
W3Schools Python Tutorials
● Website: https://www.w3schools.com/python/
● Beginner-friendly tutorials to learn Python basics.
GeeksforGeeks Python Programming
● Website: https://www.geeksforgeeks.org/python-
programming-language/
● Offers tutorials and sample programs relevant to shop
management and other applications.
REFERENCES

You might also like

pFad - Phonifier reborn

Pfad - The Proxy pFad of © 2024 Garber Painting. All rights reserved.

Note: This service is not intended for secure transactions such as banking, social media, email, or purchasing. Use at your own risk. We assume no liability whatsoever for broken pages.


Alternative Proxies:

Alternative Proxy

pFad Proxy

pFad v3 Proxy

pFad v4 Proxy