inventory_managment_system_project-report-free
inventory_managment_system_project-report-free
INVENTORY
MANAGEMENT
SYSTEM
PYTHON – MYSQL PROJECT
INVENTORY MANAGEMENT SYSTEM PYTHON – MYSQL
PROJECTT is specially designed for the students who are
preparing for Computer Science XII, Informatics
Practices XII, BCA, BSc (CS), BSc (IT), and PGDCA. It
contains different modules to manage Books, Members,
Book Issue, Book Return and many Search options. This
project also has provision of Chart for Data Visualization.
Website : www.techtipnow.in
YouTube : www.youtube.com/c/techtipnow
Email : techtipnow@gmail.com
support@techtipnow.in
telegram : https://t.me/CBSE_IP_Class_12
https://t.me/CBSE_Computer_Science
SANJAY KUMAR
TECHTIPNOW COMPUTER EDUCATION AND PROGRAMMING
1/1/2025
Website: www.techtipnow.in
YouTube: www.youtube.com/c/techtipnow
https://imojo.in/9tNxD4
AISSCE <YEAR>
<SUBJECT NAME (CODE) – CLASS>
PROJECT REPORT
INVENTORY MANAGEMENT
SYSTEM
2
Website: www.techtipnow.in
YouTube: www.youtube.com/c/techtipnow
DECLARATION
I <YOUR NAME>, bearing roll no <YOUR RNO>, a student of <YOUR CLASS>, <YOUR SCHOOL
NAME> hereby declare that I own the full responsibility for the information, results etc.
provided in this PROJECT titled “Inventory Management System”. It has been developed
successfully by using the Data Handling concepts like data management, data visualization
etc. provided in the programming language Python at The <YOUR SCHOOL NAME> in
complete fulfillment of project (curriculum of <YOUR BOARD NAME> of <YOUR SUBJECT
NAME WITH CODE> conducted by <YOUR BORD NAME WITH ADDRESS> for the academic
session <YOUR YEAR>.
I also declare that this project work has neither been submitted to any other board nor
published at any time by me in the past.
<YOUR NAME>
Roll No: <YOUR RNO>
<YOUR CLASS>
<YOUR SCHOOL NAME>
3
Website: www.techtipnow.in
YouTube: www.youtube.com/c/techtipnow
CERTIFICATE
This is to certify that the Informatics Practices project on Inventory Management System has
been successfully completed by <YOUR NAME> of <YOUR CLASS>, <YOUR SCHOOL NAME>
for consideration in partial fulfillment of curriculum of <YOUR BORD NAME> of <YOUR
SUBJECT NAME WITH CODE> for the award of <YOUR EXAM NAME like AISSE> Practical
Examination <YOUR YEAR>.
I certify that this project is up to my expectation and as per the guidelines issued by the CBSE.
___________________
(External Examiner)
___________________ ___________________
4
Website: www.techtipnow.in
YouTube: www.youtube.com/c/techtipnow
ACKNOWLEDGEMENT
I take this opportunity to express my deep sense of gratitude to all those who have
been instrumental in preparation of this project.
I am also sincerely grateful to <YOUR TEACHER’S NAME WITH HIS/HER POST AAND
SUBJECT>, <YOUR SCHOOL’S NAME> for his encouragement and valuable guidance during
the entire period of work.
I would also thank all of my parents and friends for their whole hearted support and
encouragement without with this project would not have been successful.
I could not forget Internet, Textbooks which provided me with sufficient matter for
reference.
5
Website: www.techtipnow.in
YouTube: www.youtube.com/c/techtipnow
DATABASE DESIGN-
Item
INAME VARCHAR
PRATE FLOAT
SRATE FLOAT
QOH INT
CUSTOMER
CADD VARCHAR
MOBILE CHAR(10)
SUPPLIER
SADD VARCHAR
Download Complete Project @159rs
and get:
MOBILE CHAR(10) • Inventory Management System Python MySQL
Project
• Inventory Management System Python Source
SMASTER code
• Inventory Management System MySQL Code
SALEID INT (PRIMARY KEY) • Inventory Management System Project Report
File
SDATE DATE • README File (Guide to run project and use
project file)
SID INT (FOREIGN KEY) Click Here to purchase:
TOTAL FLOAT
https://imojo.in/1ZAk0FY
6
Website: www.techtipnow.in
YouTube: www.youtube.com/c/techtipnow
SDETAILS
QTY INT
RATE FLOAT
TOTAL FLOAT
PMASTER
TOTAL FLOAT
PDETAILS
QTY INT
RATE FLOAT
TOTAL FLOAT
Download Complete Project @159rs
and get:
• Inventory Management System Python MySQL
Project
CODE- • Inventory Management System Python Source
code
• Inventory Management System MySQL Code
‘MAIN’ MODULE- • Inventory Management System Project Report
File
• README File (Guide to run project and use
import item
project file)
import customer Click Here to purchase:
import supplier
https://imojo.in/1ZAk0FY
import transaction
import report
import os
7
Website: www.techtipnow.in
YouTube: www.youtube.com/c/techtipnow
while(True):
os.system('cls')
print("="*80)
print("-"*80)
print("\n\t\t\tInventory Management System\n")
print("-"*80)
print("="*80)
print("\n\t\t\t\tEnter your choice\n\t\t\t\t1.Items\n\t\t\t\
\t2.Customers\n\t\t\t\t3.Suppliers\
\n\t\t\t\t4.Transaction\n\t\t\t\t5.Report\n\t\t\t\t6.Exit")
ch=int(input())
if ch==1:
while(True):
print("---------------\nEnter your choice\n--------------\
\n\t\t\t\t1.Add Item\n\t\t\t\t2.Edit Item\n\t\t\t\t3.Fix Rate\
\n\t\t\t\t4.Search Item\n\t\t\t\t5.Delete Item\n\t\t\t\t6.Exit")
ch=int(input())
if ch==1:
item.add_item()
elif ch==2: Download Complete Project @159rs
item.edit_item() and get:
elif ch==3: 1. Inventory Management System Python MySQL
item.fix_rate() Project
elif ch==4: 2. Inventory Management System Python Source
code
item.search_item() 3. Inventory Management System MySQL Code
elif ch==5: 4. Inventory Management System Project Report
item.delete_item() File
elif ch==6: 5. README File (Guide to run project and use
project file)
break
Click Here to purchase:
elif ch==2:
https://imojo.in/1ZAk0FY
while(True):
print("\n---------------\nEnter your choice\n--------------\
\n\t\t\t\t1.Add customers\n\t\t\t\t2.Edit Customers\
\n\t\t\t\t3.Search Customers\n\t\t\t\t4.Delete Customers\n\t\t\t\t5.exit")
ch=int(input())
if ch==1:
customer.add_customer()
elif ch==2:
customer.edit_customer()
elif ch==3:
customer.search_customer()
elif ch==4:
customer.delete_customer()
elif ch==5:
8
Website: www.techtipnow.in
YouTube: www.youtube.com/c/techtipnow
break
elif ch==3:
while(True):
print("\n---------------\nEnter your choice\n--------------\
\n\t\t\t\t1.Add Suppliers\n\t\t\t\t2.Edit Suppliers\
\n\t\t\t\t3.Search Suppliers\n\t\t\t\t4.Delete Suppliers\n\t\t\t\t5.exit")
ch=int(input())
if ch==1:
supplier.add_supplier()
elif ch==2:
supplier.edit_supplier()
elif ch==3: Download Complete Project @159rs and get:
supplier.search_supplier() • Inventory Management System Python MySQL Project
elif ch==4: • Inventory Management System Python Source code
• Inventory Management System MySQL Code
supplier.delete_supplier()
• Inventory Management System Project Report File
elif ch==5: • README File (Guide to run project and use project file)
break Click Here to purchase:
elif ch==4: https://imojo.in/1ZAk0FY
while(True):
print("\n---------------\nEnter your choice\n--------------\
\n\t\t\t\t1.Sale\n\t\t\t\t2.Purchase\n\t\t\t\t3.exit")
ch=int(input())
if ch==1:
transaction.sale()
elif ch==2:
transaction.purchase()
elif ch==3:
break
elif ch==5:
while(True):
print("\n---------------\nEnter your choice\n--------------\
\n\t\t\t\t1.Item Details\n\t\t\t\t2.Customer Details\
\n\t\t\t\t3.Supplier Details\n\t\t\t\t4.Sale Details\n\
\t\t\t5.Purchase Details\n\t\t\t\t6.Best Selling Product(Plot)\
\n\t\t\t\t7.Sale Performance(Plot)\n\t\t\t\t8.exit")
ch=int(input())
if ch==1:
report.show_item()
elif ch==2:
report.show_customer()
elif ch==3:
report.show_supplier()
elif ch==4:
9
Website: www.techtipnow.in
YouTube: www.youtube.com/c/techtipnow
report.show_sale()
elif ch==5:
report.show_purchase()
elif ch==6:
report.best_product()
elif ch==7:
report.sale_performance()
elif ch==8:
break Download Complete Project @159rs and get:
elif ch==6: • Inventory Management System Python MySQL Project
break • Inventory Management System Python Source code
• Inventory Management System MySQL Code
‘ITEM’ MODULE- • Inventory Management System Project Report File
• README File (Guide to run project and use project file)
Click Here to purchase:
import pandas as pd
https://imojo.in/1ZAk0FY
from tabulate import tabulate
import mysql.connector as sqlt
import matplotlib.pyplot as plt
con=sqlt.connect(host = "localhost", user = "root", passwd="sanjay", database = "inventory")
cursor=con.cursor()
def add_item():
try:
ino = int(input("Enter Item No"))
iname = input("Enter Iname")
prate=float(input("Enter Purchase Rate"))
srate=float(input("enter Sale Rate"))
qoh=int(input("Enter Qty On Hand"))
q="insert into item values({},'{}',{},{},{});".format(ino,iname,prate,srate,qoh)
cursor.execute(q)
con.commit()
print("Item Added")
except:
print("Wrong Entry..Please check")
def edit_item():
try:
ino=int(input("Enter Item No"))
q="select * from item where ino = {};".format(ino)
cursor.execute(q)
if cursor.fetchone():
iname=input("Enter Item Name")
cursor.execute("update item set iname = '{}' where ino={};".format(iname,ino))
con.commit()
print("item Edited")
10
Website: www.techtipnow.in
YouTube: www.youtube.com/c/techtipnow
else:
print("Item Not Found")
except:
print("Wrong Entry")
def fix_rate():
ino=int(input("Enter Item No"))
q="select * from item where ino = {};".format(ino)
cursor.execute(q)
if cursor.fetchone():
prate=int(input("enter new purchase rate"))
srate=int(input("Enter new Sale rate"))
cursor.execute("update item set prate={},srate={} where ino={};".format(prate,srate,ino))
con.commit()
print("New rate applied")
else:
print("Item Not Found")
def search_item():
ino=int(input("Enter Item No"))
q="select * from item where ino = {};".format(ino)
cursor.execute(q)
if cursor.fetchone():
df=pd.read_sql(q,con)
print(tabulate(df,headers="keys", tablefmt = "psql", showindex = False))
else:
print("Item Not Found")
def delete_item():
ino=int(input("Enter Item No"))
q="select * from item where ino = {};".format(ino)
cursor.execute(q)
if cursor.fetchone():
cursor.execute("delete from item where ino={};".format(ino))
con.commit()
print("item deleted")
else:
print("Item Not Found")
11
Website: www.techtipnow.in
YouTube: www.youtube.com/c/techtipnow
https://imojo.in/9tNxD4
‘SUPPLIER’ MODULE-
import pandas as pd
from tabulate import tabulate
import mysql.connector as sqlt
import matplotlib.pyplot as plt
con=sqlt.connect(host = "localhost", user = "root",
passwd="sanjay", database = "inventory")
cursor=con.cursor()
def add_supplier():
sid = int(input("Enter Supplier ID"))
sname = input("Enter Supplier Name")
sadd=input("Enter Address")
mobile=input("Enter Mobile")
q="insert into supplier values({},'{}','{}','{}');".format(sid,sname,sadd,mobile)
cursor.execute(q)
con.commit()
print("Supplier Added")
def edit_supplier():
sid=int(input("Enter Supplier ID"))
q="select * from Supplier where sid = {};".format(sid)
cursor.execute(q)
if cursor.fetchone():
sadd=input("Enter Supplier Address")
cursor.execute("update Supplier set sadd = '{}' where sid={};".format(sadd,sid))
con.commit()
print("Supplier Edited")
else:
print("Supplier Not Found")
def search_supplier():
sid=int(input("Enter Supplier ID"))
q="select * from Supplier where sid = {};".format(sid)
cursor.execute(q)
if cursor.fetchone():
df=pd.read_sql(q,con)
print(tabulate(df,headers="keys", tablefmt = "psql", showindex = False))
else:
print("Supplier Not Found")
def delete_supplier():
sid=int(input("Enter Supplier ID"))
q="select * from Supplier where sid = {};".format(sid)
cursor.execute(q)
if cursor.fetchone():
13
Website: www.techtipnow.in
YouTube: www.youtube.com/c/techtipnow
14
Website: www.techtipnow.in
YouTube: www.youtube.com/c/techtipnow
‘TRANSACTION’ MODULE-
import pandas as pd
from tabulate import tabulate
import mysql.connector as sqlt
import matplotlib.pyplot as plt
con=sqlt.connect(host = "localhost", user = "root",
passwd="sanjay", database = "inventory")
cursor=con.cursor()
def purchase():
pid=0
total=0
grand=0
l=[]
ch='y'
q="select max(pid) as largest from pmaster"
cursor.execute(q)
r=cursor.fetchone()[0]
if r:
pid=r+1
else:
pid=1
pdate=input("Enter Purchase date")
sid = int(input("Enter Supplier ID"))
cursor.execute("select * from supplier where sid={};".format(sid))
if cursor.fetchone():
print("Item Details")
df=pd.read_sql("select * from item",con)
print(tabulate(df,headers='keys',tablefmt='psql',showindex=False))
while(ch=='y'):
ino=int(input("Enter Item No"))
cursor.execute("select * from item where ino ={};".format(ino))
‘REPORT’ MODULE-
16
Website: www.techtipnow.in
YouTube: www.youtube.com/c/techtipnow
def sale_performance():
y=input("Enter Year")
q="select month(sdate) as month,sum(total)\
as total from smaster where year(sdate) = '{}'\
and group by month(sdate);".format(y)
df = pd.read_sql(q,con)
plt.plot(df.month,df.total)
plt.xlabel("Month")
plt.ylabel("Total Sale")
plt.xticks(df.month)
plt.show()
17
Website: www.techtipnow.in
YouTube: www.youtube.com/c/techtipnow
PROGRAM
OUTPUT
18
Website: www.techtipnow.in
YouTube: www.youtube.com/c/techtipnow
ITEM
ADD ITEM
EDIT ITEM
UPDATE RATE OF ITEM
SEARCH ITEM
19
Website: www.techtipnow.in
YouTube: www.youtube.com/c/techtipnow
CUSTOMER MODULE
SUPPLIER MODULE
20
Website: www.techtipnow.in
YouTube: www.youtube.com/c/techtipnow
DATA
ANALYSIS
BEST SELLING PRODUCT
21
Website: www.techtipnow.in
YouTube: www.youtube.com/c/techtipnow
22
Website: www.techtipnow.in
YouTube: www.youtube.com/c/techtipnow
https://imojo.in/9tNxD4
MCQs
Class 12 Computer Science MCQs
https://techtipnow.in/class-12-computer-science-mcqs/
SQL MCQ
https://techtipnow.in/sql-mcq-class-12/
https://techtipnow.in/cuet-mcq-computer-science-informatics-practices/
Comprehensive Notes
Informatics Practices Class 12
25
Website: www.techtipnow.in
YouTube: www.youtube.com/c/techtipnow
26
Website: www.techtipnow.in
YouTube: www.youtube.com/c/techtipnow
IT-802 Class 11
RDBMS Notes
https://techtipnow.in/rdbms-class-11-notes/
Fundamentals of Java
https://techtipnow.in/fundamentals-of-java-class-11/
27
Website: www.techtipnow.in
YouTube: www.youtube.com/c/techtipnow
IT-802 Class 12
28
Website: www.techtipnow.in
YouTube: www.youtube.com/c/techtipnow
Class 12 IP Practical VIVA Question | Python Viva Questions | SQL Viva Questions
https://techtipnow.in/class-12-ip-viva-questions/
Textbook Solutions
NCERT Text Book Solution IP Class 12:
https://techtipnow.in/ncert-solution-ip-class-12/
https://imojo.in/9tNxD4