Weather APP
Weather APP
Delhi-41327
On
Submitted by:
Guide
ABSTRACT
Python program to create a Weather Forecast Application using Python programing concepts and
Tkinter GUI to develop application.
To use the current weather data API, users must first create an account on openweathermap.org in
order to obtain an API key.
It is a set protocol, routines, functions and/or commands that programmers use to develop software
or facilitate interaction between distinct systems. APIs are available for both desktop and mobile
use, and are typically useful for programming GUI (graphics user interface) components, as well as
allowing a software program to request and accommodate services from another program
Python presents several alternatives for developing Graphical User Interfaces (GUIs). Among all the
available methods, tkinter is the most frequently used one. It is a standard interface in Python for
the TK GUI toolkit that comes with Python. tkinter is the quickest and simplest way to create GUI
applications. Creating a GUI using tkinter is a relatively easy task.
Introduction
Weather is an important aspect of a person life as it can help us to know when it will rain
and when it will be sunny. Weather forecasting is the attempt to predict the weather
condition at some future time and the weather conditions that may be expected. The
climatic condition parameters are based on the temperature, pressure, humidity, rainfall,
precipitation, wind speed and size of data set. The parameters temperature, pressure,
humidity, precipitation, rainfall is only considered for experimental analysis.
The traditional methods of weather forecasting, which are also known as weather lore, have
been utilized by farmers, fishermen, and housewives to guide their daily activities and
prepare for potential disasters. In the remote villages of 17 municipalities in Ilocos Norte,
the weather lore used by the weather-wise folks is documented and shows that they have
almost similar indicators for the onset of rainy season or adverse weather conditions.
According to the respondents, the strange behavior of certain animals such as ants,
earthworms, dragonflies, dogs, frogs, and birds like the Himalayan swiftlet, lesser caucal,
plaintive cuckoo, heron, or honeybees usually predict upcoming rain, typhoon, or bad
weather. Additionally, the ripening and shedding of fruits of plants such as physic nut,
bangkal, and siniguelas were also considered by farmers as reliable indicators of the onset
of rainy season. A long parallel band of feathery clouds and a moon with rings were also
important clues to predict weather. For fishermen, visible seawater evaporation and high
sea waves forecasting have been used for many years as handed down to them by their
forefathers.
Requirement And Specification
Hardware Requirements:
RAM : 4GB
Software Requirements:
How to start:
It is quite easy to work with Openweather API. Just sign up to get your API key and then call
any weather API. And mind using API call whatever account you choose from Free to Enterprise
After registration, we will send you a welcome email that contains your API key and additional
information on how to get started with our weather APIs. Within the next couple of hours, it will be
activated and ready to use.
Parameters:
APPID{APIKEY} is your unique API key
Python offers multiple options for developing GUI (Graphical User Interface). Out of all the GUI
methods, tkinter is the most commonly used methods. It is a standard python interface to the Tk
GUI toolkit shipped with Python. Python with tkinter outputs the fastest and easiest way to create
the GUI applications. Now, it’s upto the imagination or necessity of developer, what he/she want to
develop using this toolkit.
To create a tkinter:
Importing the module - tkinter
Create the main window (container)
Add any number of widgets to the main window.
Apply the event Tigger on the main window.
Let’s create a GUI based simple Real-time Weather detection application which can give Weather
details of any cities.
Modules required:
Geopy
Timezonefiner
Pillow
Pytz
requests
Weather Application
How to start:
It is a quite easy work work with python , in this method we have used few advance libraries
like tkinter, geopy, timezonefinder,request, pytz and pillow.
2. Then open python file with the help of IDE, or by double click on file.
It is the first interface of Weather Application, which is completely design with the help of python
tkinter.
Final Result:
Advantage
Enable people to plan and take precautions against various natural calamities
It helps farmers to adjust their farming activities
Weather forecasting greatly influence transport , especially in air and water
Help to guide tourists to visit certain areas.
Aircraft and shipping rely heavily on accurte weather forecasting
Weather forecasts are very important as they can potentially save lives,property and
crops.
Disadvantage