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.

Files for weatherpy, version 1.0.2
Filename, size File type Python version Upload date Hashes
Filename, size weatherpy-1.0.2.linux-i686.exe (70.0 kB) File type Windows Installer Python version any Upload date Hashes View
Filename, size weatherpy-1.0.2.tar.gz (6.7 kB) File type Source Python version None Upload date Hashes View

Supported by

AWS AWS Cloud computing Datadog Datadog Monitoring DigiCert DigiCert EV certificate Facebook / Instagram Facebook / Instagram PSF Sponsor Fastly Fastly CDN Google Google Object Storage and Download Analytics Microsoft Microsoft PSF Sponsor Pingdom Pingdom Monitoring Salesforce Salesforce PSF Sponsor Sentry Sentry Error logging StatusPage StatusPage Status page