openmeteo-sdk
Open-Meteo Python SDK
What it is and what it does
The openmeteo-sdk package provides pre-compiled FlatBuffers schema definitions for the Open-Meteo weather API in Python. It enables developers to decode binary-encoded weather responses directly rather than working with JSON, which trades parsing overhead for significantly faster data processing—especially valuable for historical weather data and low-power devices. The package itself contains only schema definitions and enumerations (Model, Variable, Unit, Aggregation, Probability); it does not include HTTP client code, so you pair it with your own HTTP library to fetch and decode responses.
The schemas support Weather, Marine, Ensemble, Flood, and Climate API endpoints, with responses structured as WeatherApiResponse objects containing current, hourly, daily, weekly, monthly, and minutely_15 data. Each variable carries metadata like unit, altitude, pressure level, and aggregation type. The package maintains binary compatibility across releases and follows semantic versioning, ensuring stable integration into client libraries.
Use it for:
- Build a Python weather client library that fetches Open-Meteo data in FlatBuffers format for faster decoding than JSON
- Process large historical weather datasets where binary parsing speed significantly reduces computation time
- Display weather forecasts on low-power or embedded devices where energy savings from binary encoding matter
- Decode temperature, wind, precipitation, and other meteorological variables with strict typing guarantees
- Integrate Open-Meteo weather data into scientific or climate analysis pipelines requiring efficient data handling
Worth the install?
AI-flagged interpretation of the facts on this page — verify before relying
Provides compiled FlatBuffers schema files for decoding Open-Meteo weather API responses efficiently in Python, enabling binary-format weather data parsing without HTTP logic.
Yes. The package is actively maintained, has low install friction, carries a permissive MIT license, and fills a clear role for developers building Open-Meteo clients in Python. It is essential if you want to use the Open-Meteo API's FlatBuffers format; unnecessary if you only need JSON responses.
Install
openmeteo-sdk on PyPI
pip
pip install openmeteo-sdkuv
uv add openmeteo-sdkpoetry
poetry add openmeteo-sdkInstalling openmeteo-sdk
Before you install
Low friction install with a single runtime dependency (flatbuffers). Package is actively maintained with a recent release 16 days ago and ongoing repository activity.
License in practice
MIT license permits commercial and private use with minimal restrictions, making it suitable for most projects.
Quickstart
pip install openmeteo-sdk
from openmeteo_sdk import Model
from openmeteo_sdk.Variable import Variable
# Decode FlatBuffers response from Open-Meteo API
hourly = response.Hourly()
hourly_variables = list(map(lambda i: hourly.Variables(i), range(0, hourly.VariablesLength())))
temperature = next(filter(lambda x: x.Variable() == Variable.temperature and x.Altitude() == 2, hourly_variables))
Verify before relying
- Whether the package includes helper utilities beyond schema definitions for common decoding tasks
- Performance benchmarks comparing FlatBuffers decoding to JSON parsing for typical weather datasets
- Support status for Elevation and Geocoding API schemas mentioned as 'not yet available'
Package facts
| License | not declared (permissive) |
| Python support | supports the current Python release (>=3.8.1) |
| Install friction | low — pure-Python wheel |
| Runtime dependencies | 1 — flatbuffers |
| Maintenance | actively maintained — 16 days since the last release |
| Last repo commit | |
| First released | |
| Downloads | 399,126/month — #6,951 on PyPI (30-day window, as of 2026-08-14) |
| Known vulnerabilities | none known (OSV.dev, checked 2026-08-14) |
Evidence: openmeteo_sdk-1.28.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
flatbuffersFlatBuffers is a serialization library that…
permissive · top 1,000 on PyPI
openmeteo-requestsFetches weather data from the Open-Meteo API…
permissive · top 15,000 on PyPI
open-meteoProvides an asynchronous Python client for…
permissive · top 15,000 on PyPI
meteostatMeteostat provides access to historical weather…
unclear · top 15,000 on PyPI
simple-dwd-weatherforecastRetrieves hourly weather forecasts for the next…
permissive · top 15,000 on PyPI
meteofrance-apiPython client for the private Météo-France API,…
permissive · top 15,000 on PyPI
accuweatherAsync Python wrapper for fetching current…
permissive · top 15,000 on PyPI
irm-kmi-apiAsync Python client to fetch current weather,…
permissive · top 15,000 on PyPI
pyowmPyOWM is a Python client library that wraps…
permissive · top 15,000 on PyPI
semantic-link-functions-meteostatAdds semantic functions to FabricDataFrame that…
permissive · top 15,000 on PyPI