skillfed

openmeteo-sdk

Open-Meteo Python SDK

openmeteo-sdk v1.28.0 399.1K downloads/30d#6,951 on PyPI62
Permissive license Active released

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-sdk

uv

uv add openmeteo-sdk

poetry

poetry add openmeteo-sdk

Installing 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

Development Status :: 3 - AlphaIntended Audience :: DevelopersLicense :: OSI Approved :: MIT LicenseProgramming Language :: Python :: 3 :: OnlyProgramming Language :: Python :: 3.10Programming Language :: Python :: 3.11Programming Language :: Python :: 3.8Programming Language :: Python :: 3.9

Tags

flatbuffers weather api schemaopen-meteo python sdkbinary weather data decodingflatbuffers schema pythonweather api client libraryefficient weather data parsingopen-meteo sdk
weather-apiflatbuffersschema-definitions

More WWW/HTTP packages