Skip to main content
Build Status

NOAA Python SDK

SDK for NOAA Weather Service REST API.

Fully unit tested SDK for NOAA Weather Service REST API.

Requirements

  • Python 3.4 (tested)

Goal

To provide a generic wrapper for the latest V3 NOAA weather service API.
Keep on changing this SDK when NOAA updates their API.
Class can be extended / decorated.

Code sample

There are 3 types of forecast responses: forecast, forecastHourly, forecastGridData.
To get weather forecast with postal code and country code.
from noaa_sdk import NOAA
n = NOAA()
res = n.get_forecasts('11365', 'US', type='forecastGridData')
for i in res:
    print(i)
To get weather observation data from all nearest stations in 11375, US between 2017-12-01 00:00:00 (UTC) to 2017-12-01 05:00:00 (UTC)
from noaa_sdk import NOAA
n = NOAA()
observations = n.get_observations('11365','US')
for observation in observations:
    print(observation)
To get weather forecast for a coordinate in USA
from noaa_sdk import NOAA
n = NOAA()
n.points_forecast(40.7314, -73.8656, type='forecastGridData')

Contributors

Metadata

Release files for noaa-sdk 0.1.21

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

Source distribution (sdist)

Source distribution for noaa-sdk 0.1.21
File Size Uploaded Provenance Actions
noaa-sdk-0.1.21.tar.gz 10.0 kB Without provenance Details for noaa-sdk-0.1.21.tar.gz

Built distribution (wheel)

Table of built distributions (wheels) for noaa-sdk 0.1.21
File Interpreter ABI Platform Actions
noaa_sdk-0.1.21-py3-none-any.whl Python 3 none any Details for noaa_sdk-0.1.21-py3-none-any.whl

Total release size: 21.3 kB

Release files / noaa-sdk-0.1.21.tar.gz

Download URL noaa-sdk-0.1.21.tar.gz
Size 10.0 kB
Tags Source
SHA-256 checksum
How to use checksums
bb1308140cc5f6a5d82132e13cc54c8a8d94a2264607e7c95471ab186f059d7c
BLAKE2b-256 checksum
How to use checksums
9d82cd9189611b89fbc97c112f781f5a56d7ee27f97d110b1bfcfa22b9b927af
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/3.6.0 importlib_metadata/4.8.2 pkginfo/1.8.1 requests/2.26.0 requests-toolbelt/0.9.1 tqdm/4.62.3 CPython/3.8.5

Release files / noaa_sdk-0.1.21-py3-none-any.whl

Download URL noaa_sdk-0.1.21-py3-none-any.whl
Size 11.3 kB
Tags Python 3
SHA-256 checksum
How to use checksums
b07ca0b911b584b166e7d433b5814d10083ce52a7f9e3e92d98a3a6bf8a27f18
BLAKE2b-256 checksum
How to use checksums
d3a8f3079cf5417dd84a10d1da4dde9b0d8b04291b201273880f537273cfba72
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/3.6.0 importlib_metadata/4.8.2 pkginfo/1.8.1 requests/2.26.0 requests-toolbelt/0.9.1 tqdm/4.62.3 CPython/3.8.5

Security for noaa-sdk 0.1.21

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.21 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