0% found this document useful (0 votes)
19 views30 pages

Cs Project

This document describes a library management system project submitted by two students, Anju Jaslin and Aashi Choudhary, to their teacher Mr. Neelesh K P Pandey. The project involves creating a computerized system to manage library operations like adding, issuing, and returning books using Python and MySQL. The system will have modules for main functions, adding books, viewing books, deleting books, issuing books, and returning books. It will connect to a MySQL database containing tables for books, authors, book copies, book issues, library branches, publishers and book returns.

Uploaded by

charanjakkam551
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)
19 views30 pages

Cs Project

This document describes a library management system project submitted by two students, Anju Jaslin and Aashi Choudhary, to their teacher Mr. Neelesh K P Pandey. The project involves creating a computerized system to manage library operations like adding, issuing, and returning books using Python and MySQL. The system will have modules for main functions, adding books, viewing books, deleting books, issuing books, and returning books. It will connect to a MySQL database containing tables for books, authors, book copies, book issues, library branches, publishers and book returns.

Uploaded by

charanjakkam551
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/ 30

ARMY PUBLIC SCHOOL NO.

1
JABALPUR

ACADEMIC YEAR 2023-24

‘ COMPUTER SCIENCE PROJECT ’

LIBRARY MANAGEMENT SYSTEM

PROJECT GUIDE: SUBMITTED BY:


1. MR NEELESH K PANDEY 1. ANJU JASLIN (12006)
PGT(CS) 2. AASHI CHOUDHARY (12002)
APS NO.1 JBL
CERTIFICATE
THIS IS TO CERTIFY THAT THE PROJECT
ENTITLED, “LIBRARY MANAGEMENT” IS
BONAFIED WORK OF ANJU JASLIN (120006) AND
AASHI CHOUDHARY (12002) STUDNETS OF ARMY
PUBLIC SCHOOL N0.1 JABALPUR, FOR THE
PARTIAL FULLFILLMENT OF THE
REQUIREMENTS FOR THE COURSE OMPLETION
IN PURSUANCE OF CBSE 2023-24.

-------------------------------- --------------------------------
TEACHER IN CHARGE PRINCIPAL

-------------------------------- --------------------------------
PRACTICAL EXAMINER SCHOOL STAMP
ACKNOWLEDGEMENT
I extend my deepest appreciation to our esteemed principal,
Mrs. Naseema , for providing this golden opportunity of this
wonderful project work with unwavering support and
encouragement throughout the development of this project.

I would also like to thank our computer science teacher who


have played a crucial role in nurturing our understanding of
computer science and providing valuable insights into the
intricacies of library management systems. Their expertise and
willingness to share knowledge have been invaluable assets.

I extend my sincere thanks to my parents who have been


supportive and collaborative throughout this journey.

I would also like to express gratitude to my mates for fostering


an environment that encourages academic exploration and
innovation.
TABLE OF CONTENTS

SR DESCRIPTION
NO
1. AIM OF THE PROJECT

2. INTRODECTION

3. OBJECTIVE OF THE PROJECT

4. MODULES

5. FUNCTIONS

6. DATABASE CREATION

7. SOURCE CODE

8. OUTPUT

9. SOFTWARE AND HARDWARE


REQUIREMENTS
10. APLLICABILITY

11. BIBLIOGRAPHY
TO CREATE A
LIBRARY MANAGEMENT SYSTEM
BY ESTABLISING
CONNECTION BETWEEN
PYTHON AND MYSQL
INTRODUCTION

Library Management Systems are used to manage information


about contents in a library. They are used to manage
information relating to books, their names, codes, author
names, whether they have been issued or not and if so, who
has issued them and what their card’s ID is; a library
management system is used to store and manage all this
information.

We will create a library management system for this project


that will assist us in completing various operations such as
adding, issuing, and returning books.

It will also save the book’s issuance and return dates, as well
as the fine if the book is not returned

Overall this project of ours is being developed to help the


students as well as staff of library to maintain the library in
the best way possible and also reduce the human effort.
OBJECTIVES
This project is based on the RDBMS technology; the main
objective of this project is to computerize the manual system &
reduce the time consumption. In other words we can say that
our project has the following objectives:-

• Make all the system computerize


• Reduce time consumption
• Reduce error scope
• All system managements are automated
• Centralized database management
• Easy operations for operator of the system
• No paper work requirement
MODULES

