Code Monkey home page Code Monkey logo

weather-app's Introduction

Weather App

Description

The Weather App is a Python program that allows users to retrieve current weather information for a specific city. It provides real-time data such as temperature, weather condition, humidity, wind speed, and more. The app uses the OpenWeatherMap API to fetch weather data and display it in a user-friendly graphical interface.

Features

  • User-friendly graphical interface.
  • Real-time weather data retrieval.
  • Display of temperature, weather condition, and additional information.
  • Automatic timezone detection based on the selected city.

Installation

  1. Clone this repository to your local machine:

    git clone https://github.com/yourusername/weather-app.git
  2. Install the required Python packages:

    pip install geopy timezonefinder requests pytz
  3. Obtain an API key from OpenWeatherMap by following their registration process.

  4. Replace 'YOUR_API_KEY' in the getWeather function with your actual OpenWeatherMap API key.

Usage

  1. Run the Weather App by executing the following command:

    python weather.py
  2. Enter the name of the city for which you want to retrieve weather information.

  3. Click the search icon or press Enter to fetch the weather data.

  4. The app will display real-time weather information for the specified city.

Screenshots

Weather App Screenshot

Credits

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.