Вы находитесь на странице: 1из 30

TITLE: PHARMACY STORE

CHAPTER 1

INTRODUCTION
1.1 COURSE OBJECTIVES
 This is the user friendly application for the pharmacist it reduces the burden and
helps to maintain all the sections of the pharmacy such as medicine, billing.
 In this pharmacy store this will manage the billing or inventory process, including
safest data stores about the medicine it searches fastly and update of medicines.
 In the pharmacy store it is easy to use the user can do pharmacy, actions without
the ambiguities etc.,
 This will minimize time and the resources by which we search the medicines
information you can get the information or data very quickly/quickest time.
 The pharmacy store is used because of ensuring, effective, clear information or data
saving as well as work on the pharmacy medical.
 The list of medicines (drugs) dispensed to the patient that can be viewed for the
monitoring also it will be able to generate the reports of the patient of the list of
medicines (drugs).

1.2 PROBLEM DEFINITION

The pharmacy store project is written in python. The purpose of this pharmacy store is to
improve the maintenance and manipulation of the medicine in the medicals. This project
will minimize the time and resource by maintaining the details of the medicine
systematically so that the data can be used in possible quickest time. While the resource
which is minimized is workforce, money, paper etc.
The system is user-friendly and will help the pharmacist. The project will reduce the burden
on pharmacist or user and will make the system efficient by providing the more accurate
details about medicine.

Dept. of CSE, NHCE 1


TITLE: PHARMACY STORE

This project manages all the information about medicines, company, sells, and medicines.
The purpose of this project is to build an application program to reduce the manual work
for managing the medicines, stocks, company, and inventory. It tracks all the details about
the inventory, pharmacy, sells.

1.3 OUTCOMES

In this project provides the searching facilities based on various factors. Such as medicines,
inventory, pharmacy and sells. The transactions are executed in offline mode, hence online
data for medicines, stocks and it also tracks all the information about the stocks, company,
pharmacy manage the information of stocks shows the information and description of the
medicines and the inventory.
All the fields such as the medicines, inventory, sells are validated and does not take invalid
values it also generates the report on medicines or tablets, stocks, and company scope of
python is growing day by day. In this pharmacy report we can report all the reports of
pharmacy in this.
Sells report it generates reports related to sells stocks report in this you can generate
filtered of stocks, pharmacy, inventory sells, company, medicines has facility from dynamic
search so you can filter the records run time. To do this pharmacy project we are using
python. The main modules available in this project are pharmacy module which manages
the functionally of pharmacy.

Dept. of CSE, NHCE 2


TITLE: PHARMACY STORE

CHAPTER 2

REQUIREMENTS SPECIFICATION
2.1 HARDWARE SPECIFICATIONS:-
Processor: Intel i3 or greater
RAM: 512 MB or more
Hard disk: 256gh or more

2.2 SOFTWARE REQUIREMENTS:-


 Operating system : windows 7 or higher
 Language : python
 IDE : Pycharm, jupyter notebook etc.
 Backend : Mysql workbench 8.0
 Frontend : Tkinter in python using Thonny or pycharm

Dept. of CSE, NHCE 3


TITLE: PHARMACY STORE

CHAPTER-3

DATA MODELS AND ER MODEL

Fig 3.1 ER-DIAGRAM

Dept. of CSE, NHCE 4


TITLE: PHARMACY STORE

3.1 DATA MODELS AND ER MODELS:


A data model is a type of model which determines the logical flow of data and the storage
of data in the database and tells how to manipulate the data in the database or from the
database.

3.1ENTITIES AND ATTRIBUTES:

Car care database has 5 entities. They are as follows.

 CUSTOMER

 MEDICINE

 BILLING

 STOCK

 COMPANY

The CUSTOMER entity has the following attributes – cid, cname, mname, units, phone no.

The MEDICINE entity has the following attributes – mid, mname, mcompany, mcost, mdose

The BILLING entity has the following attributes – a unique bid, bnum, bitems

The STOCK entity has the following attributes – sid, snum, sitems

