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.
Source Distribution
noaaweather-0.1.0.tar.gz
(2.7 kB
view details)
File details
Details for the file noaaweather-0.1.0.tar.gz
.
File metadata
- Download URL: noaaweather-0.1.0.tar.gz
- Upload date:
- Size: 2.7 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 |
9f57874fc717bbe8df7ddf16b0ce3a109ef2d16620910979f1fd8fb7c9573d7c
|
|
MD5 |
79e90976d375b3b6d9a76b255277a0a7
|
|
BLAKE2b-256 |
d49723271b4fb8fd02bfde0c83565b119ec06e9fdbe2ce183ca9732a896a24e1
|