AEMET-OpenData
AEMET OpenData Rest API library
Decision gist · record as of 2026-08-14
Yes, if you need Spanish weather data and can accept the GPL-2.0-only copyleft license. The package is actively maintained, has low install friction, and integrates cleanly with async Python code. No known vulnerabilities. Not suitable for proprietary projects due to license constraints.AI-flagged interpretation of the facts on this page — verify before relying
Before you install
- Requires Python >= 3.11.
- Requires a valid AEMET OpenData API key (obtainable from https://opendata.aemet.es/).
- Low install friction with only two runtime dependencies (aiohttp, geopy).
License · maintenance · safety
GPL-2.0-only (copyleft) — Licensed under GPL-2.0-only (copyleft). Any derivative work or integration must be distributed under the same license terms; proprietary or closed-source projects cannot use this package without relicensing.
last release 2024-12-21 (601 days) · last repo commit 2026-05-05 · 8 stars
0 known vulnerabilities (OSV.dev, 2026-08-14) · 76,304 downloads/mo, #14,637 on PyPI
Alternatives
Verify before relying
pip install AEMET-OpenData
from AEMET_OpenData import AEMET
aemet = AEMET(api_key='your_api_key')
weather_data = await aemet.get_weather()- Whether the package supports async/await patterns throughout or only in specific methods
- Current state of AEMET API stability and whether breaking changes occur frequently
- Whether geopy is used for location geocoding or coordinate transformation
What it is and what it does
AEMET-OpenData is a Python wrapper around Spain's AEMET (Agencia Estatal de Meteorología) public weather API. It abstracts the REST interface to let you fetch current conditions, forecasts, and other meteorological data without building HTTP requests directly. The package uses aiohttp for async HTTP calls and geopy for location handling, making it suitable for integration into home automation systems and real-time weather applications.
The package is actively maintained and targets modern Python (3.11+). It was originally built for Home Assistant but works in any context where you need programmatic access to AEMET's public weather data. The codebase is relatively small and focused on a single API surface.
Use it for
- Fetch current weather conditions and forecasts for Spanish locations in a Home Assistant integration
- Build a weather dashboard or monitoring tool that pulls real-time data from AEMET
- Integrate Spanish meteorological data into IoT or smart home automation workflows
- Retrieve historical or forecast weather data for analysis or reporting
Worth the install?
AI-flagged interpretation of the facts on this page. Verify before relying on it.
Yes, if you need Spanish weather data and can accept the GPL-2.0-only copyleft license.
The package is actively maintained, has low install friction, and integrates cleanly with async Python code. No known vulnerabilities. Not suitable for proprietary projects due to license constraints.
Install
aemet-opendata on PyPI
Before you install
Low install friction with only two runtime dependencies (aiohttp, geopy). Actively maintained with recent commits; last release was 601 days ago but repo shows ongoing activity. Supports current Python versions (3.11, 3.12, 3.13).
Requires Python >= 3.11. Requires a valid AEMET OpenData API key (obtainable from https://opendata.aemet.es/).
License in practice
Licensed under GPL-2.0-only (copyleft). Any derivative work or integration must be distributed under the same license terms; proprietary or closed-source projects cannot use this package without relicensing.
Quickstart
pip install AEMET-OpenData
from AEMET_OpenData import AEMET
aemet = AEMET(api_key='your_api_key')
weather_data = await aemet.get_weather()
Verify before relying
- Whether the package supports async/await patterns throughout or only in specific methods
- Current state of AEMET API stability and whether breaking changes occur frequently
- Whether geopy is used for location geocoding or coordinate transformation
Package facts
| License | GPL-2.0-only copyleft |
| Python support | Supports the current Python release >=3.11 |
| Install friction | Low. Pure-Python wheel |
| Runtime dependencies | 2 packagesaiohttpgeopy |
| Maintenance | Actively maintained 601 days since the last release |
| Last repo commit | |
| First released | |
| Downloads | 76,304 / month, #14,637 on PyPI 30-day window, as of 2026-08-14 |
| Known vulnerabilities | None known OSV.dev, checked 2026-08-14 |
| Classifiers | Development Status :: 4 - BetaIntended Audience :: DevelopersNatural Language :: EnglishProgramming Language :: Python :: 3Programming Language :: Python :: 3.11Programming Language :: Python :: 3.12Programming Language :: Python :: 3.13Topic :: Home Automation |
Evidence: AEMET_OpenData-0.6.4-py3-none-any.whl
Tags
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 › “AEMET weather API client”
- AEMET-OpenDataPython client for the AEMET OpenData Rest API that retrieves public…
- open-meteoProvides an asynchronous Python client for querying the Open-Meteo…
- imgw-pibAn async Python wrapper for the IMGW-PIB API that fetches weather and…
Give your agent the search over MCP, or paste the wish link into any chat.
More Home Automation packages
Represents and manipulates IPv4, IPv6, MAC addresses and related network objects; supports CIDR notation, subnetting, set operations, IANA lookups, and DNS reverse generation.
Home Assistant is an open-source home automation platform that centralizes control of smart home devices and automations on a local server or Raspberry Pi, prioritizing local control and privacy over cloud dependency.
Defines finite state machines and statecharts with a declarative Python API, supporting flat states, compound hierarchies, parallel regions, history states, guards, and both sync and async callbacks.
Install it if you need to model workflows, control logic, or any system with discrete states and event-driven transitions — from simple state machines to complex…
A Python library for controlling BlueZ Bluetooth adapters on Linux via the Management API, supporting both synchronous and event-driven command patterns.
An async Python library for controlling and monitoring Homematic and HomematicIP devices through multiple backend systems (CCU3, OpenCCU, Homegear, CUxD, CCU-Jack) using XML-RPC and JSON-RPC protocols.
Install it if you need to control Homematic devices from Python; the only constraint is a requirement for Python 3.14 or later and network access to a compatible…
Provides base classes and utilities for Home Assistant integrations to proxy HTTP and WebSocket traffic through Home Assistant's web server.
Install only if you are building a custom Home Assistant integration; it is not useful as a standalone package.
See also accuweather · pyowm · meteomatics · ecmwf-api-client · ecmwf-opendata · open-meteo · meteofrance-api · simple-dwd-weatherforecast · pyatmo · irm-kmi-api