The COMPANY entity has the following attributes – comid, com_name, com_type

3.2 Keys:

An attribute or combination of attribute which will be used to determine the attributes of a


table or when we join the tables, the entity or entities which participate in this is called as a
key. There are many types of keys

i) Primary key is used to determine the other attribute of the tables uniquely.
ii) Foreign key is used to derive the primary key values to another tables as foreign
values, hence it is called as the foreign key.

Dept. of CSE, NHCE 5


TITLE: PHARMACY STORE

Each EMPLOYEE is identified by unique employee id.

CUSTOMERS are identified by unique customer id.

BILLING is identified by bill number.

STOCK is identified by unique stock id.

COMPANY is identified by unique company id.

3.3 RELATIONSHIP AND PARTICIPATION:


All the tables in the database are related to each other by means of a relation. And the
participation tell the presence of the entity in the relation. There are two types of
participation – This participation tell that in an relation an entity is participating with ‘n’
times presence in the relation.1 – This participation tell that in an relation the entity have
only one presence.

i) The relationship buys between CUSTOMER and MEDICINE is having CR ratio


M:N(many to many)many customer can buy many medicines and many
medicines will be given to many customer where customer is totally
participating and medicine is totally participating.
ii) The relationship manage between MEDICINE and BILLING is having CRatio
1:N(one to many).one employee can generate N bills and a bill can be generated
by only one MEDICINE where bill is totally participating and medicine is partially
participating in the relationship.
iii) The relationship provided_by between MEDICINE and STOCK is having Cratio
M:N(many to many). MEDICINE can provide m services and service can be done
by n employees where both are totally participating in the relationship.
iv) The relationship has between COMPANY and STOCK is having ratio 1:N(one to
many). A one company can have many stocks and stocks can have many
companys where stock is totally participating in the relationship and company is
partially participating
v) The relationship owns between BILLING and COMPANY is having CR ratio
1:N(one to many).one car can be owned by one billing and one company can

Dept. of CSE, NHCE 6


TITLE: PHARMACY STORE

own many cars where both customer and car are totally participating in the
relationship.

3.4 PROBLEM STATEMENT

The purpose of this Pharmacy store project is to improve the maintenance and
manipulation of the drugs in the medicals. The pharmacy management system will be used
to minimize the time and resource by maintaining the details of the drug systemically so
that the data can be used in possible quickest time. While the resource which is minimized
are workforce, money, papers, etc. The system is user-friendly and will help the
pharmacist. This Pharmacy Management System will reduce the burden on pharmacist and
will make the system efficient by providing the more accurate details about drugs in the
medical.
The pharmacy store project is written in python. The purpose of this pharmacy store is to
improve the maintenance and manipulation of the medicine in the medicals. This project
will minimize the time and resource by maintaining the details of the medicine
systematically so that the data can be used in possible quickest time. While the resource
which is minimized is workforce, money, paper etc.
The system is user-friendly and will help the pharmacist. The project will reduce the burden
on pharmacist or user and will make the system efficient by providing the more accurate
details about medicine.
This project manages all the information about medicines, company, sells, and medicines.
The purpose of this project is to build an application program to reduce the manual work
for managing the medicines, stocks, company, and inventory. It tracks all the details about
the inventory, pharmacy, sells.

Dept. of CSE, NHCE 7


TITLE: PHARMACY STORE

CHAPTER 4

RELATIONAL MODEL CONCEPTS AND SCHEMA

Fig 4.1 – RELATIONAL SCHEMA

Dept. of CSE, NHCE 8


TITLE: PHARMACY STORE

CREATE TABLES

CUSTOMER

Create table customer(cid int(10), cname varchar(10),mname varchar(15),units


int(10),constraints PK1 primary key(cid));

MEDICINES

Create table medicines(mid int(10), mname varchar(10), mcompany varchar(15),mcost


int(7),mdose int(10),constraint PK2 primary key(mid),constraint FK1 foreign key(bid)
references billing(bid));

BILLING

Create table billing(bid int(10),bitems int(10),bnum int(15),btype varchar(7),constraint PK3


primary key(bid));

