Giter Site home page Giter Site logo

weather's Introduction

Weather

A simple python app for getting weather information based on geolocation.

Installation

git clone https://github.com/ArghyaDas112358/Weather.git
cd Weather
pip install -r requirement.txt

If this does not work, then maybe python2 is installed in the system or none. Try installing with oython3 3 and use pip3 instead of pip.

How to use

The app is straightforward to use. Just run the main.py file, and you are good to go. If you know your current location, then you may enter it. If you don't know your current location, don't worry, the program will auto-detect the current geolocation and display the weather information for it.

If location is known

python3 main.py
Enter location:kolkata
Weather for: Kolkata, West Bengal
Day and time: Tuesday, 12:00 am
Temperature now: 30°C
Description: Mostly cloudy
Precipitation: 3%
Humidity: 84%
Wind: 8 km / h
Next days:
============================== Tuesday ==============================
Description: Mostly cloudy
Max temperature: 36°C
Min temperature: 29°C
============================== Wednesday ==============================
Description: Isolated thunderstorms
Max temperature: 34°C
Min temperature: 29°C 

If location is not known

Enter location:
Current location detected: Kolkata
Weather for: Kolkata, ######
Day and time: Tuesday, 12:00 am
Temperature now: 30°C
Description: Mostly cloudy
Precipitation: 3%
Humidity: 85%
Wind: 8 km / h
Next days:
============================== Tuesday ==============================
Description: Mostly cloudy
Max temperature: 36°C
Min temperature: 29°C
============================== Wednesday ==============================
Description: Isolated thunderstorms
Max temperature: 33°C
Min temperature: 29°C

weather's People

Contributors

arghyadas112358 avatar

Stargazers

Archisman Panigrahi avatar

Watchers

 avatar

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.