Skip to main content

Python wrapper for Yahoo weather API

Project description

Weatherpy is a package that allows you to simply and easily access Yahoo’s weather API. Give weatherpy a user agent and a WOEID and weatherpy will make accessing elements of the RSS feed simple.

example.

import weatherpy r = weatherpy.Response(‘Bob’s weather script’, 44544) print ‘Wind: ‘, r.wind.speed, r.units.speed, r.wind.cardinal_direction()

gives

Wind: 6 km/h N

Weatherpy is only tested with python 2.5+. Weatherpy is not compatible wihth python 3.

Project details


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

weatherpy-1.0.2.tar.gz (6.7 kB view hashes)

Uploaded Source

Built Distribution

weatherpy-1.0.2.linux-i686.exe (70.0 kB view hashes)

Uploaded Source

Supported by

AWS AWS Cloud computing and Security Sponsor Datadog Datadog Monitoring Fastly Fastly CDN Google Google Download Analytics Microsoft Microsoft PSF Sponsor Pingdom Pingdom Monitoring Sentry Sentry Error logging StatusPage StatusPage Status page