This scripts calls the http://www.vedur.is API (Icelandic Meteorological Office) and retrievs the weather information for selected location.
The time range can be specified by selecting the end point.
mytime += timedelta(hours=6)
The location can be passed as argv or if empty, geo ip is being used.
On posix systems, an onscreen notification is available.
from gi.repository import Notify
Don't DDoS vedur.is please.