Skip to main content
Join the official 2019 Python Developers SurveyStart the survey!

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 hashes
Filename, size weatherpy-1.0.2.tar.gz (6.7 kB) File type Source Python version None Upload date Hashes View hashes

Supported by

Elastic Elastic Search Pingdom Pingdom Monitoring Google Google BigQuery Sentry Sentry Error logging AWS AWS Cloud computing DataDog DataDog Monitoring Fastly Fastly CDN SignalFx SignalFx Supporter DigiCert DigiCert EV certificate StatusPage StatusPage Status page