Skip to content

A weather app that displays temperature, humidity, wind speed, pressure, sunrise time, sunset time, co-ordinates and country-code of input location.

Notifications You must be signed in to change notification settings

Devang-Shah-49/weather-app-django

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

3 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Weather App

Know live weather conditions on a single click

The Problem

Users can get too busy at work or at home to check the current weather conditions for severe weather. Many of the free weather software programs have too many pop ups or unwanted software tied to them like weather bug.Getting confusing information on weather warnings from inaccurate sources.Also every application has different information of weather of the same location at the same time.The reason is that there are many sources such as newspaper,television,radio,etc which provide weather updates which often differ. One cannot rely on a particular source. Also, information such as humidity,wind speed ,pressure is seldom provided on these sources. If a user needs information on above mentioned parameters then he/she needs to visit various sources for that, which is a tedious job.

The Solution

Our responsive website "The Weather Detector", which:

  • Provides users with accurate information regarding the climate of the city they input.
  • Displayed climate parameters includes temperature, humidity, wind speed, pressure, sunrise time, sunset time, co-ordinates and country-code of the location.
  • Accurately shows the weather of a given region.

Technologies used:

  • HTML
  • CSS
  • Python
  • Django
  • sqlite3
  • pip

API used to fetch weather information

Open Weather API

Challenges we ran into

  • Displaying time in readable format - Used "datetime" module to convert json timestamp

Getting Started

Prerequisites

Cloning the repository locally

  • Clone the project on localhost
git clone https://github.com/Devang-Shah-49/weather-app-django.git
  • Move to the project directory
cd .\weather-app-django\
  • Install required python packages
pip install numpy pandas matplotlib django pillow pathlib datetime

Running the website locally

  • When you have all the dependencies installed, run the migration to create tables for the app in the new database.
python manage.py migrate
  • When the migrations complete, run the project.
python manage.py runserver

Screenshots of the website

image image image

Bug Reporting/Feature Request

  • Feel free to open an issue on GitHub if you find any bug or to request any additional features.
  • Connect with me on LinkedIn. I would love ❤️️ to help!

About

A weather app that displays temperature, humidity, wind speed, pressure, sunrise time, sunset time, co-ordinates and country-code of input location.

Topics

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages