Skip to main content

Weather Underground PWS Python API

A small Python module for Weather Underground PWS APIs.

Installation

$ pip3 install wunderground_pws

Example usage

from datetime import date
from pprint import pprint

from wunderground_pws import WUndergroundAPI, units

wu = WUndergroundAPI(
    api_key='my api key',
    default_station_id='KMAHANOV10',
    units=units.ENGLISH_UNITS,
)
print('Current status of my weather station:')
pprint(wu.current()['observations'][0])
print('Summary of last 7 days:')
pprint(wu.summary())
print('Detailed hourly history for the last 7 days:')
pprint(wu.hourly())
print('History for 4/20/2019:')
pprint(wu.history(date(day=20, month=4, year=2019)))

Building docs

$ pip3 install -r requirements-docs.txt
$ cd docs/
$ make html

Release files for wunderground-pws 0.1

For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.

Source distribution (sdist)

Source distribution for wunderground-pws 0.1
File Size Uploaded
wunderground_pws-0.1.tar.gz 3.1 kB Details

Built distribution (wheel)

Table of built distributions (wheels) for wunderground-pws 0.1
File Interpreter ABI Platform
wunderground_pws-0.1-py3.7.egg Legacy Egg format - - Details

Total release size: 10.4 kB

Release files / wunderground_pws-0.1.tar.gz

Download URL wunderground_pws-0.1.tar.gz
Size 3.1 kB
Tags Source
SHA-256 checksum
How to use checksums
9a2c51e2fc3703e831fd4741562543dd94b875d797d2d008bcb4991e608f1817
BLAKE2b-256 checksum
How to use checksums
df20e2aa25b4562df92e2c695c8b71d0b5893a310e5138c37ea6378573c456fc
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/1.13.0 pkginfo/1.5.0.1 requests/2.21.0 setuptools/40.8.0 requests-toolbelt/0.9.1 tqdm/4.31.1 CPython/2.7.16

Release files / wunderground_pws-0.1-py3.7.egg

Download URL wunderground_pws-0.1-py3.7.egg
Size 7.4 kB
Tags Egg
SHA-256 checksum
How to use checksums
a86520e5297ce938c401ad7a71f3cbc1ffb9a0cad63e1bb1ae9902a60fb73af5
BLAKE2b-256 checksum
How to use checksums
9422b2975f7055b7c38d086a715701b3729845edd95ac9fcfced80d449f680a3
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/1.13.0 pkginfo/1.5.0.1 requests/2.21.0 setuptools/40.8.0 requests-toolbelt/0.9.1 tqdm/4.31.1 CPython/2.7.16

Release history Release notifications | RSS feed

This release

0.1 This release

2 release files

Anthropic, PBC Visionary sponsor Bloomberg Visionary sponsor Hudson River Trading Visionary sponsor Meta Visionary sponsor NVIDIA Visionary sponsor Microsoft Sustainability sponsor Depot Continuous Integration AWS Cloud computing and Security Sponsor Datadog Monitoring Fastly CDN Google Download Analytics Sentry Error logging StatusPage Status page