Modules Details
Main.py This module function calls all the
other python files
Addbook.py To add the book in the library
View.py To view the list of the books in the
library
Deletebooks.py To delete the book from the library
Issuebooks.py To issue the books from the library
Returnbook.py To return the books to the library
FUNCTIONS USED
• delete_books (Assumed from delete.py):
Functionality: Delete books from the library.
Corresponding SQL Table: table_book

• View_books():
This function will be used to display all the records from our
database to our table in the GUI window, whenever we are
making any changes to the data in our database (as the data is not
automatically updated in the table).
First, we delete everything from our table (referred to as “tree” in
our code) and then we use SQL’s SELECT * query to get
everything from the table, that we will insert in our table to
update it for any changes.

• clear_fields():
This function will be used whenever there are some values in our
entry boxes in our window, which will be removed using this.
This is the only functionality in this group that is also available as
a button.

• clear_and_display():
This function is a combination of the clear_fields() and the view
_books() to help our code become cleaner and less lengthier.
• Add_books():
Functionality: Add new books to the library.
Corresponding SQL Table: table_book

• remove_record():
This is the book deletion functionality of our system.
When this function is initiated, it will read the selected
record in our GUI table, and then delete from both, our
GUI table and SQL database table using the tree.
Delete() method and DELETE query respectively.

• update():
This sub-function to the update_book() function, we do
something similar to the add_books function but we use
the UPDATE query rather than the INSERT query, and
then we revert back the changes on the window to the
original.

• issue_books (Assumed from issue.py):


Functionality: Issue books to users.
Corresponding SQL Tables: table_issue,
table_book_copies
python
DATABASE
CREATION
CREATING DATABASE IN MYSQL

1. Creating database - db _LibraryManagement


2. Creating table 1 – book
3. Creating table 2 - author
4. Creating table 3 – book copies
5. Creating table 4 - issue
6. Creating table 5 – library branch
7. Creating table 6 – publisher
8. Creating table 7– return
TABLE 1
TABLE 2

TABLE 3

TABLE 4
TABLE 5

TABLE 6

TABLE 7
SOURCE CODE
USER INPUT
OUTPUT
ADD BOOKS
ISSUE BOOKS
RETURN BOOKS
DISPLAY BOOKS
DELETE BOOKS
HARWARE REQUIREMNTS

For a basic Library Management System created using a laptop


running Windows 11, here are the hardware requirements:

1. Laptop Specifications:
- Operating System: Windows 11
- Processor: Intel Core i5 (5th generation or newer)
- RAM: At least 8 GB
- Storage: Sufficient disk space for the operating system,
development tools, and data storage.

2. Development Tools:
- Python: Required for developing the software.
- Text Editor or Integrated Development Environment (IDE):
Examples include Visual Studio Code, PyCharm.
- MySQL Database: Required for storing and managing the
library data.

3. Pendrive (USB Drive):


- Used for storing the database or any other backup data.
SOFTWARE REQUIREMENTS

1. Operating System - Python is cross-platform, and the LMS


should work on major operating systems:
- Windows 11

2. Python:
- Version: Python 3.12.1
- Download and install Python from the official website

3.MySQL Database:
- Version: MySQL 3.23.2
- Download and install MySQL Server from the official website

4. Python Modules - Tkinter: Python's standard GUI (Graphical


User Interface) toolkit.
- Included in Python standard library.
- MySQL Connector: To connect Python applications to MySQL
databases.
- Install using: `pip install MySQL-connector-python`

5. Integrated Development Environment (IDE):


- Choose a Python IDE for development. Examples include:
- PyCharm
- Visual Studio Code

6. Text Editor :
- A text editor for writing code snippets:
- Sublime Text
- Atom
- Notepad++ (Windows)
APPLICABILITY

▪ Using library management system the librarian can


catalogue and maintain all types of books, journals,
CD's etc.
▪ Provision to request for new titles, journals and
magazines.
▪ Powerful search engine allows users to find
information in the library in no time.
▪ Charge users for lost/damaged books.
▪ Automatic fine fees calculation.
▪ Newspapers attendance is maintained
BIBLIOGRAPHY

• COMPUTER SCIENCE WITH PYTHON


CLASS XII – SUMITA ARORA
• GEEKSFORPYTHON.COM
• WEKIPEDIA.COM

THANK YOU !!

You might also like