Weather from the command line, so cool!
pip install weather-cli
If you installed directly without using virtualenv, you have to use sudo to set it up.
You gonna need a Forecast.io API key, register here to obtain it. You have 999 API calls per day for free, enough to check the weather a couple of times a day.
You could add the latitude and logitude of the city you want to check the weather, just go to travelmath.com and search the city.
If you leave both numbers empty, the script will try to guess your location based on your public IP.
weather-cli [OPTION] [FORMAT]
|-n, –now||Get current weather|
|-h, –hourly||Get the next 24 hours weather|
|-f, –forecast||Get the next days weather|
|–info||Check current configuration|
|–format [json]||Output format|
|–help||Show this message and exit.|
ver 1.0.1 fix Weather import error
ver 1.0.0 add python3 support
ver 0.2.3 Fix weather api url