COMPANY

Create table company(comid int(10),com_name varchar(10),com_type


varchar(15),constraint PK4 primary key(com_id));

STOCK

Create table stock(sid int(10),sno int(10),sitem int(10),stype varchar(15),com_id


int(15),constraint PK5 primary key(sid),constraint FK2 foreign key(com_id) references
company(com_id));

BUYS

Create table buys(cid int(10),mid int(10),constraint FK3 foreign key(cid) references


customer(cid),constraint FK4 foreign key(mid) references medicine(mid));

HAVE

Create table have(mid int(10),sid int(10),constraint FK5 foreign key(mid) references


medicine(mid),constraint FK6 foreign key(sid) references stock(sid));

Dept. of CSE, NHCE 9


TITLE: PHARMACY STORE

CHAPTER 5

SQL (structured query language)


SQL is a structured query language. In this project, backend of the project is database. So
SQL is a open source available software, which manages the database. For this project by
using create database command car database is created. In which all the tables required
for car care project is stored. Mysql is used as backend.

Backend of the project, database car is created. All tables such as car, customer, employee,
service and bill are stored. Database and python gui are connected with the help of mysql-
connector. Whenever there is a addition, deletion or updation through gui the change will
be reflected on database too.

BENEFITS:-

 Its easy to use


 Its secure
 It’s inexpensive
 It’s fast
 It’s scalable
 It manages memory very well
 It supports Novell cluster services

MySQL is the world’s most popular open source database,enabling the cost effective
delivery of reliable, high performance and scalable web-based and embedded database
applications.

MySQL is easy to use, yet extremely powerful, secure and scalable. And because of its small
size and speed.

Dept. of CSE, NHCE 10


TITLE: PHARMACY STORE

CHAPTER 6

PYTHON FEATURE
6.1 EASY TO CODE AND READ

It is a high level programming language. It is very easy to learn compared to other


programming languages. The python code is very simple and user friendly. A lay man can
learn the basics in few hours or days and start developing applications. Python is a
development friendly language.

6.2 EXPRESSIVE

First, let’s learn about expressiveness. Imagine that we have two languages P and Q, and all
programs that can be made in P can be made in Q using local transformations. There are
some programs that can be made in Q, but not in P, using local transformations. Then, Q is
said to be more expressive than P. This programming language provides us with a myriad
of constructs that help us focus on the solution more rather than that on the syntax. This is
one of the best and most impressive python features that tell you why one should learn
Python.

6.3 PROTABLE

Let’s assume that a user has written a code for his Windows machine. Now if he has to run
the same code in Mac then he will have to make changes to the code. But when it comes to
Pythons that’s not a problem. One can take a python code and run it on any machines
without making and changes provided user avoid and system dependent feature. This
makes it a portable language.

Dept. of CSE, NHCE 11


TITLE: PHARMACY STORE

6.4 HIGHLEVEL

Python is a highl evel language. Which basically means that’s the programmers need not
remember the system architecture nor does the programmer have to manage the memory.
This makes it more programming friendly which is one of the main features of this
programming language.

6.5 LARGE STANDARD LIBRARY

When we download python, it downloads with a large library that one can use so he
does’nt have to write his own code for every single thing. There are libraries for regular
expressions, documentation-generation, unit-testing, web browsers, threading, databases,
CGI, email, image manipulation, and a lot of other functionality.

6.6 PYTHON IS PORTABLE LANGUAGE:

Python language is also a portable language.for example, if we have python code for
windows and if we want to run this code on other platform such as Linux, Unix and Mac
then we do not need to change it, we can run this code on any platform.

6.7 PYTHON IS INTEGRATED LANGUAGE:

Python is also an integrated language because we can easily integrated python with other
language like c, c++ etc.

6.8 INTERPRETED LANGUAGE:

Python is an Interpreted Language. Because python code is executed line by line at a time.
like other language c, c++, java etc there is no need to compile python code this makes it
easier to debug our code. The source code of python is converted into an immediate form
called byte code.

