Python Project
Python Project
Collect the information about the Book-store and there also available books.
Book Store Management System is the web application to automate all kinds of operations
in the book shop
I searched the micro-project topics related to subject. Then select micro-project title.
After selection of topic searched and collected information related to selected topic. Then
complete proposal of micro project.
******************
PROJECT REPORT
ON
DIPLOMA IN
COMPUTER ENGINEERING
SUBMITTED TO
MAHARASHTRA STATE BOARD OF TECHNICAL
EDUCATION, MUMBAI
SUBMITTED BY
GUIDED BY
(Prof. Kedar A.L.)
CERTIFICATE
This is to certify that the project report entitled “Book-Store
Management System” Was successfully completed by Student of
sixth semester Diploma in Computer Engineering.
First, I say thanks to our respected Principal Mr. Kapile A.S. who always Inspire
and Cheer us for achieving the goals and objectives. His right guidelines and valuable
suggestions motivate me for doing my Duties and Responsibilities.
I would like to express our heartfelt gratitude towards those who, where
instrumental in the successful development of our project.
Without whose valuable guidance and support this project could not have been
accomplished.
I also sincerely acknowledge the help of the entire staff of the Computer
Department and our classmates whose co-operation has made my project a success.
Chapter 2 ABSTRACT
2
Chapter 3 INTRODUCTION
Chapter 11 CONCLUSION 27
Chapter 12 REFERENCES 28
CHAPTER 1
SYNOPSIS
The main problem and motivation is basically lack of information about various
books. This project is based on the various information related to the books and the
workers which are prevent in the Store.
It is becoming very difficult to maintain records manually. Software system easily does
the job of maintaining daily records as well as the transaction according to the user
requirements. Only basic knowledge of computers is required for operations. The software
system consists of all information of books and sold to the customer. The proposed system
provides lots of facility to the user to store information of the books and it provide information
in quick time in systematic manner. The processing time on the data is very fast.
It provides required data quickly to the user and also in specified manner to the user.
There is lot of duplicate woks, and chance of mistake when the records are changed they need
to update each and every excel file. There is no option to find and print previous saved records
there is no security; anybody can access any report and sensitive data. This Bookshop
management system is used to overcome entire problem which they are facing currently, and
making complete atomization of manual system to computerized system.
Book Store Management System is the web application to automate all kinds of
operations in the book shop. The purpose of this software is to manage the books in the book
store. Generally, it includes the Order Processing, Stock Management and Accounts
Management. We developed this software to maintain records of sales, purchase and staff
records. This project developed in python. Here we are try to develop such type system which
is provide the automation on the any type of the bookshop. That means a shop which has the
type system which provides the facility to the customers of the shop to purchase the books
from the shop without any complexity.
At the start of the business, the books store owner buys the book from the dealers. All
the name of the books is noted down in the software along with rate. In the present system user
has to do all work manually. In present system during issuing order of more stock, the product
register is required to check to availability of stock in hand. And it takes time to check records.
The amount paid to a particular dealer from whom the book was bought is also saved in
the dealers tab. In present book store management system, to generate the reports based on the
management requirement, will require extensive searching of records. In case of Supplier and
Staff Record Management, the registers need to be updated time to time as information (like
Phone No., Address) changes frequently. The stock section gives the total number of book
stocks available in the store. When a customer buys a book from the store, a bill is generated.
The bill contains the name of the book purchased, rate per book, quantity, total rate and the
total amount. For example any customer want to purchase any book from the shop than first of
all customer just choose the stream of the book than he/she can see the more than one type of
books there and then he/she can choose the specific book from there. And then purchase it by
paying price on bookshop cash counter and receives its invoice.
This Book Shop Management System is used to overcome the entire problem which
they are facing currently, and making manual system to computerized system. Purposed Book-
Store Management system should help the customers query whether a book in a stock the user
can query the availability of a book either by using the book title or by using the name of
author. The objective and scope of my Project Book Shop Management System is to record the
details various activities of user. It simplifies the task and reduces the paper work. Book store
management system should generate sales statistics (book name, publisher, ISBN number,
number of copies sold and the sales revenue) for any period.
If customer request for a book and the book is not currently sold by the bookshop, then
the customer is asked to enter the full detail of the book for procurement of the book by the
bookshop. If the requested book is in stock, the exact number of copies available and the rack
number in which the book is located should be displayed. If a book not in the stock, the query
for the book is used to increment a request field for the book. In purposed system, As soon as
customer selects his book for purchase, the sale clerk would enter the ISBN number of the
books. Book store management system should update the stock and generate the sales receipt
for the book.
1. Admin Module
2. Book Details Module
3. Customers Details Module
4. Employee Details Module
5. Supplier Details Module
6. Purchase Details Module
7. Reports Module
• Hardware Requirement:
• Software Requirement:
I. Windows 10
• Economic Feasibility: Economic feasibility study related with price, and all kind of
expenditure related with the scheme before the project start. This study also improves
project reliability. It is also helpful for the decision-makers to decide the planned
scheme processed latter or now, depending financial condition of the organization. This
evaluation process also studies the price benefits of the proposed scheme.
• Legal Feasibility: Legal feasibility study is use to conclude whether the proposed plan
or system is conflicts with the national or international legal requirements. Protection
Acts simply use to decide the any violation the legal requirements. It is also a planned
method.
• Operational Feasibility: Operational Feasibility may employ the responsibility to
examine and also decide whether the proposed methods fulfill all kind of business
requirements. It actions forecast all possible schemes to recognized and resolves
troubles. These studies may also examine and verify how the project planned guarantee
the method development is feasible or not.
• Scheduling Feasibility: A very significant part of feasibility study is scheduling
Feasibility. It is also play important roles to complete the project in its schedule time
The main objective of this project is to create an Electronic Book Store allows user to
search and purchase a book online based on category, author and subject. The selected books
are displayed and the user can order their books online through cash or DBBL. The
administrator will have additional functionalities when compared to the common user. The
motivation to create this project has many sources:
• Interest to develop a good user friendly website with many online transactions using
a database.
There are many online book stores like Powell’s, Amazon which were designed using
HTML.I want to develop a similar website using Python. Online Book Store is an online web
application where the customer can purchase books online.
6.3.1 Bookstore.py
6.3.3 oop_app/bookstore/oopFrontend.py
6.3.4 oop_app/bookstore/oopBackend.py
import sqlite3
class Database:
def init (self, db):
self.conn =sqlite3.connect(db)
self.cur= self.conn.cursor()
self.cur.execute("CREATE TABLE IF NOT EXISTS books1 (id INTEGER PRIMARY
KEY, title text, author text, year integer, isbn integer) ")
self.conn.commit()
def insert(self,title, author, year, isbn):
self.cur.execute("INSERT INTO books1 VALUES(NULL, ?,?,?,?)", (title,author,year,isbn))
self.conn.commit()
def view(self):
self.cur.execute("SELECT * FROM books1") rows =self.cur.fetchall()
return rows
def search(self,title="", author="", year="", isbn=""):
def delete(self,id):
self.cur.execute("DELETE FROM books1 WHERE id=?",(id,))
self.conn.commit()
def update(self,id, title, author, year,isbn ):
self.cur.execute("UPDATE books1 SET title=?, author=?, year=?, isbn=? WHERE
id=?",(title, author, year, isbn,id))
self.conn.commit()
def del (self):
self.conn.close()
6.4.5. opp_app/account/account.py
class Account():
def init (self, filepath):
self.filepath = filepath
with open(filepath, 'r') as file:
self.balance = int(file.read())
account =
Account("ballance.txt")
print(account.balance)
account.deposit(200)
print(account.balance)
account.commit()
2. Unit Testing
3. Integration Testing
4. System Testing
5. Regression Testing
The primary goal of unit testing is to take the smallest piece of testable software in the
application, isolate it from the remainder of the code, and determine whether it behaves exactly
as you expect.Each unit is tested separately before integrating them into modules to test the
interfaces between modules. Unit testing has proven its value in hat a large percentage of
defects are identified during its use.
Integration testing is a logical extension of unit testing. In its simplest form, two units
that have already been tested are combined into a component and the interface between them is
tested. A component, in this sense, refers to an integrated aggregate of more than one unit. In a
realistic scenario, many units are combined into components, which are in turn aggregated into
even larger parts of the program.
The idea is to test combinations of pieces and eventually expand the process to
test your modules with those of other groups. Eventually all the modules making up a
process are tested together. Beyond that, if the program is composed of more than one
process, theyshould be tested in pairs rather than all at once.
System testing is black box testing, performed by the test team, and at the start of the
system testing the complete system is configured in a controlled environment. The purpose of
system testing is to validate an application’s accuracy and completeness in performing the
functions as designed.
System testing simulates real life scenarios that occur in a “simulated real life” test
environment, and tests all functions of the system that are required in real life. System testing
is deemed complete when actual results and expected results are either in line or differences
are explainable or acceptable, based on client input.
Any time you modify an implementation within a program, you should also do
regression testing. You can do so by rerunning existing tests against the modified code to
determine whether the changes break anything that worked prior to the change and by writing
new tests where necessary.
Adequate coverage without wasting time Try to spend as little time as possible doing
regression testing without reducing the probability that you will detect new failures in old,
already tested code.
APPLICATION
FUTURE SCOPE
This software can be easily implemented under various situations. Any education
institute can make use of it for providing information about author, content of the available
books in their library. Modifications can be easily done according to requirements and when
necessary. It can be used in any type of Book Shop for managing all the sales and purchased
activities and managing the data records related to Book House.
Though the system has been designed according to the requirements of the users it has its own
This system computerizes the Book Store management process in any book store. It
manages the different operations in book shop such as maintain record of available books.
Available Employees, keeps records of sales & purchase and view progress of employee. It
has the searching option along with the managing capability. New features and modules can be
added into the system as per user requirements.
1. ………………………………………………………………………………………………………………………………..
2. ………………………………………………………………………………………………………………………………..
3. ………………………………………………………………………………………………………………………………..
4. ………………………………………………………………………………………………………………………………..
a) Practical Outcomes………………………………………………………………………………………......
…………………………………………………………………………………………………………………………..
b) Unit Outcomes in Cognitive domain…………………………………………………………………..
…………………………………………………………………………………………………………………………..
…………………………………………………………………………………………………………………………..
…………………………………………………………………………………………………………………………..
c) Outcomes in Affective Domain…………………………………………………………………………..
…………………………………………………………………………………………………………………………..
…………………………………………………………………………………………………………………………..
…………………………………………………………………………………………………………………………..
…………………………………………………………………………………………………………………………..
Prof. Kedar A. L.