A Project On Library Management System By: U L Vardhini (121222539017)
A Project On Library Management System By: U L Vardhini (121222539017)
A PROJECT ON
LIBRARY MANAGEMENT SYSTEM
By:
U L Vardhini(121222539017)
TIshaShree(121222539016)
CERTIFICATE
We hereby certify that the work which is being presented in the BSc Project
Report entitled “Library Management System ” , in partial fulfillment of the
requirements for the award of B.Sc (MSDS) and submitted to the Department of
Computer science Osmania University is an authentic record of our own work
carried out during a period from June 2023 to November 2023 under the
supervision of faculty Mrs. Swapna, Department of Computer Science.
The matter presented in this Project Report has not been submitted by us for the
award of any other degree elsewhere.
Signature of Students
This is to certify that the above statement made by the students is correct to the
best of my knowledge
Signature of Supervisor:
Date:
Head,Computer Science Department:
St.Pious x Degree & PG College Women,Snehapuri Colony,Hyd
ACKNOWLEDGEMENT
We also wish to extend our thanks to Mrs. Swapna and other colleagues
for
attending our seminars and for their insightful comments and
constructive suggestions to improve the quality of this project work.
Library Management System 3
Vardhini
T.Isha Shree
Library Management System 4
TABLE OF CONTENTS
ABSTRACT
INTRODUCTION
SYSTEM ANALYSIS
EXISTING VS PROPOSED
MODULE DESCRIPTION
FEASIBILITY STUDY
TECHNICAL FEASIBILITY
ECONOMIC FEASIBILITY
OPERATIONAL FEASIBILITY
SYSTEM DESIGN
INPUT DESIGN
OUTPUT DESIGN
SYSTEM DEVELOPMENT
CODING 32
PYTHON — AN OVERVIEW
CONCLUSION
APPENDIX
BIBLIOGRAPHY
Library Management System 5
ABSTRACT
Overall this project of ours is being developed to help the students as well
as staff of the library to maintain the library in the best way possible and
also reduce the human efforts.
Library Management System 6
INTRODUCTION
Library Management System 7
INTRODUCTION
Due calculations
Book indexing
Cataloging
Book reservations
Running reports
Library Management System 8
Existing system does not have any facility of teachers login or student
login where as proposed system will have a facility of student login as
well as teacher’s login
Existing system does not have any facility of online notice boards where
description of workshops happening in our college as well as nearby colleges
is being provided.
Existing system does not has any option of lectures notes uploaded by
teachers whereas proposed system will have this facility
Existing system does not have any facility to generate student reports as
well book issue reports whereas proposed system provides librarian with a
tool to generate reports
Existing system does not has any facility for book request and
suggestions where as in proposed system after logging in to their
accounts student can request books as well as provide suggestions to
improve library.
Library Management System 9
OPERATION ENVIRONMENT
PROCESSOR INTEL CORE PROCESSOR OR
BETTER PERFORMANCE
OPERATING SYSTEM WINDOWS 11
MEMORY 1 GB
SYSTEM ANALYSIS
Library Management System 13
CHAPTER 2
SYSTEM ANALYSIS
FEASIBILITY STUDY
Technical Feasibility:
We can strongly says that it is technically feasible, since there will not
be much difficulty in getting required resources for the development and
maintaining the system as well. All the resources needed for the
development of the software as well as the maintenance of the
same is available in the organization here we are utilizing the resources
which are available already.
Library Management System 14
Economical Feasibility
Operational feasibility
SOFTWARE REQUIREMENT
SPECIFICATION
Library Management System 16
SOFTWARE REQUIREMENTS
HARDWARE REQUIREMENTS
GENERAL DESCRIPTION
PRODUCT DESCRIPTION:
Library Management System is a computerized system which
helps the user(librarian) to manage the library daily activity in
electronic format. It reduces the risk of paper work such as file
loss, file damage and time consuming.
It can help users tot manage the transaction or record more
effectively and time- saving.
PROBLEM STATEMENT:
File damaged
When a computerized system is not there file is always lost due to
some accident like spiling of water by some member on file
accidentaly.Besides some natural disaster like floods or fires may
also damage the file.
Space consuming
After the number of records becomes large the space for physical storage of
file and records also increases if no computerized system si implemented.
Cost consuming
Library Management System 18
SYSTEM OBJECTIVES
Save time:
Librariansiableotsearchrecordsbyusingafewclicksofmouse and few
search keywords thus saving his valuable time
SYSTEM REQUIREMENTS
NON FUNCTIONAL REQUIREMENTS
Efficiency requirements
With the library management system, librarian should be able to process
faster when they process book transaction. In addition, with the use of bar
code scanner, librarian can avoid to type the book id one by one, bar code
scanner enable librarian to scan the book id instantly.
Reliability requirements
The system must perform accurately towards member request. For example,
when the librarian saves the edited profile detail, after they review their
detail, the details must be change according to the latest details that they
have updated. When member return the book after the expired date, the fine
should be calculate accurately. Besides that, in the registration form, it will
have validity check to check the input to prevent wrong data type.
Usability requirements
This system must be designed with user-friendly and easy to use by the
staff so that the user can perform their job nicely. It must have a clear
instruction to guide user through the system. Besides that, the description of
error message should be clear.
Organizational Requirements
Implementation requirements
In implementing the system, it uses the vb.net as the main programming
language and tools. Besides that, the SQL language will be use to maintain
the information in the database. On the other hand, SQL Server 2008 needs
to be installed.
Delivery requirements
The whole system is estimate to be done around 6 months time and the
documentation will be done in 2 months. The full system will be delivers in
a softcopy method while the documentation will be delivers in hardcopy
and softcopy.
Library Management System 20
External Requirements
Legislative requirements
The information that use must be acknowledge by the authorized people so
that it has no violating the law. This information is copyrighted and
protected by the law. Besides that, when visitors wants to become the
member of the library, he or she must agree with the rules stated in the
system.
Security requirements
This system must be highly secure in the login part. It is because the report
can only view by admin level. Staff can perform most of the process except
viewing report module and log file module.
FUNCTIONAL REQUIREMENTS
USER LOGIN
Description of feature
This feature used by the user to login into system. They are required to
enter user id and password before they are allowed to enter the system .The
user id and password will be verifiedand if invalid id is there user is
allowed to not enter the system.
Functional requirements
-user id is provided when they register
-The system must only allow user with valid id and password to enter the
system
-The system performs authorization process which decides what user level
can acess to.
-The user must be able to logout after they finished using system.
Library Management System 21
Functional requirements
-System must be able to verify information
-System must be able to delete information if information is wrong
Admin Features
Admin Dashboard
Admin can add/update/ delete category
Admin can add/update/ delete authorAdmin can add/update/ delete
books
Admin can issue a new book to student and also update the details when
student return book
Admin can search student by using their student ID
Admin can also view student details
Admin can change own password
Students-
• Student can register yourself and after registration they will get studentid
• After login student can view own dashboard.
• Student can update own profile.
• Student can view issued book and book return date-time.
• Student can also change own password
.• Student can also recover own password
Library Management System 22
SOFTWARE REQUIREMENTS
Operating system- Windows 7 is used as the operating
system as it is stable andsupports more features and is more
user friendly
Database MYSQL-MYSQL is used as database as it easy to
maintain and retrieve records by simple queries which are in
English language which are easy to understand and easy to
write.
Development tools and Programming language- HTML is
used to write the wholecode and develop webpages with css,
java script for styling work and php for sever side scripting.
HARDWARE REQUIREMENTS
Intel core i5 2nd generation is used as a processor because it
is fast than other processors an provide reliable and stable
and we can run our pc for longtime. By using this processor
we can keep on developing our project without any
worries.
Ram 1 gb is used as it will provide fast reading and writing
capabilities and will in turn support processing
Library Management System 23
SYSTEM DESIGN
Library Management System 24
CHAPTER 3
SYSTEM DESIGN
System Design is the core concept behind the design of any distributed systems.
System Design is defined as a process of creating an architecture for different
components, interfaces, and modules of the system and providing corresponding data
helpful in implementing such elements in systems.
The purpose of the System Design process is to provide sufficient detailed data
and information about the system and its system elements to enable the
implementation consistent with architectural entities as defined in models and
views of the system architecture.
Python:
Python programming language is one of the dynamic and object-oriented
programming languages used for the development of diverse kinds of software
developed by the python software foundation. Its significant advantage is that
it facilitates integration with other programming languages and software
development tools. In addition, it has in-built standard libraries that are
extensive. This means it facilitates the development of a better source code.
Easy-to-read -Python code is more clearly defined and visible to the eyes.
BACKEND:
The backend is designed using MYSQL which is used to design the design.
MYSQL:
MySQL uses a relational model to store data, consisting of tables with rows
and columns. This approach allows for efficient organization and retrieval
of data.
Input Design
Output Design
ER DIAGRAM
Library Management System 29
DATA FLOWDIAGRAM
Library Management System 30
DATA FLOWDIAGRAM
Library Management System 31
TABLE DESIGN
CHAPTER 4
SYSTEM DEVELOPMENT AND IMPLEMENTATION
Module Description
The Library Management System is divided into the following modules:
Admin Module
The following module contains various facilities like student
validation,teacher registration, book addition, Book issues, Add and Delete
Books.
Frontend Code
def dashboard():
window1 = Tk()
window1.geometry('600x500')
window1.title('LMS')
window1.config(background="#597882")
def click():
window1.withdraw()
window2 = Tk()
window2.geometry('600x500')
window2.title('LMS')
window2.config(background="#597882")
Library Management System 35
l6.place(x=100, y=100)
e3 = Entry(window2, font=('Comic Sans MS', 15))
e3.place(x=230, y=100)
l7.place(x=101, y=150)
e4 = Entry(window2, font=('Comic Sans MS', 15))
e4.place(x=230, y=150)
l8.place(x=102, y=200)
e5 = Entry(window2, font=('Comic Sans MS', 15))
e5.place(x=230, y=200)
l9.place(x=103, y=250)
e6 = Entry(window2, font=('Comic Sans MS', 15))
e6.place(x=230, y=250)
def OnClick_submit():
details = "Book ID: " + e3.get() + ", Title: " + e4.get() + ", Author: "
+ e5.get() + ", Status: " + e6.get()
messagebox.showinfo('Details', details)
window2.destroy()
dashboard()
b11 = Button(window2, text="Submit", font=('Comic Sans MS', 15),
fg='black', bg='white', command=OnClick_submit)
Library Management System 36
b11.place(x=275, y=300)
def OnClick_Back():
window2.destroy()
window1.deiconify()
window2.mainloop()
Backend Code
mydb = connector.connect(
host='localhost',
user='root',
password='vardhini#30@k',
port='3306',
database='lms'
)
mycursor = mydb.cursor()
mycursor.execute('SELECT * FROM `add books`;')
books = mycursor.fetchall()
for book in books:
print('BookID:', book[0])
print('Title:', book[1])
print('Author:', book[2])
print('Status:', book[3])
print('--------------------------')
mycursor.close()
mydb.close()
window1.mainloop()
window = Tk()
window.geometry("600x500")
window.title("LMS")
window.config(background="#597882")
StudentID = StringVar()
Password = StringVar()
def login():
try:
mydb = connector.connect(
host='localhost',
user='root',
password='vardhini#30@k',
port='3306',
database='lms'
)
mycursor = mydb.cursor()
query = "SELECT * FROM login WHERE username=%s AND
password=%s"
values = (StudentID.get(), Password.get())
mycursor.execute(query, values)
user = mycursor.fetchone()
if user:
messagebox.showinfo(title='Login Status', message='You have
logged in')
Library Management System 39
except connector.Error as e:
messagebox.showerror(title='Database Error', message=f'Error
connecting to the database: {e}')
window.mainloop()
Library Management System 40
CHAPTER 5
SYSTEM TESTING
The aim of the system testing process was to determine all defects in our project .The
program
was subjected to a set of test inputs and various observations were made and based on
these
observations it will be decided whether the program behaves as expected or not.
Our Project went through two levels of testing
1.Unit testing
2.integration testing
UNIT TESTING
Unit testing is undertaken when a module has been created and succesfully
reviewed.In order to
test a single module we need to provide a complete environment ie besides the module
we would require
The procedures belonging to other modules that the module under test calls
Non local data structures that module accesses.
A procedure to call the functions of the module under test with appropriate
parameters.
INTEGRATION TESTING
Login form
Library Management System 42
CHAPTER 6
COUNCLUSION AND FUTURE SCOPE
Appendix:
Library Management System 49
Appendix:
Library Management System 50
Appendix:
Library Management System 51