Dept. of CSE, NHCE 12


TITLE: PHARMACY STORE

CHAPTER 7

TKINTER WIDGETS
Tkinter is standard GUI library for Python. When combined with Tkinter, Python provides a
fast and easy way to create GUI applications. Tkinter provides a powerful object-oriented
interface to the Tk GUI toolkit. Some of the GUI Widgets provided by Tkinter are as follows:
1. Button
2. Label
3. Entry
4. Menu
5. Message box

7.1 BUTTON
The Button widget is used to add buttons in your application.
The general syntax is: “w=Button(master, option=value)” , master is the parameter used to
represent it.

FIG 7.1 Button

7.2 LABEL
This widget implements a display box where you can place text or images. The text
displayed by this widget can be updated at any time you want.
The general syntax is:
W = Label ( root, option, …)

FIG 7.2 label

Dept. of CSE, NHCE 13


TITLE: PHARMACY STORE

7.3 ENTRY
Entry is used to input the single line text entry from the user and For multi-line text input,
Text widget is used. The general syntax is:
“w=Entry(master, option=value)” , master is the parameter used to represent the parent
window.

FIG 7.3 Entry

7.4 MENU
The Menu widget will be used to provide various commands to a user and These
commands are contained inside Menubutton. It is a part of top-down menu which stays on
the window all the time. For Every menubutton has its own functionality. The general
syntax is “w = MenuButton(master, option=value)” ,where master is the parameter used to
represent the parent window.

Dept. of CSE, NHCE 14


TITLE: PHARMACY STORE

7.5 MESSAGE BOX


The Message widget will be used to display multi line text fields for accepting values from
user and Its work is same as Label.
The general syntax “w = Message(master, option=value)” ,where master is the parameter
used to.

Dept. of CSE, NHCE 15


TITLE: PHARMACY STORE

CHAPTER 8

IMPLEMENTATION
def restart_program():
python = sys.executable
os.execl(python, python, * sys.argv)

def create_medicine_table():
c.execute('CREATE TABLE IF NOT EXISTS Medicine(Id INTEGER PRIMARY KEY, Name
VARCHAR NOT NULL, Company VARCHAR NOT NULL, Cost INTEGER NOT NULL) ')

def create_bill_table():
c.execute('CREATE TABLE IF NOT EXISTS Bill(Id INTEGER PRIMARY KEY, Buyer VARCHAR
NOT NULL, MedicineName VARCHAR NOT NULL, UnitsBought INTEGER NOT NULL) ')

def insert_medicine( name, company, cost):


