No description, website, or topics provided.
Switch branches/tags
Nothing to show
Clone or download
Pull request Compare This branch is 19 commits ahead, 1 commit behind jhwhite:master.
Fetching latest commit…
Cannot retrieve the latest commit at this time.
Permalink
Failed to load latest commit information.
.gitignore
Budapest_demo.png
README.md
forecast.py
setup.py

README.md

forecast

This is a fork of Jody White's pyweather which:

Uses Geopy to convert (almost) any location into Latitude and Longitude coordinates, and then use those coordinates to look up the weather conditions.

This fork create a command line program which outputs the forecast to the terminal.

To use this, you will need an api key from Forecast.io which can be found by registering here

Installation

Clone the source, then

python setup.py install

On the first use, you will be asked for the API key found on the forecast wbesite. The API key is stored in ~/.pyweatherrc and can be edited manually, or accesed through the command line flags (see forecast -h).

Usage

Typical usage consists of calling with either the -l or equivalently the --location flag for example:

Budapest demo

A location will be requested if none is given.

ToDo

  • Improve and finish ASCII weather symbols
  • Add a default location to the rc file