$npx skillfedfor your agent

pynws

Python library to retrieve observations and forecasts from NWS/NOAA

Worth itPyPI InternetReleased Apr 202575.6K downloads / moMITPure Python

Decision gist · record as of 2026-08-14

pure-Python wheel — pynws-2.1.0-py3-none-any.whl
v2.1.0 · released 2025-04-24 · Python >=3.9 · 3 runtime deps: aiohttp, metar, yarl

Yes. The package is actively maintained, has low install friction, carries a permissive MIT license, and solves a specific problem (async NWS data retrieval) with a clean API. It is suitable for weather-aware applications, home automation, and data collection. No known security vulnerabilities indicate reliable use.AI-flagged interpretation of the facts on this page — verify before relying

Before you install

  • Requires an async context (asyncio event loop) and a valid user-agent string (email) for NWS API requests.
  • Low install friction with pure Python wheels.
  • Actively maintained with a recent commit (2026-08-03) and steady release cadence.

License · maintenance · safety

MIT (permissive) — MIT license permits commercial and private use with minimal restrictions; suitable for most projects.

last release 2025-04-24 (477 days) · last repo commit 2026-08-03 · 38 stars

0 known vulnerabilities (OSV.dev, 2026-08-14) · 75,626 downloads/mo, #14,695 on PyPI

Verify before relying

import aiohttp
import pynws

async def get_weather():
    async with aiohttp.ClientSession() as session:
        nws = pynws.SimpleNWS(39.95, -75.16, "user@example.com", session)
        await nws.set_station()
        await nws.update_observation()
        print(nws.observation)
  • Whether SimpleNWS caching behavior and update frequency are documented or configurable.
  • Rate limits or throttling behavior when making repeated NWS API calls.
  • Availability of detailed error handling or retry logic for network failures.
Same gist for agents: .md · .json

What it is and what it does

pynws is a Python library that wraps the National Weather Service (NWS/NOAA) API to retrieve weather data asynchronously. It provides two main interfaces: a lower-level `Nws` class for minimally processed data and a higher-level `SimpleNWS` class that adds data caching and unit normalization. The library converts NWS observations into standardized units (Celsius for temperature, Pascal for pressure, km_h-1 for wind speed, etc.) and allows you to fetch current observations, forecasts, and weather alerts for a specific geographic location.

The package depends on aiohttp for HTTP requests, yarl for URL handling, and metar for parsing meteorological data. It targets modern Python (3.9+) and is actively maintained. With low install friction and no known vulnerabilities, it is straightforward to integrate into weather-aware applications.

Use it for

  • Build a weather dashboard or home automation system that polls NWS for current conditions and alerts.
  • Integrate real-time weather forecasts into a mobile or web app without managing your own weather data.
  • Monitor weather alerts for a specific forecast zone to trigger notifications or automated responses.
  • Retrieve standardized meteorological observations for data analysis or logging.
  • Create a weather-aware scheduling system that adjusts plans based on NWS forecasts.

Worth the install?

AI-flagged interpretation of the facts on this page. Verify before relying on it.

Worth it

Yes.

The package is actively maintained, has low install friction, carries a permissive MIT license, and solves a specific problem (async NWS data retrieval) with a clean API. It is suitable for weather-aware applications, home automation, and data collection. No known security vulnerabilities indicate reliable use.

Install

pynws on PyPI

Before you install

Low install friction with pure Python wheels. Actively maintained with a recent commit (2026-08-03) and steady release cadence. Supports current Python versions (3.9–3.13).

Requires an async context (asyncio event loop) and a valid user-agent string (email) for NWS API requests.

License in practice

MIT license permits commercial and private use with minimal restrictions; suitable for most projects.

Quickstart

import aiohttp
import pynws

async def get_weather():
    async with aiohttp.ClientSession() as session:
        nws = pynws.SimpleNWS(39.95, -75.16, "user@example.com", session)
        await nws.set_station()
        await nws.update_observation()
        print(nws.observation)

Verify before relying

  • Whether SimpleNWS caching behavior and update frequency are documented or configurable.
  • Rate limits or throttling behavior when making repeated NWS API calls.
  • Availability of detailed error handling or retry logic for network failures.

Package facts

LicenseMIT permissive
Python supportSupports the current Python release >=3.9
Install frictionLow. Pure-Python wheel
Runtime dependencies
3 packages
aiohttpmetaryarl
MaintenanceActively maintained 477 days since the last release
Last repo commit
First released
Downloads75,626 / month, #14,695 on PyPI 30-day window, as of 2026-08-14
Known vulnerabilitiesNone known OSV.dev, checked 2026-08-14
Classifiers
Programming Language :: Python :: 3.10Programming Language :: Python :: 3.11Programming Language :: Python :: 3.12Programming Language :: Python :: 3.13Programming Language :: Python :: 3.9

Evidence: pynws-2.1.0-py3-none-any.whl

Tags

Capabilities
NWS NOAA weather API clientasync weather observationsnational weather service pythonweather forecast retrievalNOAA weather data libraryreal-time weather observationsweather alerts and forecasts
Topics
weather-apiasync-httpnoaa
PyPI keywords
nwsweather

Let your AI agent find packages like this

Example. Real query, live index.

You found this page by searching. An agent finds it by wishing: SkillFed indexes 14,416 PyPI packages by what they can do, searchable in plain language.

wish › “NWS NOAA weather API client”

  • pynwsAsynchronously fetch weather observations, forecasts, and alerts from…
  • herbie-dataHerbie downloads numerical weather prediction model data (GRIB2…
  • metarParses METAR and SPECI coded aviation weather reports into structured…

Give your agent the search over MCP, or paste the wish link into any chat.

More Internet packages

botocore Worth it
PyPI · Internet · released Aug 2026

Botocore provides low-level, data-driven access to Amazon Web Services APIs, serving as the foundation for the AWS CLI and boto3 libraries.

Install it if you need programmatic access to AWS services.

permissive licensepure Python · 3.10+
1.5Bdownloads / mo
aiobotocore Worth it
PyPI · Internet · released Aug 2026

Provides an async client for AWS services using botocore and aiohttp, allowing you to call AWS APIs asynchronously within asyncio-based applications.

Install it if you need to call AWS services from async Python code; it is the standard way to do so.

Apache-2.0pure Python · 3.10+
1.2Bdownloads / mo
pydantic Worth it
PyPI · Python Modules · released May 2026

Pydantic validates Python data structures against type hints, coercing and checking input at runtime to ensure it matches a declared schema.

MITpure Python · 3.9+
1.1Bdownloads / mo
filelock Worth it
PyPI · Libraries · released Aug 2026

Provides a platform-independent file locking mechanism to coordinate access to files across processes and threads.

MITpure Python · 3.10+
717.1Mdownloads / mo
fastapi Worth it
PyPI · Software Development · released Jul 2026

FastAPI is a Python web framework for building REST APIs using type hints, with automatic request validation, serialization, and interactive API documentation.

MITpure Python · 3.10+
568.6Mdownloads / mo
googleapis-common-protos Worth it
PyPI · Internet · released Aug 2026

Provides common Protocol Buffer message definitions used across Google Cloud APIs, enabling Python clients to interact with Google services.

Apache-2.0pure Python · 3.10+
513.7Mdownloads / mo

See also accuweather · env_canada · pyowm · meteofrance-api · meteomatics · open-meteo · irm-kmi-api · openmeteo-requests · PyFlume · aioecowitt