Gas Management System
Gas Management System
Gas Management System
A PROJECT REPORT
ON
ITARSI(M.P)
SUBMITTED BY:
1) SHRUTI SINGH [Roll No- ]
2) SWASTIK AGRAWAL [Roll No- ]
3) ASTHA PRAJAPATI [Roll
No- ]
………………………… ……………………………..
Signature of Student Signature of Teacher/Guide
……….…………………
Signature of Principal
Name: MS. VARSHA MISHRA
Place: Itarsi
Date:
ACKNOWLEDGEMENT
I
undertook this Project work, as the part of my XII-Informatics
Practices course. I had tried to apply my best of knowledge and
experience, gained during the study and class work experience.
However, developing software system 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.
UNNATI CHOUREY
Class XII
C O N T E N T S
1. Introduction-----------------------------------------------
2. Theoretical Background------------------------------
3. Problem Definition & Analysis----------------------
4. System Implementation-------------------------------
4.1 The Hardware used:----------------------------------
4.2 The Softwares used:----------------------------------
5. System Design & Development--------------------
5.1 Database Design:-------------------------------------
5.2 Coding:---------------------------------------------------
6. References ------------------------------------------------
1. Introduction
Python is a widely used general-purpose, high level programming language. It was created by
Guido van Rossum in 1991 and further developed by the Python Software Foundation. It was
designed with an emphasis on code readability, and its syntax allows programmers to express
their concepts in fewer lines of code.
Python is a programming language that lets you work quickly and integrate systems more
efficiently.
There are two major Python versions: Python 2 and Python 3. Both are quite different.
Learning Python gives the programmer a wide variety of career paths to choose from. Python is
an open-source (free) programming language that is used in web programming, data science,
artificial intelligence, and many scientific applications. Learning Python allows the programmer
to focus on solving problems, rather than focusing on syntax. Its relative size and simplified
syntax give it an edge over languages like Java and C++, yet the abundance of libraries gives it
the power needed to accomplish great things.
2. Theoretical Background
To find and retrieve just the data that meets conditions you specify, including data from multiple
tables, create a query. A query can also update or delete multiple records at the same time, and
perform built-in or custom calculations on your data.
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.
Problem definition and Analysis is the activity that encompasses learning about the problem to be
solved, understanding the needs of customer and users, trying to find out who the user really is, and
understanding all the constraints on the solution. It includes all activities related to the following:
Identification and documentation of user’s needs.
Creation of a document that describes the external behavior and the association constraints
that will satisfies those needs.
Analysis and validation of the requirements documents to ensure consistency, completeness,
and feasibility
Evolution of needs.
The proposed system should maintain all the records , and should generate the required
reports and information when required.
To provide efficient and secured Information storage, flow and retrieval system, ensuring
the integrity and validity of records.
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.
5. System Implementation
SOFTWARE SPECIFICATION:-
Operating System : Windows 7
Platform : Python IDLE 3.7
Database : MySQL SERVER 5.1
Languages : Python
HARDWARE SPECIFICATION:-
An important aspect of system design is the design of data storage structure. To begin with
a logical model of data structure is developed first. A database is a container object which
contains tables, queries, reports and data validation policies enforcement rules or contraints
etc. A logical data often represented as a records are kept in different tables after reducing
anomalies and redundancies. The goodness of data base design lies in the table structure
and its relationship.
CODING:
R12345',database='gasin')
if conn.is_connected():
print("connected")
mycursor=conn.cursor()
v_credit bigint")
if (passw == passwd) :
else:
print("invalid")
information:"))
if choice==1:
import datetime
v_date=datetime.datetime.now()
continue
elif choice==2:
re=mycursor.fetchall()
for x in re:
print(x)
continue
elif choice == 3:
import datetime
v_date=datetime.datetime.now()
date = v_date
print("1. C N G ......Rs.75/l")
print("2.L P G .......Rs.80/l")
if ch==1:
amount= 75*cng
v_cng='cng',v_amtobe_paid='amont',where customer
='customer_name'")
if cho==1:
remaining=v_credit-amount
mycursor.execute ("updata gasin set
v_credit=('remaining'),v_date=('date') where
v_customer='customer_name'")
else:
print("INVALID CODE")
if ch==2:
customer:"))
pay = 80*lpg
if choo==1:
remain=v_credit-pay
if ch==3:
total=80*lpgas+75*cngas
v_lpg='lpgas',v_cng='cngas',v_amtobe_paid='total' where
v_customer='customer_name'")
if chio==1:
remaind=v_credit-total
v_credit='remaind',v_date='date'where v_customer
='customer_name'")
elif choice==4:
se = mycursor.fetchall()
for x in se:
print(x)
continue
elif choice==5:
record=mycursor.fetchall()
for x in records:
print(x)
continue
elif choice==6:
import datetime
v_date=datetime.datetime.now()
date = v_date
values(v_customer,v_accno,'(date)', 'v_add',44453,1009900)")
print("inserted")
continue
elif choice==0:
break
conn.commit()
OUTPUT
6. References
In order to work on this project titled STOCK MANAGEMENT, the following books and
literature are refered by me during the various phases of development of the project.
(1) http://www.mysql.org/
(2) http://www.python.org/
Website: https://www.w3resource.com
Other than the above-mentioned books, the suggestions and supervision of my teacher and my class
experience also helped me to develop this software project.