Document
Document
PROJECT REPORT
ON
LIBRARY MANAGEMENT SYSTEM
Under the Supervision of:- Mrs Swapna
Mishra
Submitted By:- Lari Nylla Lyngdoh
Class:- XII ‘A’
Roll no. :-
Session:- 2024-2025
CERTIFICATE
This is to certify that
Lari Nylla Lyngdoh
Of
class XII Science
had initiated the computer science
project entitled
“LIBRARY MANAGEMENT SYSTEM”
under the guidance of
Mrs Swapna Mishra
In the partial fulfillment of the Computer
Science practical assessment
conducted during the academic year
2024-2025
Subject Teacher
External Examiner
Principal
ACKNOWLEDGEMENT
“To explore the dimensions of greatness,
And believe that the world can be won;
I requires a mind filly committed,
That knows the task can be DONE”
This is an opportunity for us to convey
our gratitude and immeasurable gratefulness
to those who helped in initiating this project
that is still under development phase. I
register my heartfelt and deep sense of
gratitude to my guide for suggesting the
planned approach for this project work.
I express our heartfelt thanks to my
parents for all their affection, well wishes and
encouragement in all spheres of my life.
I extend my heartfelt thanks to all the
persons who have been helping me directly or
indirectly in my project work towards its
completion. Finally, I acknowledge my
following group members for their assistance,
suggestions, cooperation, and playing
significant role during this ongoing project:
LIBRARY MANAGEMENT SYSTEM
CONTENT
• PREFACE
• INTRODUCTION TO PROJECT
• OBJECTIVE OF THE PROJECT
• SCOPE OF THE PROJECT
• HARDWARE AND SOFTWARE
REQUIREMENT
• CODE/PROGRAM
• OUTPUT SCREENSHOTS
• REFERENCES
PREFACE
INTRODUCTION TO PROJECT
A library is a place where a huge collection of books
and resources are available which can be accessible by
the users. It acts as a brain for the institutions. It
enhances the dissemination of knowledge and spiritual
civilization among the students. The tons of books and
research works are captivating the students to improvise
their knowledge in all perspectives. It guides the students
to promote their views differently. This knowledge
optimizes the student to achieve a better result in
academic as well as personal skill development.
Improvisation in technology causes the demand for
developing a way to enhance the traditional library set up
to digital one. Numerous tedious processes reduce the
efficiency of the library. For example, it always needs
manual support to do any activities in the traditional
library. The count and details of books are scribbled in the
paper for reference. Each data is fetched in the notebook
for future citations. To examine any data then they have
to refer the notebooks. At the same time while
distributing the books to the students they have to enter
into the notebook where they need to represent the book
id, distribution and renewal date, and student id. The
librarians/staff have to assign a tag for each book and
provide an id for it. They have to align and arrange the
books on the shelves and marked it. Missing or theft of
the book builds a serious issue and confusion to the
librarians. While collecting the book from the students
they have to verify the penalties of the books. Therefore
it causes a monotonous among the staff. Consequently, it
builds an uninteresting among the student the slow
progress the staff. To evoke the library into the
technological era, we presented a system called the
Library Management system (LMS). It is an automatic
system that reduces the work burden of the
staff/librarians through a single click. It will manage,
organize and oriented the library task. The LMS supports
the librarian to add/view/delete/update details from the
library stock. Here we integrate all the library data into
the SQL server. Preliminarily the librarian has to add
student and book details into the database. After that
he/she can view/delete/update those details through the
Library Management system. On account of this, the user
can access the library at any time. The librarians can
assist the data without any confusion. Each data are
retrieved from the database. If he/she access any user
details then it shows username, id, book details, and
penalty details. They no need to write it on paper for any
references. By editing the data they can change the
parameter in it. In spite of working on the manual, the
librarian can feel easy to handle the automatic system. It
has more additional features such as librarian can
maintain library records, student’s history of penalties
and issues. It always tracks the count of the book in the
library and issued book details. This causes a flexible
service for librarians and students. It is a user-friendly
interface, so basic computer knowledge is enough to
access the LMS. The system is a customizable and user-
configurable one which causes it to use in different
organizations. We represent the LMS with Admin module.
We built the LMS in .Net Technology which is considered
as the one of the upcoming technology in IT industries.
By the integration of all the modules, it will be presented
on the desktop of your computer.
HARDWARE REQUIREMENT:
MINIMUM 1 GB RAM
MINIMUM 40 GB HARD DISK
PROCESSOR( PENTIUM 4 or ABOVE)
SOFTWARE REQUIREMENT:
PYTHON 3.7
MY SQL
MYSQL CONNECTOR
OPERATING SYSTEM:
WINDOWS 8.0
WINDOWS 10
CODE/PROGRAM
import mysql.connector as a
con= a.connect (host=”localhost”, user=”root”, passwd=”1234”,
database=”libary”)
def addbook():
bn=input(“Enter BOOK Name:”)
c=input(“Enter BOOK Code:”)
t=input(“Total Book:”)
s=input(“Enter subject:”)
data=(bn, c, t, s)
sql=’insert into books values(%s, %s, %s, %s)’
c=con.cursor()
c.execute(sql, data)
con.commit()
print(“>----------------------------------------------------------------------<”)
print(“Data entered successfully”)
main()
def issueb():
n=input(“Enter Name:”)
r=input(“Enter Reg No:”)
c=input(“Enter Book Code:”)
d=input(“Enter Date:”)
a=’insert into issue values(%s,%s,%s,%s)’
data=(n, r, c, d)
c=con.cursor()
c.execute(a, data)
con.commit()
print(“>----------------------------------------------------------------------<”)
print(“Book Issued to:”, n)
bookup(c, -1)
def submitb():
n=input(“Enter Name:”)
r=input(“Enter Reg No:”)
c=input(“Enter Book Code:”)
d=input(“Enter Date:”)
a=’insert into issue values(%s, %s, %s, %s)’
data=(n, r, c, d)
c=con.cursor()
c.execute(a, data)
con.commit()
print(“>----------------------------------------------------------------------<”)
print(“Book Submitted from:”,n)
bookup(c, 1)
def bookup(c, u):
a=’select TOTAL from books where BCODE=%s’
data=(c, u)
c=con.cursor()
c.execute(a, data)
myresult = c.fetchone()
t = myresult[0] + u
sql=’update books set TOTAL=%s where BCODE=%s’
d=(t, c)
c.execute(sql, d)
con.commit()
main()
def dbook():
ac=input(“Enter Book Code:”)
a=’delete from books where BCODE=%s’
data=(ac,)
c=con.cursor()
c.execute(a, data)
c=con.commit()
print(“>----------------------------------------------------------------------<”)
print(“Delete Successfully:”)
print(“>----------------------------------------------------------------------<”)
main()
def dispbook():
a=’select * from books’
c=con.cursor()
c.execute(a)
myresult = c.fetchall()
for I in myresult:
print(“Book Name:”, i[0])
print(“Book Code:”, i[1])
print(“Total:”, i[2])
print(“Date:”, i[0])
print(“>----------------------------------------------------------------------
<”)
else:
print(“NO BOOK IN LIBRARY”)
print(“>----------------------------------------------------------------------
<”)
main()
def main():
print(‘’’
LIBRARY MANAGER
1.ADD BOOK
2.ISSUE BOOK
3.SUBMIT BOOK
4.DELETE BOOK
5.SHOW ALL BOOKS ‘’’)
choice=input(“Enter Task No:”)
print(“>----------------------------------------------------------------------<”)
if (choice==’1’):
addbook()
elif (choice==’2’):
issueb()
elif (choice==’3’):
submitb()
elif (choice==’4’):
dbook()
elif (choice==’5’):
dispbook()
else:
print(“Wrong choice………”)
main()
def pswd():
ps=input(“Enter Password:”)
if ps==”rohit”:
main()
else:
print(“Wrong Password”)
pswd()
OUTPUT SCREENSHOTS
REFERENCES