library_management_system_documentation(final)
library_management_system_documentation(final)
1
“Library Management System
Dr. B.V Hiray College of Management & Research Centre
2
“Library Management System
Dr. B.V Hiray College of Management & Research Centre
CHAPTER – 1
INTRODUCTION
1.1 Abstract:
The Library Management System (LMS) is a comprehensive
software solution designed to simplify and streamline. the daily
operations of a library. It serves as a digital platform for
organizing and managing books, patrons, and various library
services efficiently. With an intuitive interface, the system
automates processes such as book lending, searching, cataloging,
and inventory management, improving both user experience and
administrative
efficiency.
Every organization, whether big or small, has challenges to
overcome and managing the information of Books, Student,
Librarian, Member. Every Library Management System has
different Student needs; therefore, we design exclusive library
management systems that are adapted to your managerial
requirements.
1.Enhance efficiency
4
“Library Management System
Dr. B.V Hiray College of Management & Research Centre
4. Management of resources
Managing the demand and availability of books can be difficult for
librarians. With the assistance of a library management system, they can
swiftly verify the records and issue the books accordingly.
5. Safety
System updates and maintenance are performed on a regular basis to
guarantee that user databases are always confidential and safe.
EXISTING SYSTEM:
Time-Consuming and Labor-Intensive: Manual processes for
cataloging, borrowing, returning, and reporting require
significant effort from library staff, reducing overall efficiency.
Error-Prone: Manual record-keeping and calculations can lead
to human errors, such as incorrect data entry, missing books, or
inaccurate fines.
Limited User Access and Convenience: Users may find it
difficult to search for books or check availability outside
library hours. In many cases, there is no online system for
accessing library catalogs or managing accounts.
5
“Library Management System
Dr. B.V Hiray College of Management & Research Centre
6
“Library Management System
Dr. B.V Hiray College of Management & Research Centre
CHAPTER – 2
Proposed System
Technical Feasibility:
Uses Python with libraries like Tkinter (GUI) and SQLite (database).
Economic Feasibility:
Operational Feasibility:
Legal Feasibility:
Schedule Feasibility:
Social Feasibility:
operational costs.
2.4.Users Of System
The library management system software is based on the different
sections or classes involved in the operation of a library. The
functions and attributes of the classes and relationships between
them are specified in a Class Diagram. This diagram forms the
fundamental step in building the management software.
Library Management System Class:
This class manages the entire library management functions and is
the focal point on which the software is designed. The attributes of
User type and User name with the functions of Register, Login and
Logout are vital to any library management system.
1.Librarian Class:
This class manages all the operations of the Librarian. The name, ID
and respective password for the librarian are verified. The search
string used by them in searching for books is saved for future use.
2.User Class:
The operations of the user are managed by this class. Name and ID
of the user is verified. Information on the books accessed by each
user is recorded.
3.Book Class:
All operations pertaining to the books are managed by this class.
Books are classified on the attributes of title, author, subject and date
of publication.
CHAPTER – 3
b. Hard disk and RAM: 40GB and 4GB are required respectively
2.SoftwareRequirements:
a.Operatingsystem
b.Microsoftwindows10
2. Issuing books.
as:
system.
4. Managing book inventory (adding or removing
books).
1. Admin Table
2. Student Table
Fig. 3.2 Entity Relationship Diagram
3.Book Table:
PRIMARY KEY,
Book_ID INT
AUTO_INCREMENT
Genre VARCHAR(50)
Key Points:
Data Types: Appropriate data types are used for each column (e.g.,
INT for numeric values, VARCHAR for text).
Default Values: Default values are specified for certain columns (e.g.,
"Available" for Availability_Status)
Actors:
1 . Admin:
2 User:
Login:
1.
1. Admin-only functionality.
2. Admin can manage book records by adding new books,
1. Admin-only functionality.
2. Allows the Admin to clear out the entire inventory, possibly
1. Admin-only functionality.
2. Admin can update the status of books (e.g., available, issued,
or unavailable).
1. Admin-only functionality.
Borrow Book:
1. User functionality.
2. Users can borrow books from the library, which updates the
Return Book:
1. User functionality.
2. Users can return borrowed books, and the system updates the
1. Admin
Attributes:
Methods (Operations):
Relationships:
2. User
Attributes:
Methods (Operations):
Relationships:
3. Book
Attributes:
Methods (Operations):
Relationships:
Admin Login: This is the entry point for administrators to access the
system.
25
“Library Management System
Dr. B.V Hiray College of Management & Research Centre
Clear Inventory
Inventory Snapshot
System Metrics
End Management
User Login: This is the entry point for end-users to access the system.
26
“Library Management System
Dr. B.V Hiray College of Management & Research Centre
End User Services: This section provides services that end-users can
utilize, such as:
Borrow Books
Return Books
1. Admin Login:
The process starts with the admin logging into the system.
2. Admin Dashboard:
3. Access Books:
The admin can access the "Manage Books" section to perform various
operations on book records.
4. Access Students:
27
“Library Management System
Dr. B.V Hiray College of Management & Research Centre
2. Admin Login: The first step is for an administrator to log into the
system.
28
“Library Management System
Dr. B.V Hiray College of Management & Research Centre
3. Manage Books: The admin can then perform various actions related
to books, such as adding, removing, or updating book records.
7. Borrow Book: The user can borrow a book from the library.
8. Return Book: The user can return a borrowed book to the library.
29
“Library Management System
Dr. B.V Hiray College of Management & Research Centre
30
“Library Management System
Dr. B.V Hiray College of Management & Research Centre
1. Login Page
2) Admin Panel
3) Student Panel
31
“Library Management System
Dr. B.V Hiray College of Management & Research Centre
4) User Page
32
“Library Management System
Dr. B.V Hiray College of Management & Research Centre
5)Borrowing a book
33
“Library Management System
Dr. B.V Hiray College of Management & Research Centre
34
“Library Management System
Dr. B.V Hiray College of Management & Research Centre
CHAPTER – 4
CODING
Frontend:
import tkinter as tk
def admin_login():
username = entry_username.get()
password = entry_password.get()
else:
def user_login():
username = entry_username.get()
password = entry_password.get()
else:
36
“Library Management System
Dr. B.V Hiray College of Management & Research Centre
# Variables
entry_font = ('Times New Roman', 12) # Font for all Entry widgets
root = tk.Tk()
root.title("Login Page")
label_username.pack(pady=5)
entry_username = tk.Entry(root)
entry_username.pack(pady=5)
label_password.pack(pady=5)
entry_password.pack(pady=5)
btn_admin.pack(pady=5)
btn_user.pack(pady=5)
root.mainloop()
import sqlite3
import tkinter as tk
import tkinter.simpledialog as sd
import tkinter.messagebox as mb
# Connecting to Database
connector = sqlite3.connect('library.db')
cursor = connector.cursor()
# Functions
def display_books():
global tree
tree.delete(*tree.get_children())
data = curr.fetchall()
39
“Library Management System
Dr. B.V Hiray College of Management & Research Centre
def borrow_book():
if not tree.selection():
return
current_item = tree.focus()
selected_book = tree.item(current_item)
book_details = selected_book['values']
if user_card_id:
40
“Library Management System
Dr. B.V Hiray College of Management & Research Centre
if book_details[3] == 'Issued':
else:
connector.commit()
display_books()
else:
def return_book():
if not tree.selection():
41
“Library Management System
Dr. B.V Hiray College of Management & Research Centre
list to return.')
return
current_item = tree.focus()
selected_book = tree.item(current_item)
book_details = selected_book['values']
if surety:
connector.commit()
display_books()
# GUI Setup
root = tk.Tk()
root.geometry('800x500')
# Title Label
# Buttons
frame = tk.Frame(root)
frame.pack(pady=20)
display_books()
root.mainloop()
Backend:
SQLite format 3
45
“Library Management System
Dr. B.V Hiray College of Management & Research Centre
CHAPTER-5
TESTING
46
“Library Management System
Dr. B.V Hiray College of Management & Research Centre
Verify book return updates availability count and clears due dates.
Check late return calculation and penalty application.
Test Script
48
“Library Management System
Dr. B.V Hiray College of Management & Research Centre
Setup
Launch the Library Management System application.
Ensure the database is populated with at least one admin account.
Test Steps: Authentication
Admin Login
49
“Library Management System
Dr. B.V Hiray College of Management & Research Centre
CHAPTER – 6
50
“Library Management System
Dr. B.V Hiray College of Management & Research Centre
If the system lacks automation for managing fees (e.g., overdue fines,
lost or damaged books), it may be prone to errors and oversight.
Automation of fine calculations and online payment integration could
streamline the fee management process.
53
“Library Management System
Dr. B.V Hiray College of Management & Research Centre
CHAPTER – 7
PROPOSED ENHANCEMENTS
CHAPTER – 8
CONCLUSION
The LMS is a scalable and customizable tool, making it ideal for small,
medium, and large libraries alike. It lays the foundation for a digital
library system, promoting better organization and a more engaging user
experience for administrators and members.
CHAPTER – 9
BIBLIOGRAPHY
Kim, Jin-Sik, Yeon-Soo Kim, and Young-Kyun Mha. "A LMS (Library
Management System) Framework Development for BIM Operation of
Architectural Design Office." Journal of KIBIM 3, no. 4 (December 31,
2013): 1–10. http://dx.doi.org/10.13161/kibim.2013.3.4.001.
CHAPTER – 10
USER MANUAL
User Manual
1. Introduction
2. System Requirements
Hardware
A computer with at least 4GB RAM and 20GB free disk space.
Software
GUI Tkinter
Getting Started
Installation
4. User Roles
Admin
Member
Members can browse the library catalog, issue books, and view their
borrowing history.
Login
Add Members
Manage Books
View Members
Manage Borrow/Return
Member Functions
Login/Registration
Use the search bar to browse the catalog based on title, author,
or genre.
Issue Books
Return Books