accuweather
Python wrapper for getting weather data from AccuWeather API.
What it is and what it does
accuweather is an async Python client for the AccuWeather weather API. It wraps aiohttp to provide a non-blocking interface for fetching current weather conditions, daily forecasts, and hourly forecasts for specified coordinates. The package handles API authentication, location lookup, and response parsing, and raises specific exceptions (InvalidApiKeyError, InvalidCoordinatesError, RequestsExceededError) to help you handle common failure modes.
The library is built for modern Python (3.13+) with type hints and is designed to integrate into async applications. It depends on aiohttp for HTTP transport, orjson for fast JSON parsing, and yarl for URL handling. You provide an API key, coordinates, and an aiohttp ClientSession, then call async methods to retrieve weather data.
Use it for:
- Fetch current weather conditions for a location in an async web service or bot
- Build a weather dashboard that updates daily and hourly forecasts without blocking
- Integrate AccuWeather data into a home automation or IoT monitoring system
- Query weather for multiple locations concurrently in a data pipeline
- Provide localized weather information in a multi-language application
Worth the install?
AI-flagged interpretation of the facts on this page — verify before relying
Async Python wrapper for fetching current conditions, daily forecasts, and hourly forecasts from the AccuWeather API using aiohttp.
Yes, if you need AccuWeather data in an async Python application and can meet the Python 3.13+ requirement. Low install friction, active maintenance, no known vulnerabilities, and permissive licensing make it a straightforward choice. The main constraint is the hard Python version floor and the requirement for an AccuWeather API key.
Install
accuweather on PyPI
pip
pip install accuweatheruv
uv add accuweatherpoetry
poetry add accuweatherInstalling accuweather
Before you install
Low install friction with a pure-Python wheel distribution. Actively maintained as of 2026-08-13 with recent releases; requires Python 3.13 or later.
License in practice
Apache-2.0 permissive license allows commercial and private use with minimal restrictions.
Quickstart
pip install accuweather
import asyncio
from aiohttp import ClientSession
from accuweather import AccuWeather
async def get_weather():
async with ClientSession() as session:
accuweather = AccuWeather("YOUR_API_KEY", session, latitude=52.0677904, longitude=19.4795644)
current = await accuweather.async_get_current_conditions()
return current
asyncio.run(get_weather())
Requires an AccuWeather API key from https://developer.accuweather.com/subscriptions; Python 3.13 or later.
Verify before relying
- Rate limits and quota behavior for different AccuWeather subscription tiers
- Whether the package handles API response schema changes or versioning
- Performance characteristics with concurrent requests across multiple locations
Package facts
| License | Apache-2.0 (permissive) |
| Python support | supports the current Python release (>=3.13) |
| Install friction | low — pure-Python wheel |
| Runtime dependencies | 3 — aiohttp, orjson, yarl |
| Maintenance | actively maintained — 170 days since the last release |
| Last repo commit | |
| First released | |
| Downloads | 75,553/month — #14,702 on PyPI (30-day window, as of 2026-08-14) |
| Known vulnerabilities | none known (OSV.dev, checked 2026-08-14) |
Evidence: accuweather-5.1.0-py3-none-any.whl
Tags
More WWW/HTTP packages
urllib3 is an HTTP client library that provides…
permissive · top 100 on PyPI
requestsRequests is a Python HTTP library that…
permissive · top 100 on PyPI
h11h11 is a pure-Python HTTP/1.1 protocol…
permissive · top 100 on PyPI
httpxHTTPX is a fully featured HTTP client library…
permissive · top 100 on PyPI
httpcoreA minimal low-level HTTP client library that…
permissive · top 100 on PyPI
aiohttpaiohttp is an async HTTP client and server…
permissive · top 100 on PyPI
AEMET-OpenDataPython client for the AEMET OpenData Rest API…
copyleft · top 15,000 on PyPI
imgw-pibAn async Python wrapper for the IMGW-PIB API…
permissive · top 15,000 on PyPI
nextdnsAsync Python wrapper for the NextDNS API that…
permissive · top 15,000 on PyPI
pynwsAsynchronously fetch weather observations,…
permissive · top 15,000 on PyPI
meteomaticsConnects Python applications to the Meteomatics…
permissive · top 15,000 on PyPI
aioambientAn async Python library for querying Ambient…
permissive · top 15,000 on PyPI
meteofrance-apiPython client for the private Météo-France API,…
permissive · top 15,000 on PyPI
pyowmPyOWM is a Python client library that wraps…
permissive · top 15,000 on PyPI
open-meteoProvides an asynchronous Python client for…
permissive · top 15,000 on PyPI
atcf-data-parserParses a-deck forecast data from the Automated…
permissive · top 15,000 on PyPI