My Report
My Report
My Report
Library ManageMent
SySteM
uSing Python & MySQL
DeveLoPeD by:-
BOARD NAME BOARD REG.NO. CLASS
ROLL NO
26630549 VINAYAK RAJ
A PROJECT REPORT
ON
SUBMITTED BY
BOARD ROLL NO NAME BOARD REG.NO. CLASS
26630549 VINAYAK RAJ XII-A
………………………… ……………………………..
I undertook this Project work, as the part of my course. I had tried to apply
my best of knowledge and experience, gained during the study and class
work experience. However, developing CUI AND PYTHON CODE is generally
a quite complex and time-consuming process. It requires a systematic study,
insight vision and professional approach during the design and development.
Moreover, the developer always feels the need, the help and good wishes of the
people near you, who have considerable experience and idea.
I would like to take the opportunity to extend my sincere thanks and gratitude to
my father and my motherfor being a source of inspiration and providing time and
freedom to develop this PYTHON project.
I also feel indebted to my friends Master SHUBHAM RAJ and Miss SHRUTI
SINHA for the valuable suggestions during the project work.
VINAYAK RAJ
CLASS:-XII ‘A’
ContentS
1. introDuCtion ----------------------------------------------------------------------------------- 1
8. reFerenCeS ---------------------------------------------------------------------------------- 33
1. introDuCtion
This software, being simple in design and working, does not require much of training to
users, and can be used as a powerful tool for automating a Library System.
During coding and design of the software Project, IDLE Python, a powerful front-end
tool is used for getting Command Line User Interface (CUI) based integrated platform
and coding simplicity. As a back-end a powerful, open source RDBMS, MySQL is used
as per requirement of the CBSE curriculum of Informatics Practices Course.
1
2. obJeCtive & SCoPe oF the ProJeCt
The objective of the software project is to develop a computerized MIS to automate the
functions of a Library. This software project is also aimed to enhance the current record
keeping system, which will help managers to retrieve the up-to-date information at right
time in right shape.
To provide a user friendly, Command Line User Interface (CUI) based integrated
and centralized environment for MIS activities.
The proposed system should maintain all the records and should generate the
required reports and information when required.
To provide graphical and user-friendly interface to interact with a centralized
database based on client-server architecture.
To identify the critical operation procedure and possibilities of simplification using
modern IT tools and practices.
In its current scope, the software enables user to retrieve and update the information from
centralized database designed with MySQL. This software does not require much training
time of the users due to limited functionality and simplicity.
During the development of sports shop project, IDLE Python, a powerful, open source
event-driven form-based development environment is used for modular design and future
expandability of the system.
Despite of the best effort of the developer, the following limitations and functional
boundaries are visible, which limits the scope of this application software.
This software can store records in pre-designed format in soft copy. There is no facility
yet to produce customized reports. Only specified reports are covered.
So far as future scope of the project is concerned, firstly it is open to any modular
expansion i.e. other modules or functions can be designed and embedded to handle the
2
user need in future. Any part of the software and reports can be modified independently
without much effort.
3
3. theoretiCaL baCKgrounD
Fig:-Database
4
DiFFerent Data MoDeLS
A data model refers to a set of concepts to describe the structure of a database.
Four data models that are used for database management are:
5
Fig-Relational Database
A DBMS refers to a software that is responsible for storing , maintaining and utilizing databases. A
database along with a DBMS is referred to as a database system
Fig-DBMS
6
3.2 What is MySQL ?
The management of data in a database system is done by means of a general-purpose
software package called a Database Management System (DBMS).
MySQL, the most popular Open Source SQL database management system, is developed,
distributed, and supported by Oracle Corporation. MySQL is named after co-founder
Micheal Widenius(a.k.a Monty).MYSQL has been named after Monty’s Daughter
My.The logo of MYSQL, the dolphin ,is named as “Sakila”.
MYSQL Database System refers to the combination of a MYSQL server server instance
& MYSQL database.MYSQL operates using client/server architecture using in which the
server runs on the machine containing the database and clients connect to the server over
a network.Typically MYSQL is supported on windows xp, windows server 2003 Linux
and other operating system.MYSQL is a multi-user database system, meaning several
users can access the database simultaneously.
In order to access data within the MYSQL database, all programs and users must use,
Strutured Query Language(SQL).It is a language that enables you to create and operate
on relational databases.
7
Classification of SQL statements-
iv) Data Control Language (DCL) - These SQL commands are used for providing
security to database objects. These commands are GRANT and REVOKE.
8
2000 introduced new features such as list comprehensions, and a garbage collection system with reference
counting.
Python was conceived in the late 1980s by Guido van Rossum at Centrum Wiskunde & Informatica
(CWI) in the Netherlands as a successor to ABC programming language, which was inspired by SETL,
capable of exception handling and interfacing with the Amoeba operating system. Its implementation
began in December 1989.
Python 2.0 was released on 16 October 2000 with many major new features, including a cycle-detecting
garbage collector and support for Unicode.
Python 3.0 was released on 3 December 2008. It was a major revision of the language that is not
completely backward-compatible. Many of its major features were back ported to Python 2.6 and 2.7
version series.
Python 2.7's end-of-life date was initially set at 2015 then postponed to 2020 out of concern that a
large body of existing code could not easily be forward-ported to Python 3. With Python 2's end-
programming are fully supported, and many of its features support functional programming and
aspect-oriented programming and metaobjects. Many other paradigms are supported via
extensions, including design by contract and logic programming.
The language's core philosophy is summarized in the document The Zen of Python
9
• Complex is better than complicated.
• Readability counts.
Rather than having all of its functionality built into its core, Python was designed to be
highly extensible. This compact modularity has made it particularly popular as a means
of adding programmable interfaces to existing applications.
An important goal of Python's developers is keeping it fun to use. This is reflected in the
language's name—a tribute to the British comedy group Monty Python[67]—and in
occasionally playful approaches to tutorials and reference materials, such as examples
that refer to spam and eggs (from a famous Monty Python sketch) instead of the standard
foo and bar.[68][69]
10
4. ProbLeM DeFinition & anaLySiS
The hardest part of building a software system is deciding precisely what to build. No
other part of the conceptual work is so difficult as establishing the detailed technical
requirement. Defining and applying good, complete requirements are hard to work, and
success in this endeavor has eluded many of us. Yet, we continue to make progress.
Problem definition describes the What of a system, not How . The quality of a software
product is only as good as the process that creates it. Problem definition is one of the
most crucial steps in this creation process. Without defining a problem, developers do not
know what to build, customers do not know what to expect, and there is no way to
validate that the built system satisfies the requirement.
After the analysis of the functioning of a Library management system, the proposed
System is expected to do the following: -
To provide a user friendly, Command Line User Interface (CUI) based integrated
and centralized environment for computerized Bakery management System.
The proposed system should maintain all the records and transactions, and should
generate the required reports and information when required.
To provide graphical and user-friendly interface to interact with a centralized
database based on client-server architecture.
11
5. SySteM iMPLeMentation
12
6. SySteM DeSign & DeveLoPMent
This software project maintains a database named LIBRARY_MANAGEMENT which contains the
following tables.
Table Design:
The database of Library Management System contains 3 tables. The tables are normalized to minimize
the redundancies of data and enforcing the validation rules of the organization. Most of the tables are
designed to store master records. The tables and their structure are given below.
Table: BOOKS
Table:ISSUE
13
Table:SUBMIT
14
CHECK USER
15
ADD BOOKS
ISSUE BOOKS
16
SUBMIT BOOKS
DELETE BOOKS
17
DISPLAY BOOKS
UPDATE BOOKS
18
HEADING
MAIN MENU
19
20
*********************************
21
OUTPUT
22
23
**********************
24
GRAPHICAL REPRESENTATION
*****************************
25
7. uSer ManuaL
7.1 How to install Softwares:
26
6) Software will start installing as shown above.
7) The above window will appear after the successful installation of software.
27
4) Accept the Agreement and click on Next Button.
28
7) Click on Finish Button to complete the installation.
29
10) Select option Developer Machine and click on Next Button.
30
13) Give port number for MYSQL and click on Next Button.
31
16) Click on Execute Button then click on Finish Button
32
8. bibLiograPhy
(3) http://www.mysql.org/
(4) http://www.learnpython.org/
(5) www.sololearn.com
(6) Informatics Practices for class XII
-by Sumitra Arora
(7) Together with Informatics Practices
33