0% found this document useful (0 votes)
13 views21 pages

Library Management

Ip commerce project

Uploaded by

noobiecorner
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)
13 views21 pages

Library Management

Ip commerce project

Uploaded by

noobiecorner
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/ 21

VIDYA VIHAR CENTRAL SCHOOL

ACADEMIC YEAR : 2024-25

PROJECT REPORT ON

LIBRARY MANAGEMENT SYSTEM


ROLL NO :

NAME :

CLASS : XII

SUBJECT : INFORMATICS PRACTICES

SUB CODE : 065

PROJECT GUIDE : Mrs.PRASEETHA PRADESH


: PGT (CS)
: VIDYA VIHAR CENTRAL SCHOOL
: THRISSUR
: KERALA

1
VIDYA VIHAR CENTRAL SCHOOL

BONAFIDE CERTIFICATE
This is to certify that this project report entitled

……………………………………..………………...…………………………is a

bonafide record of the project work done by

………………….……………………… of class ….…………………………….

Reg.No …………………………....….…… in the academic year 2024 – 2025.

The project hasbeen submitted in partial fulfillment of AISSCE for

practical held at Vidya Vihar central School , Chittattukara on

…………………………………

Date:…………………………… Teacher in Charge

Internal Examiner External Examiner

PRINCIPAL
2
TABLE OF CONTENTS (T O C)

SL.NO DESCRIPTION PG.NO

1. INTRODUCTION 5

2. ACKNOWLEDGEMENT 4

3. OBJECTIVE OF THE PROJECT 6

4. SOURCE CODE 7

5. OUTPUT 12

HARDWARE AND SOFTWARE


6. 20
REQUIREMENTS

8. BIBLIOGRAPHY 21

3
ACKNOWLEDGEMENT
Apart from the efforts of me, the success of any project
depends largely on the encouragement and guidelines of many
others. I take this opportunity to express my gratitude to the people
who have been instrumental in the successful completion of this
project

I express deep sense of gratitude to almighty god for giving


me strength for the successful completion of the project.

I express my heartfelt gratitude to my parents for constant


encouragement while carrying out this project.

I gratefully acknowledge the contribution of the individuals


who contributed in bringing this project up to this level, who
continues to look after me despite my flaws.

I wish to express my sincere gratitude to Mrs. Usha


Nandakumar, Principal of Vidya Vihar Central School, for
permitting me to carry out the project and for the facilities he has
provided for the fulfilment of this project work.

I am greatly indebted to Mrs. Praseetha Pradesh, teachers


in Computer Science who gave me immense support and guidance
throughout the completion of this project.

The guidance and support received from all the members who
contributed and who are contributing to this project, was vital for
the success of the project. I am grateful for their constant support
and help.

4
INTRODUCTION
LIBRARY MANAGEMENT SYSTEM
This project has been prepared for storing details of books like B_ID,

BName, Price, Quantity, Author, Publisher. It contains addition,

modification, deletion, searching and displaying all records as per the

requirement of the user

Library management project is a desktop application which is

developed in python platform. This is simple and basic level small

project for learning purpose. Also you can modify this system as per

your requirements and develop a perfect advance level project. It is

developed using python pandas and CSV file.

5
OBJECTIVES OF THE PROJECT
The objective of this project is to let the students apply the
programming knowledge into a real-world situation/problem and
exposed the students how programming skills helps in developing a
good software.

1. Write programs utilizing modern software tools.


2. Apply object-oriented programming principles effectively
when developing small to medium sized projects.
3. Write effective procedural code to solve small to medium sized
problems.
4. Students will demonstrate a breadth of knowledge in
computer science, as exemplified in the areas of systems,
theory and software development.
5. Students will demonstrate ability to conduct research or
applied Computer Science project, requiring writing and
presentation skills which exemplify scholarly style in computer
science.

6
SOURCE CODES
import warnings
warnings.filterwarnings("ignore")
import pandas as pd
import matplotlib.pyplot as plt
while True:
shop=pd.read_csv("projectexcel.csv")
shop.set_index('B_ID',inplace=True)
print(' ----------------------------------------------')
print("| |")
print("| |")
print("| Library Management system |")
print("| |")
print("| |")
print(' ------------------------------------------------')
print ("\t1.Add Book")
print ("\t2.Display Books")
print ("\t3.Update Book")
print ("\t4.Delete Book")
print ("\t5.Search Book")
print ("\t6.Graph")
print ("\t0.Exit")

ch=int(input("Choose an option:"))

