0% found this document useful (0 votes)
8 views8 pages

Bookstore Project5

flow chart for book store management

Uploaded by

neharajeev765
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)
8 views8 pages

Bookstore Project5

flow chart for book store management

Uploaded by

neharajeev765
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/ 8

1.

INTRODUCTION
This project BOOKSTORE SYSTEM includes some facilities for the retail
book store to maintain records of the books and also search, display,
modification, delete the books available. This software searches the books
data which is store in the record.
The software used for small shops for maintaining their records related to
books selling, printing the reports and cost savings. Book distributers
transaction handling is one of the complex process and it required
computerised system to maintain overall transaction in an easier manner.
Due to heavy demand of books in these competitive worlds, data increase so
much. Books store required up to date information about the customer who
purchased books or about the suppliers from where books are purchased. The
books store requires large amount of data to record and to store, which are
collected from the Book House.
In this project, we will develop an Inventory Management System (IMS)
using Python and Mysql. This system will provide an interface for
businesses to manage their inventory with features like adding new products,
updating product details, deleting obsolete products, viewing current stock
levels, and generating basic reports.

1
2. System Requirements
2.1. Software requirements:
Operating system: Windows 10 & above any Linux platform
Editor: Visual Studio Code or any other editor like Python IDLE, i5 5th
generation, Sublime Text that supports python.
Core software: Python 3.12 or 3.13 or the latest available version at the time
of installation.
2.2 Hardware requirements:
Processor: PENTIUM-IV GHz or any INTEL Processor minimum (i5, 5th or 6th
processor) and above.
Ram: Minimum requirement (8 GB, 128 GB SSD)
Hard disk: Minimum of 20 GB of space any make of your choice.

2
2. FLOW CHART

START

Import mysql.connector as happiness


mycon=happiness.connect(host=’localhost’,user=’roo
t’,passwd=’root’)
cursor=mycon.cursor()
cursor.execute(“create database if not exists
bookstore”)
cursor.execute(“use bookstore”)

print(“””====MY
BOOKSTORE===”””)

cursor.execute(“create table if not exists


available_books(book_id int primary key, genre
varchar(50),edition int,book_name varchar(90),publisher
varchar(90),price int)”)
cursor.execute(“create table if not exists
customer_details(name varchar(90),gender varchar(20),age
int,phone_number int unique key,address varchar(90))”)
mycon.commit()

3
while(True):

print(“”1:add books
2:delete books
3:search books
4:update books
5:customer details
6:available books
7:exit””)
a=int(input(“enter your choice
”)

if
a==1:(add)

print(“All information prompted are mandatory to be filled”)


b_id=int(input(“enter book id”))
genre=input(“genre:”)
edition=int(input(“enter edition:”)
name=input(“enter book name:”)
price=int(input(“enter the price:”))
pub=input(“enter publisher:”)

4
elif
a==2:(delete
book)

Bname=input(“enter book name


to delete:”)
print(“++++++++++++++SUCES
SFULLY
DELETED++++++++++++++”)

elif a==3:(search
book)

print(“””1:search by book name


2:search by book genre
3:search by publisher”””)
L=int(input(“search by ?:”)

If l==1:(search by book name)

5
o=input(“enter book name to search:”)
print(++++++++++++BOOK IS IN
STOCK++++++++++++”)

elif l==2:(search
by book genre)

g=input(“enter book genre to search:”)


print(“””+++++++++BOOK IS IN
STOCK+++++++++”””)

elif
l==3:(search by
publisher)

Au=input(“enter publisher to search:”)


print(“””+++++BOOK IS IN
STOCK+++++”””)

6
elif
a==4:(UPDATE
PRODUCT)

print(“1:By edition”)
print(“2:By price”)
cr=int(input(“enter your
choice”))

if cr==1:

Name=input(“enter the book name


whose edition needs to be updated:”)
print(“”UPDATE ROW”)
print(“SUCESSFULLY
UPDATED”)

elif cr==2:

7
8

You might also like