create_medicine_table()
c.execute('INSERT INTO Medicine(Name, Company, Cost) VALUES(?,?,?)',(name, company,
cost))
conn.commit()
messagebox.showinfo(title = "Success", message = "New medicine successfuly added to
database")
restart_program()

def insert_bill(buyer, mname, units):


create_bill_table()
c.execute('INSERT INTO Bill(Buyer, MedicineName, UnitsBought) VALUES(?,?,?)',(buyer,
mname, units))
conn.commit()
messagebox.showinfo(title = "Success", message = "New bill successfully added to
database")
restart_program()

Dept. of CSE, NHCE 16


TITLE: PHARMACY STORE

class PharmacyStore(tk.Tk):
def __init__(self, *args, **kwargs):
tk.Tk.__init__(self, *args, **kwargs)
tk.Tk.wm_title(self, "Pharmacy Store")
container = tk.Frame(self)
container.pack(side="top", fill ="both", expand= True)
container.grid_rowconfigure(0, weight=1)
container.grid_columnconfigure(0, weight=1)
self.frames = {}
for page in (StartPage, Pageone, Pagetwo, Pagethree, Pagefour, Pagefive):#, Pagesix):
frame = page(container, self)
self.frames[page] = frame
frame.grid(row=0, column=0, sticky="nsew")
self.show_frame(StartPage)
def dynamic_page(self, page, parent, var):
if var is not None:
self.frames[page] = page(parent, self, var)
def show_frame(self, cont):
for frame in self.frames.values():
frame.grid_remove()
frame = self.frames[cont]
frame.grid()
frame.tkraise()
class StartPage(tk.Frame):
def __init__(self, parent, controller):
tk.Frame.__init__(self,parent)
label = tk.Label(self, text="MAIN MENU", font = HEADING_FONT)
option1 = tk.Label(self, text="Add a Medicine to DataBase", font = LARGE_FONT)
option2 = tk.Label(self, text="Buy a Medicine", font = LARGE_FONT)
option3 = tk.Label(self, text="Details Of Specific Medicine", font = LARGE_FONT)

Dept. of CSE, NHCE 17


TITLE: PHARMACY STORE

option4 = tk.Label(self, text="Display All Medicines", font = LARGE_FONT)


option5 = tk.Label(self, text="Display All Billings", font = LARGE_FONT)

label.grid(row=0, columnspan= 3,padx = 20, pady=20)


option1.grid(row=1,column=1,padx = 20, pady=20)
option2.grid(row=2,column=1,padx = 20, pady=20)
option3.grid(row=3,column=1,padx = 20, pady=20)
option4.grid(row=4,column=1,padx = 20, pady=20)
option5.grid(row=5,column=1,padx = 20, pady=20)

button1 = ttk.Button(self, text="...",


command= lambda: controller.show_frame(Pageone))
button1.grid(row=1, column=2, sticky = "es",padx = 20, pady=20 )
button2 = ttk.Button(self, text="...",
command= lambda: controller.show_frame(Pagetwo))
button2.grid(row=2, column=2, sticky = "es",padx = 20, pady=20 )
button3 = ttk.Button(self, text="...",
command= lambda: controller.show_frame(Pagethree))

button3.grid(row=3, column=2, sticky = "es",padx = 20, pady=20 )


button4 = ttk.Button(self, text="...",
command= lambda: controller.show_frame(Pagefour))
button4.grid(row=4, column=2, sticky = "es",padx = 20, pady=20 )
button5 = ttk.Button(self, text="...",
command= lambda: controller.show_frame(Pagefive))
button5.grid(row=5, column=2, sticky = "es",padx = 20, pady=20 )

class Pageone(tk.Frame):
def __init__(self, parent, controller):
tk.Frame.__init__(self,parent)
label = tk.Label(self, text="ADD A MEDICINE", font = HEADING_FONT)

Dept. of CSE, NHCE 18


TITLE: PHARMACY STORE

option1 = tk.Label(self, text="Name : ", font = LARGE_FONT)


option2 = tk.Label(self, text="Company : ", font = LARGE_FONT)
option3 = tk.Label(self, text="Cost : Rs. ", font = LARGE_FONT)
label.grid(row=1, column=1,columnspan=2, padx = 20, pady=20)

option1.grid(row=2,column=1,padx = 20, pady=20)


option2.grid(row=3,column=1,padx = 20, pady=20)
option3.grid(row=4,column=1,padx = 20, pady=20)

entry1 = tk.Entry(self)
entry2 = tk.Entry(self)
entry3 = tk.Entry(self)

entry1.grid(row=2,column=2,padx = 20, pady=20)


entry2.grid(row=3,column=2,padx = 20, pady=20)
entry3.grid(row=4,column=2,padx = 20, pady=20)

button1 = ttk.Button(self, text="Back",


command= lambda: controller.show_frame(StartPage))
button1.grid(row=0, columnspan = 3, padx = 20, pady=20 )
button2 = ttk.Button(self, text="Submit",
command= lambda: insert_medicine(entry1.get(), entry2.get(),
entry3.get()))
button2.grid(row=5, columnspan = 3, padx = 20, pady=20 )

entry3.grid(row=4,column=2,padx = 20, pady=20)


button1 = ttk.Button(self, text="Back",
command= lambda: controller.show_frame(StartPage))

button1.grid(row=0, columnspan = 3, padx = 20, pady=20 )


button2 = ttk.Button(self, text="Submit",

Dept. of CSE, NHCE 19


TITLE: PHARMACY STORE

command= lambda: insert_medicine(entry1.get(), entry2.get(), entry3.get()))


button2.grid(row=5, columnspan = 3, padx = 20, pady=20 )

class Pagetwo(tk.Frame):
def __init__(self, parent, controller):
tk.Frame.__init__(self,parent)
label = tk.Label(self, text="BUY A MEDICINE", font = HEADING_FONT)
option0 = tk.Label(self, text="Buyer Name : ", font = LARGE_FONT)
option1 = tk.Label(self, text="Medicine Name : ", font = LARGE_FONT)
option2 = tk.Label(self, text="Units Bought : ", font = LARGE_FONT)
label.grid(row=1, column=1,columnspan=2, padx = 20, pady=20)
option0.grid(row=2,column=1,padx = 20, pady=20)
option1.grid(row=3,column=1,padx = 20, pady=20)
option2.grid(row=4,column=1,padx = 20, pady=20)

class Pageseven(tk.Frame):
row = None
def __init__(self, parent, controller, ROW):
tk.Frame.__init__(self,parent)
row = ROW
option2 = tk.Label(self, text="NAME", font = LARGE_FONT)
option3 = tk.Label(self, text="COMPANY", font = LARGE_FONT)
option4 = tk.Label(self, text="COST", font = LARGE_FONT)
option2.grid(row=2,column=0,padx = 20, pady=20)
option3.grid(row=2,column=1,padx = 20, pady=20)
option4.grid(row=2,column=2,padx = 20, pady=20)
index = 3
for row in ROW:
#print(row)
tk.Label(self, text=row[1], font = LARGE_FONT).grid(row=index, column=0,padx = 20,
pady=20)

Dept. of CSE, NHCE 20


TITLE: PHARMACY STORE

tk.Label(self, text=row[2], font = LARGE_FONT).grid(row=index, column=1,padx = 20,


pady=20)
tk.Label(self, text=row[3], font = LARGE_FONT).grid(row=index, column=2,padx = 20,
pady=20)
index+=1
button1 = ttk.Button(self, text="Back",
command= lambda: controller.show_frame(StartPage))
button1.grid(row=0, columnspan = 3, padx = 20, pady=20 )
class Pagefive(tk.Frame):
def __init__(self, parent, controller):
tk.Frame.__init__(self,parent)
option1 = tk.Label(self, text="BUYER", font = LARGE_FONT)
option2 = tk.Label(self, text="MEDICINE", font = LARGE_FONT)
option3 = tk.Label(self, text="COMPANY ", font = LARGE_FONT)
option4 = tk.Label(self, text="COST ", font = LARGE_FONT)

option1.grid(row=1,column=0,padx = 20, pady=20)


option2.grid(row=1,column=1,padx = 20, pady=20)
option3.grid(row=1,column=2,padx = 20, pady=20)
option4.grid(row=1,column=3,padx = 20, pady=20)

with conn:
c = conn.cursor()
c.execute('SELECT Bill.Buyer, Bill.MedicineName, Medicine.Company,
Medicine.Cost*Bill.UnitsBought AS Cost FROM Bill INNER JOIN Medicine ON
Bill.MedicineName = Medicine.Name')
index=3
for row in c.fetchall():
#print(row)
tk.Label(self, text=row[0], font = LARGE_FONT).grid(row=index, column=0,padx = 20,
pady=20)

Dept. of CSE, NHCE 21


TITLE: PHARMACY STORE

tk.Label(self, text=row[1], font = LARGE_FONT).grid(row=index, column=1,padx = 20,


pady=20)
tk.Label(self, text=row[2], font = LARGE_FONT).grid(row=index, column=2,padx = 20,
pady=20)
tk.Label(self, text=row[3], font = LARGE_FONT).grid(row=index, column=3,padx = 20,
pady=20)
index+=1
button1 = ttk.Button(self, text="Back",
command= lambda: controller.show_frame(StartPage))
button1.grid(row=0, columnspan = 3, padx = 20, pady=20 )
tk.Tk.wm_title(self, "Pharmacy Store")
container = tk.Frame(self)
container.pack(side="top", fill ="both", expand= True)
container.grid_rowconfigure(0, weight=1)
container.grid_columnconfigure(0, weight=1)
self.frames = {}
for page in (StartPage, Pageone, Pagetwo, Pagethree, Pagefour, Pagefive):#, Pagesix):
frame = page(container, self)
self.frames[page] = frame
frame.grid(row=0, column=0, sticky="nsew")
self.show_frame(StartPage)
def dynamic_page(self, page, parent, var):
button1 = ttk.Button(self, text="...",
command= lambda: controller.show_frame(Pageone))
button1.grid(row=1, column=2, sticky = "es",padx = 20, pady=20 )
button2 = ttk.Button(self, text="...",
command= lambda: controller.show_frame(Pagetwo))
button2.grid(row=2, column=2, sticky = "es",padx = 20, pady=20 )
button3 = ttk.Button(self, text="...",
command= lambda: controller.show_frame(Pagethree))

Dept. of CSE, NHCE 22


TITLE: PHARMACY STORE

label = tk.Label(self, text="BUY A MEDICINE", font = HEADING_FONT)


option0 = tk.Label(self, text="Buyer Name : ", font = LARGE_FONT)
option1 = tk.Label(self, text="Medicine Name : ", font = LARGE_FONT)
option2 = tk.Label(self, text="Units Bought : ", font = LARGE_FONT)
label.grid(row=1, column=1,columnspan=2, padx = 20, pady=20)
option0.grid(row=2,column=1,padx = 20, pady=20)
option1.grid(row=3,column=1,padx = 20, pady=20)
option2.grid(row=4,column=1,padx = 20, pady=20)

Dept. of CSE, NHCE 23


TITLE: PHARMACY STORE

CHAPTER 9

OUTPUT SNAPSHOTS

Fig 9.1 main menu

Dept. of CSE, NHCE 24


TITLE: PHARMACY STORE

Fig 9.2 add a medicine

Fig 9.3buy a medicine

Dept. of CSE, NHCE 25


TITLE: PHARMACY STORE

Fig 9.4 enter a medicine name

Fig 9.5 display a medicine name

Dept. of CSE, NHCE 26


TITLE: PHARMACY STORE

Fig 9.6 enter a company name

Fig 9.7 display a company name

Dept. of CSE, NHCE 27


TITLE: PHARMACY STORE

Fig 9.8 display all billings

Dept. of CSE, NHCE 28


TITLE: PHARMACY STORE

CHAPTER 10

CONCLUSION
Pharmacy store is actually software which handle the essential data and save the data and
actually about the database of a pharmacy and it's managing. This software help in
effectively management of the pharmaceutical store or shop. It provide the statistics about
medicine or drugs which are in stocks which data can also be updated and edited. It works
as per the requirement of the user and have options accordingly. It allow user to enter
manufacturing as well as the expiry date of medicine placing in stock and for sales
transaction. This software also have ability to print the bill and invoices etc. The record of
supplier’s supplies can also be saved in it. There is other function available too. The main
purpose is effectively and easily handling of pharmacy data.

Simple Pharmacy Management System project is written in Python. The project file
contains a python script (project.py) and database files. This is a simple GUI based project
which is very easy to understand and use. Talking about the system, it contains all the basic
functions which include adding, viewing, deleting and updating items. In order to add a
medicine detail, the user has to provide its name, price, quantity, category, and discount.

This simple GUI based Pharmacy Management system provides the simplest management
of medicine items. In short, this projects mainly focus on CRUD. There’s an external
database connection file used in this mini project to save user’s data permanently.

In order to run the project, you must have installed Python, on your PC. This is a simple GUI
Based system.

Dept. of CSE, NHCE 29


TITLE: PHARMACY STORE

REFERENCES
[1] WIKIPEDIA

[2] GEEKS FOR GEEKS

[3] Some text books regarding DBMS

[4] Some online courses about python

Dept. of CSE, NHCE 30

Вам также может понравиться