if ch==1:
print (" ")
print ("Add a Book")
B_ID=int(input("Enter the B_ID:"))
B_Name=input("Enter the Book name:")
Price=int(input("Enter the price of Book:"))
Quantity=int(input("Enter the quantity of books"))
Author=input("Enter Authors Name:")
7
Publisher=input("Enter Publisher Name:")
shop.loc[B_ID]=[B_Name,Price,Quantity,Author,Publisher]
shop=shop.to_csv("projectexcel.csv")
print("Addes Sucessfully ")
again=input("do you want to continue(y/n)")
if again in 'Nn':
break
#print('------------------------')

elif ch==2:
print(" All Books Details")
print(shop)

elif ch==3:
try:
print("Updating a details of Books:")
B_ID=int(input("Enter the BID:"))
while True:
print("1.Update B_Name")
print("2.Update Price")
print("3.Update Quantity")
print("4.Update Author")
print("5.Update Publisher")
print("0.Exit")
choices=int(input("Enter your choice:"))
if choices==1:
print("Updating B_Name:")
name=input("Enter the Book name:")
shop.BName[B_ID]=name
print("Book name updated:")
print(shop)
elif choices==2:
print("Updating price:")

8
p=input("Enter the new price:")
shop.Price[B_ID]=p
print("Price updated:")
print(shop)
elif choices==3:
print("Updating quantity:")
q=input("Enter the new quantity:")
shop.Quantity[B_ID]=q
print("Quantity updated:")
print(shop)
elif choices==4:
print("Updating Author:")
Au=input("Enter the Author's Name:")
shop.Author[B_ID]=Au
print("Author updated:")
elif choices==5:
print("Updating Publisher")
Pub=input("Enter the Publisher Name:")
shop.Publisher[B_ID]=Pub
print("Publisher updated:")
print(shop)
elif choices==0:
break
else:
print("invalid option")
#print("---------------------------")
except RuntimeWarning:
print()
elif ch==4:
while True:
print(shop)
B_ID=int(input("Enter the book B_ID to delete:"))
shop.drop(B_ID,axis=0,inplace=True)

9
print("Deleted Sucessfully")
print(shop)
again=input("Do you want to continue (y/n)")
if again in 'Nn':
break
#print("-----------------------")

elif ch==5:
while True:
print("1.search by B_ID:")
print("Search a Book")
B_ID=int(input('Enter B_ID:'))
print("Name",shop.loc[B_ID,'BName'])
print("price",shop.loc[B_ID,'Price'])
print("quantity",shop.loc[B_ID,'Quantity'])
print("Author",shop.loc[B_ID,'Author'])
print("Publisher",shop.loc[B_ID,'Publisher'])
again=input("Do you want to continue (y/n)")
if again in 'Nn':
break
#pint("-----------------------")

elif ch==6:
while True:
print("1.Bar graph of all Books and quantity:")
print("2. Line graph of all Boooks and price:")
print("0 to Exit")
choi=int(input("Enter your choice:"))
if choi==1:
print("Graph of every Books according to their Quantity")
plt.figure(figsize=(10,10))

10
plt.title("Graph of every Books according to their Quantity")
plt.xlabel('B_ID')
plt.ylabel('Price')
x=shop.index.tolist()
plt.bar(x,shop.Quantity)
plt.xticks(x)
print(plt.show())
#print('-------------')
elif choi==2:
print("Graph of every Books according to their Price")
plt.figure(figsize=(10,10))
plt.title(" Price Graph of every Books")
plt.xlabel('B_ID')
plt.ylabel('Price')
x=shop.index.tolist()
plt.plot(x,shop.Price)
plt.xticks(x)
print(plt.show())
#print('-------------')

elif choi==0:
break
else:
print("invalid option")
#print("---------------------------")
elif ch==0:
break
else:
print("invalid option")
#print('---------------------------------')
shop=shop.to_csv("projectexcel.csv")

11
OUTPUT

ADD BOOK

12
DISPLAY BOOKS

13
UPDATE BOOK

14
DELETE BOOKS

15
SEARCH BOOK

16
GRAPH

17
18
EXIT

19
HARDWARE AND SOFTWARE
REQUIREMENTS
RAM : 2GB (Minimum)
: 4 GB (Recommended)
OPERATING SYSTEM : 32bit x86
64bit x 64(Recommended)
HARD DISK : Minimum 250 Mb Free Memory
PROCESSOR : Dual Core 2.80GHz or Greater
SCREEN RESOLUTION : 1366 x 768 (optimal)
GRAPHICS CARD : Minimum 64 MB
PLATFORM : Wndows7/8/10 with SP1

SOFTWARE REQUIREMENTS
I. Windows OS
II. Python
III. MySQL

20
BIBLIOGRAPHY
• Computer science with Python – Class XII
ByPreethi Arora
• Website: https://www.w3resource.com
• google.com
• youtube.com

21

You might also like