Location via proxy:   [ UP ]  
[Report a bug]   [Manage cookies]                

Cs (1)

Download as docx, pdf, or txt
Download as docx, pdf, or txt
You are on page 1of 29

Cover pageCERTIFICATE

1
INDEX

SR. NO. TITLE PAGE NO.

1 System Requirements 4

2 Working of the Library Management System 5

3 FUNCTION AND ITS FEATURES USED 6

4 PROS OF LIBRARY MANAGEMENT 9


SYSTEM
5 SOURCE CODE 11

6 OUTPUT 20

7 FUTURE SCOPE 29

8 CONCLUSION 30

9 BIBLIOGRAPHY 31

2
ACKNOWLEDGMENT

I extend my heartfelt gratitude to CBSE for granting me this opportunity to work


on my Computer Science Project. I would like to express my sincere appreciation
to principal Mr. Deepak Patankar and Vice Principal Mr. Mammikutty TV and
AVP for their unwavering support.
I am also thankful to my Computer Science teacher, Mr. Nandakumar
Kunjuraman Pillai, whose guidance and encouragement have been invaluable
throughout this project.
My heartfelt thanks also go to my parents for their constant encouragement and
support, and to my friends for their motivation and assistance. This Project would
not have been possible without the combined support of CBSE, School, my
teacher, parents and friends

NAME: Maaz Masuood


ROLLNO:

3
SYSTEM REQUIREMENTS

HARDWARE:
• Intel(R) Core(TM) i7-7700K CPU @ 3.40GHz
• 16 GB RAM
• 128 GB free space
• Screen resolution: 1920 x 1080
• System type: 64-bit operating system, x64-based
processor

SOFTWARE:
• Windows 11
• Python version 3.12
• Pip 21 or higher
• MySQL 5.5 or higher

In addition,you will also need to install the


following dependencies using pip:

Pip install mysql-connector-python pyboxen rich


inquirer.

4
Working of the Library Management System
“WELCOME TO THE LIBRARY MANAGEMENT”
• This library management system is made with Python and MySQL
connectivity and is a system that helps libraries efficiently manage their
resources, such as books, periodicals, and other materials.
• It allows librarians and patrons to perform various tasks related to borrowing,
returning, and cataloguing library items. Such a system eliminates the need for
repetitive manual work and minimizes the chances of errors.
Library Functions:
The system functions that allow librarians to perform actions are:
1. Adding new books to the catalog.
2. Updating book information (e.g., title, author,).
3. Registering and managing library patrons.
4. Managing fines and due dates.
5. Searching for books based on various criteria (e.g., title, author,
genre).

The system functions that allow users to perform actions are

Borrowing or returning of books.


The library management system makes the library a smart one by organizing
the books systematically by author, title and subject. This enables users to search
for books quickly and effortlessly

5
FUNCTION AND ITS FEATURES USED

Administrator:
In this mode of the system the librarian can use all the functions of the table-
Books. The librarian can only access this mode as this mode is password protected.
The librarian can add, update remove and display the books.

User():
This mode of the system allows the user to either borrow or return a book
from the library if the person has registered in the library already. If the person has
not registered then he/she has to register first from the librarian.

ADD():
The ADD feature allows the user to add/enter a new record for a
corresponding table in the database. The ADD features are as follows:
● Add to BOOKS table
● Add to USER table

Delete():
The "DELETE" feature is used to remove rows from a table that match a
specified condition. The "DELETE" statement can help maintain data integrity by
allowing you to eliminate unwanted or obsolete records.
● Remove a book from the BOOKS table
● Remove a user from the USER table

Update():
The "UPDATE" feature in MySQL is a fundamental SQL command that
modifies existing records in a database table. It allows you to change the values of
specific columns in one or more rows based on specified conditions. The following
update features are available:
● Update the details of a book from the BOOKS table
● Update the details of a user from the USER table

6
Display():
The "display" feature typically refers to retrieving and presenting data
from database tables. This is achieved using the "SELECT" statement, a
fundamental SQL command. By specifying the desired columns and conditions, it
retrieves and displays data in a structured format.

Exit
Exiting the System

Modules

1) Mysql Connector:

The MySQL Connector module in Python is a crucial tool for connecting and
interacting with MySQL databases. It provides a Python interface for MySQL
database operations, allowing developers to establish connections, execute queries,
and manage data efficiently.This module simplifies database
python.

2) Tabulate:

