0% found this document useful (0 votes)
35 views17 pages

Library Management

A library management report

Uploaded by

luckyharsha621
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)
35 views17 pages

Library Management

A library management report

Uploaded by

luckyharsha621
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/ 17

A

PYTHON PROJECT REPORT

On

"LIBRARY MANAGEMENT SYSTEM"

Submitted in partial fulfillment of the requirements for the award of the degree of

BACHELOR OF TECHNOLOGY
In

CSE (AI&DS)

BY

23BH5A7205 M.SAHITH REDDY

22BH1A7224 P.ANIL KUMAR

23BH5A7202 E.GANGOTHRI

23BH5A7203 G.AJAY KUMAR

22BH1A7217 M.GOUSE PASHA

UNDER THE GUIDENCE OF

DEPARTMENT OF CSE(AI&DS)

ST.MARY’S ENGNEERING COLLEGE


(Approved by AICTE, NEW DELHL & Affiliated to JNTU-HYDERABAD, Accredited by NAAC)

Deshmukhi (V), Pochampally (M), Yadadri Bhuvanagiri (D), Telangana -508284

[2023-24]
CERTIFICATE
This is to certify that project report entitled "LIBRARY MANAGEMENT
SYSTEM” is bonafide work carried out in the II/II semester by M.SAHITH
REDDY(23BH5A7205), P.ANIL KUMAR(22BH1A7224), E.GANGOTHRI
(23BH5A7202), G.AJAY KUMAR(23BH5A7203),M.GOUSE
PASHA(22BH1A7217) in partial fulfillment award of Bachelor of Technology
in CSE (AI&DS) from St. Mary's Engineering College during the academic year
2023-2026.

INTERNAL GUIDE HEAD OF THE DEPARTMENT

EXTERNAL EXAMINER
ACKNOWLEDGEMENT

The satisfaction that accompanies the successful completion of this project


would be incomplete without the mention of the people who made it possible.
We consider it as a privilege to express our gratitude and respect to all those
who guided us in the completion of the project.

We are thankful to our internal guide _____________, in the St. Mary's


Engineering College for having been of a source encouragement and for
insisting on vigour to do this project work.

We are obliged to Dr. K. Suresh Kumar, Head of the Department of


CSE(AI&DS), St. Mary's Engineering College for his guidance and
suggestions throughout the project work.

We take this opportunity to express a deep sense of gratitude to Dr. T.N.


Srinivas Rao, Principal of St. Mary's Engineering College for allowing us to do
this project and for this affectionate encouragement in presenting this
project work.

We convey our sincere thanks to Sri Rev. K.V.K RAO, Chairman of St. Mary's
Engineering College for giving us a learning environment to grow out self
personally as well as professionally.

We would like to express our thanks to all staff members who have helped
us directly and indirectly in accomplishing this project work. We also
extended our sincere thanks to our parents and friends for their moral
support throughout the project work. Above all, we thank god almighty for
his manifold mercies in carrying out this project work successfully.

M.SAHITH REDDY 23BH5A7205

P.ANIL KUMAR 22BH1A7224

E.GANDOTHRI 23BH5A7202

G.AJAY KUMAR 23BH5A7203

M.GOUSE PASHA 22BH1A7217


DECLARATION

This is to certify that the work report in the thesis titled, "LIBRARY
MANAGEMENT SYSTEM", submitted to the Department of CSE (AI&DS), St.
Mary's Engineering College in fulfillment of degree for the award of Bachelor
of Technology, is a bonafide work done by us. No part of the thesis is copied
from books, journals, or the internet and wherever the portion is taken, the
same has been duly referred in the text. The reported results are based on
the project work entirely done by us and not copied from any other sources.
Also, we declare that the matter embedded in this thesis has not been
submitted by us in full or partially there for the award of any degree from any
other institution or university previously

M.SAHITH REDDY -23BH5A7205

P.ANIL KUMAR -22BH1A7224

E.GANGOTHRI -23BH5A7202

G.AJAY KUMAR -23BH5A7203

G.GOUSE PASHA -22BH1A7217


INDEX
ABSTARCT 1

LIBRARY MANAGEMENT SYSTEM PROJECT

INTRODUCTION 2

PROBLEM STATEMENT 3

OBJECTIVES 4

SOFTWARE REQUIREMENTS 5

SOFTWARE ENVIRONMENT 6

COMPLETE CODE 7-8

9
SAMPLE OUTPUT

CONCLUSION 10
Abstract
LIBRARY MANAGEMENT SYSTEM
A Library Management System (LMS) is a specialized software
designed to automate and streamline the operations of libraries,
improving efficiency and user experience. This system
integrates various functions such as cataloging, circulation,
acquisition, patron management, and resource sharing into a
cohesive platform.
Key features of an LMS include cataloging and indexing of
library materials, which enables librarians to efficiently organize
and retrieve books, journals, multimedia, and digital resources.
The system facilitates seamless circulation management by
automating check-in, check-out, and renewal processes,
thereby reducing queues and administrative workload.
Additionally, LMS supports patron management by maintaining
user profiles, tracking borrowing history, and managing fines
and penalties. It enables online public access catalogs (OPAC)
for users to search and request materials remotely, enhancing
accessibility and user satisfaction.
The benefits of implementing an LMS are significant. It
improves resource utilization, enhances library service delivery,
and supports informed decision-making through
comprehensive reporting and analytics. LMS also facilitates
collaboration with other libraries and consortia for resource
sharing and interlibrary loans.

Despite challenges such as data migration and user training, a


well-implemented LMS enhances operational efficiency,
promotes knowledge dissemination, and contributes to the
overall success of libraries in meeting the educational and
informational needs of their communities.
Introduction
The Library Management System project in Python aims to
create a streamlined and efficient solution for managing library
operations through a console-based application. This project
leverages Python's capabilities to offer functionalities such as
cataloging books, managing member records, tracking book
loans, and generating reports.
The console-based interface provides a straightforward way for
librarians and administrators to interact with the system,
facilitating tasks like adding new books to the library catalog,
updating member information, and handling book checkouts
and returns.
Key features of the Library Management System include robust
data management using Python's built-in data structures and
file handling capabilities. For instance, the application may
utilize text files or SQLite databases to store and retrieve
information securely.
The system enhances library efficiency by automating routine
tasks and providing real-time insights into book availability,
member borrowing history, and overdue items. This project is
particularly valuable for smaller libraries or educational
institutions seeking a cost-effective yet powerful tool to
improve library operations and member satisfaction.

By developing this Python-based console application, the


project aims to demonstrate how technology can enhance
library management, making processes more efficient and
enhancing the overall library experience for both staff and
patrons.
Problem Statement
Managing library operations efficiently remains a
challenge for many institutions due to outdated systems
or manual processes that are error-prone and time-
consuming. The need to streamline cataloging, member
management, and circulation activities while ensuring
data accuracy and accessibility is paramount.
Traditional library management methods often involve
manual entry, paper records, and disjointed systems,
leading to inefficiencies and difficulty in tracking
resources and member activities in real-time.
Objective
The objective is to develop a Python-based console application
for a Library Management System that addresses these
challenges comprehensively. The system aims to:
1. Catalog Management: Provide a centralized database for
organizing and updating book information, including titles,
authors, genres, and availability status.
2. Member Management: Maintain records of library
members, including registration details, borrowing
privileges, and overdue items.
3. Circulation Control: Facilitate efficient book borrowing
and returning processes, including reservation
management and fine calculation for overdue items.
4. Reporting and Analytics: Generate reports on book
inventory, member activity, overdue items, and circulation
statistics to facilitate decision-making and resource
allocation.
5. User-Friendly Interface: Implement a simple yet intuitive
console interface that allows librarians and administrators
to perform tasks seamlessly without extensive training.
By developing this Python-based console application, the
project aims to improve operational efficiency, enhance user
experience, and ensure accurate management of library
resources and member interactions. This system will serve as a
cost-effective solution for libraries of varying sizes, enabling
them to modernize their operations and better meet the needs
of their patrons.
Software Requirements
 Python 3.8+: The core programming language for
developing the application.
Software Environment
 Operating System: The application should be
compatible with major operating systems, including
Windows, macOS, and Linux.
 Integrated Development Environment (IDE):
Recommended IDEs include PyCharm, VS Code, or
any text editor that supports Python development,
such as Sublime Text or Atom.
 Python Package Manager (pip): For installing and
managing Python packages and dependencies.
 Version Control System (Git): For tracking changes,
collaborating with others, and maintaining the
project’s source code.
Complete Code
import datetime
class LibraryManagementSystem:
def __init__(self):
self.books = {} # Stores book info with book ID as key
self.members = {} # Stores member info with member ID as key
self.current_book_id = 0
self.current_member_id = 0

def add_book(self, title, author):


self.current_book_id += 1
book_info = {
"id": self.current_book_id,
"title": title,
"author": author,
"added_date": datetime.datetime.now()
}
self.books[self.current_book_id] = book_info
return f"Book '{title}' added successfully with ID {self.current_book_id}."

def add_member(self, name, membership_type):


self.current_member_id += 1
member_info = {
"id": self.current_member_id,
"name": name,
"membership_type": membership_type,
"registration_date": datetime.datetime.now()
}
self.members[self.current_member_id] = member_info
return f"Member '{name}' added successfully with ID {self.current_member_id}."

def view_books(self):
for book_id, book_info in self.books.items():
print(f"ID: {book_id}, Title: {book_info['title']}, Author: {book_info['author']},
Added Date: {book_info['added_date']}")

def view_members(self):
for member_id, member_info in self.members.items():
print(f"ID: {member_id}, Name: {member_info['name']}, Membership Type:
{member_info['membership_type']}, Registration Date:
{member_info['registration_date']}")

def main():
lms = LibraryManagementSystem()

while True:
print("\nLibrary Management System")
print("1. Add Book")
print("2. Add Member")
print("3. View Books")
print("4. View Members")
print("5. Exit")

choice = input("Enter your choice: ")

if choice == '1':
title = input("Enter book title: ")
author = input("Enter book author: ")
print(lms.add_book(title, author))
elif choice == '2':
name = input("Enter member name: ")
membership_type = input("Enter membership type: ")
print(lms.add_member(name, membership_type))
elif choice == '3':
lms.view_books()
elif choice == '4':
lms.view_members()
elif choice == '5':
print("Exiting...")
break
else:
print("Invalid choice. Please try again.")

if __name__ == "__main__":
main()
Sample Output
Conclusion
The console-based Library Management System developed in
Python provides a fundamental yet effective solution for
organizing and managing library resources and member
information. This project demonstrates how Python's versatility
can be leveraged to create a user-friendly interface that
supports essential library operations such as book cataloging,
member registration, and information retrieval.
Key features of the Library Management System include:
1. Book Management: Enables librarians to efficiently add
new books to the catalog, including details such as title,
author, and date added, ensuring a comprehensive
inventory.
2. Member Management: Facilitates the registration and
management of library members, capturing essential
information such as name, membership type, and
registration date.

You might also like