Skip to content

Full-stack Python project using the WeatherFinder Public API to find temperatures across the globe.

Notifications You must be signed in to change notification settings

riyamathur1/WeatherSearch

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

3 Commits
 
 
 
 
 
 
 
 

Repository files navigation

WeatherSearch

Overview

This project is a weather application that provides weather information to users. The application is designed using Python and PyQt for the user interface.

Files in the Project

  1. mainpage.ui: This file contains the UI design for the main page of the application. It is an XML file generated by Qt Designer.
  2. mainpage.py: This file contains the Python code to handle the logic of the main page.
  3. weather_proj.py: This file contains the main logic for fetching and displaying weather data.

Prerequisites

  • Python 3.x
  • PyQt5

Installation

  1. Clone the repository to your local machine.

  2. Ensure you have Python 3.x installed.

  3. Install the necessary Python libraries using pip:

    pip install PyQt5

Usage

  1. Run the application:

    python weather_proj.py
  2. Features:

    • The application fetches weather data from an online API.
    • Displays current weather information on the main page.

Code Overview

mainpage.ui

This file defines the layout and components of the main page using Qt Designer. It includes labels, buttons, and other UI elements that make up the main page interface.

mainpage.py

This file contains the logic for interacting with the UI defined in mainpage.ui. It includes:

  • Loading the UI file.
  • Connecting UI elements to their respective functionalities.

weather_proj.py

This file contains the main logic for fetching and displaying weather data. It includes:

  • Functions to fetch weather data from an API.
  • Updating the UI with the fetched data.

About

Full-stack Python project using the WeatherFinder Public API to find temperatures across the globe.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages