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

Metadata

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 Provenance Actions
wunderground_pws-0.1.tar.gz 3.1 kB Without provenance Details for wunderground_pws-0.1.tar.gz

Built distribution (wheel)

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

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

Security for wunderground-pws 0.1

Provenance

Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.

No provenance found

None of the files in this release were uploaded with provenance metadata.

A note on package security

PyPI is a repository for distributing packages, not a service for auditing them. While third-party security researchers and our staff do their best to detect and remove malicious packages, PyPI cannot guarantee the quality, security or suitability of any given package.

To learn more about protecting yourself from malicious actors, visit our package security documentation.

Release history Release notifications | RSS feed

This release

0.1 This release

2 release files No provenance

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