Socket
Socket
Sign inDemoInstall

weatherpy

Package Overview
Dependencies
0
Maintainers
1
Alerts
File Explorer

Install Socket

Detect and block malicious and high-risk dependencies

Install

    weatherpy

Python wrapper for Yahoo weather API


Maintainers
1

Readme

Weatherpy, python wrapper for Yahoo weather API

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.

FAQs


Did you know?

Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.

Install

Related posts

SocketSocket SOC 2 Logo

Product

  • Package Alerts
  • Integrations
  • Docs
  • Pricing
  • FAQ
  • Roadmap

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc