Easy use of NOAA weather services.
Project description
===========
NOAA Weather
===========
A handy utility to pull weather from NOAA services in a sane manner.
#!/usr/bin/env python
from noaaweather import weather
sfWeather = weather.noaa()
sfWeather.getByZip('94109')
print sfWeather.precipitation.liquid.tomorrow.max.value
print sfWeather.temperature.apparent.tomorrow.min.value
print sfWeather.temperature.apparent.value
Support for Temperature, Humidity, Wind, Precipitation, Cloud Cover
Pulls from http://graphical.weather.gov/xml/rest.php
First release not really tested...
NOAA Weather
===========
A handy utility to pull weather from NOAA services in a sane manner.
#!/usr/bin/env python
from noaaweather import weather
sfWeather = weather.noaa()
sfWeather.getByZip('94109')
print sfWeather.precipitation.liquid.tomorrow.max.value
print sfWeather.temperature.apparent.tomorrow.min.value
print sfWeather.temperature.apparent.value
Support for Temperature, Humidity, Wind, Precipitation, Cloud Cover
Pulls from http://graphical.weather.gov/xml/rest.php
First release not really tested...
Project details
Release history Release notifications | RSS feed
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Filename, size | File type | Python version | Upload date | Hashes |
---|---|---|---|---|
Filename, size noaaweather-0.1.0.tar.gz (2.7 kB) | File type Source | Python version None | Upload date | Hashes View |