The Tabulate module in Python is a valuable tool for creating neatly formatted
tables from data collections.It offers various table styles, customizable settings, and
easy integration with data structures, streamlining the presentation of information
for improved readability and user-friendliness.

3) Datetime and Timedelta:

 The Datetime and Timedelta modules in Python are essential for handling
date and time information.It provides functions for creating, formatting, and
manipulating date and time objects.

7
 The Timedelta module, also part of the Datetime library, is crucial for
performing arithmetic operations with time durations, making it an
indispensable tool for tasks involving time intervals, scheduling, and
more.Together, these modules facilitate efficient time-related operations in
Python programs.
4) Hashlib:
 The Hashlib module in Python is a critical component for cryptographic and
data integrity operations.It offers various cryptographic hash functions like
SHA-256 and MD5, enabling data integrity verification and password
storage.
 This module plays a pivotal role in security and data validation tasks by
providing reliable and efficient hashing capabilities.
5) Sys:
 The sys module in Python provides access to system-specific parameters and
functions.It allows interaction with command-line arguments, interpreter-
related settings, and low-level system functions.
 It's indispensable for tasks such as modifying the Python runtime
environment, interacting with the operating system, and handling command-
line parameters, making it a core component for system-level programming
in Python.

8
PROS OF LIBRARY MANAGEMENT SYSTEM
“FEATURES”
In this management system we have a set of 2 tables.
Table 1: Books
The Books table consists of all the details of the book. Once a book is
issued it is added in the table. It consists of Book ID, Book name,
Author, Publisher, edition Genre, copies and cost.In this table the
BookId is the Primary key.The format of the table is as follows:
The Books and their Authors in the Library are as follows:

9
Table 2: User
The User table consists of all the details of the subscriber. Once a person
is registered into the library, the person’s details are added in the table. It
consists of User ID, Users name, Subscription type, Subscription cost,
and the Book taken. In this table the SID is the Primary key. The format
of the table is as follows:

The Users registered in the library are as follows:

10
“SOURCE CODE”

PASSWORD()

11
12
13
14
15
16
17
“OUTPUT”
 First, we run the program by opening the terminal in the
appropriate folder where the project is stored and executing
the following command.

REGISTER

18
ADD

Update

19
Display

Delete

20
EXIT

21
BORROW

RETURN

22
SEARCH

23
24
25
26
FUTURE SCOPE OF LIBRARY
MANAGEMENT
1. Enhanced User Experience:
Libraries are evolving to offer digital resources and services. Python and
MySQL can help create user-friendly interfaces and efficient search
functionalities. Future developments may include more intuitive and
responsive user interfaces, personalized recommendations, and improved
accessibility features.
2. Digital Collections Management:
The digitalization of books, journals, and other resources is becoming
increasingly important. Library systems with Python and MySQL can
support the management and retrieval of digital collections, including e-
books, e-journals, and multimedia resources.
3. Integration with Online Learning Platforms:
As online education and e-learning platforms grow, library systems can be
integrated with these platforms to provide easy access to course materials
and research resources. Python's flexibility can help in building connectors
and APIs for such integrations.
4. Data Analytics and AI:
Python's powerful data analytics and machine learning libraries can be used
to analyze library usage data. This can lead to better collection management,
more precise recommendations, and insights into user behavior.
5. Improved Security:
With the increasing importance of data security and privacy, library
management systems will need to incorporate robust security measures.
Python can help in building secure authentication

27
CONCLUSION

A library management system developed using Python and MySQL is an


ideal choice for a Class 12 project. It offers a comprehensive solution for
organizing, maintaining, and providing access to library resources. This
project allows students to apply their programming and database
management skills in a real-world context.
In this project, students can showcase their ability to design user-friendly
interfaces, implement data storage and retrieval systems, and create features
that improve the efficiency and functionality of a library. It also provides an
opportunity to delve into modern library practices, including the
management of digital resources, user authentication, and data security.
Moreover, a library management system project is highly relevant and
practical, as libraries remain essential for knowledge dissemination. This
project not only demonstrates technical prowess but also serves as a valuable
tool for librarians, students, and anyone looking to manage and access
information efficiently. It's a tangible demonstration of the power of
technology in simplifying and enhancing traditional processes.

28
BIBLIOGRAPHY

WEBSITES
1) Knowledgehut.com
2) Stack overflow.com
3) AskPython.com
4) The PythonCode.com
5) Programiz.com

PACKAGES AND LIBRARIES

 MySQL.connector
 Datetime(timedelta)
 Hashlib
 Sys
 Pretty table
 Tabulate

29

You might also like