Skip to main content

Weather Package

A Python package for accessing weather data from the National Weather Service (NWS) API.

Features

  • Get weather alerts for US states
  • Get weather forecasts for any location by latitude and longitude
  • Easy-to-use asynchronous API

Installation

pip install weather

Usage

from weather import get_alerts, get_forecast

# Get weather alerts for California
alerts = get_alerts("CA")

# Get forecast for a specific location (latitude, longitude)
forecast = get_forecast(34.0522, -118.2437)  # Los Angeles, CA

Requirements

  • Python 3.11+
  • httpx
  • mcp

Metadata

Release files for weather-nws-mcp 0.1.9

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

Source distribution (sdist)

Source distribution for weather-nws-mcp 0.1.9
File Size Uploaded Provenance Actions
weather_nws_mcp-0.1.9.tar.gz 4.3 kB Without provenance Details for weather_nws_mcp-0.1.9.tar.gz

Built distribution (wheel)

Table of built distributions (wheels) for weather-nws-mcp 0.1.9
File Interpreter ABI Platform Actions
weather_nws_mcp-0.1.9-py3-none-any.whl Python 3 none any Details for weather_nws_mcp-0.1.9-py3-none-any.whl

Total release size: 9.4 kB

Release files / weather_nws_mcp-0.1.9.tar.gz

Download URL weather_nws_mcp-0.1.9.tar.gz
Size 4.3 kB
Tags Source
SHA-256 checksum
How to use checksums
ef4c05b6aba9dbf542509ba89d4cf9546c1c70bdb17d8753228e8ec1e9a082ed
BLAKE2b-256 checksum
How to use checksums
55a324df8422b75c87590a43ccd4b79c2a0324c8476ff00f7a10776224310581
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/6.2.0 CPython/3.11.11

Release files / weather_nws_mcp-0.1.9-py3-none-any.whl

Download URL weather_nws_mcp-0.1.9-py3-none-any.whl
Size 5.1 kB
Tags Python 3
SHA-256 checksum
How to use checksums
ab28241f16fa1b3a9ada54a847dcde7d52f3bfbb41b84b642562b8d67d6a109b
BLAKE2b-256 checksum
How to use checksums
8d935b74fc065de1bac84a018ee264534ea0b602ac1fcee4c8b6c56e2e29fd88
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/6.2.0 CPython/3.11.11

Security for weather-nws-mcp 0.1.9

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.

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