Skip to content

Latest commit

 

History

12 Commits

Folders and files

NameName
Last commit message
Last commit date
 
 
 
 
 
 

Repository files navigation

Weather

Customizable weather terminal python script

OpenWeatherMap api is needed

To obtain it you need to make account on https://openweathermap.org/ Then you need to head to https://home.openweathermap.org/api_keys And generate API key WARNING! remember to activate your account after registration and you will need to wait a bit for api key to work!

Installation

Clone git repo

git clone https://github.com/Kotuu3/Weather.git
cd Weather

IMPORTANT - Edit python file and change variables

api_key = "Your api key"

#for example: city = "Warsaw,PL"
city = "City,COUNTRY"

lang = "en"

Also you can change displayed text on the bottom

#Custom messages showed under forecast
messages = [
    "Stay Hydrated!",
    "Hey! What's up? :3",
    "Have a good day!"
]

Then

sudo chmod +x weather.py
sudo cp weather.py /usr/local/bin/weather

Usage

Simply type weather in terminal for this to work!

Screenshot

alt text

About

Customizable weather terminal python script

Resources

Stars

1 star

Watchers

1 watching

Forks

Releases

Packages

Contributors

Languages