Reference

Information-oriented docs: the exact public API, generated from the docstrings in the source. If you see something here, it’s part of the supported public surface.

openmeteo

Lightweight async Python client for the Open-Meteo weather API.

This package is a pre-alpha release. Real functionality (today, tomorrow, forecast, Client, Location, Variable) arrives in v0.1.0. Until then, ping() exists so you can verify the package imports and runs.

Track progress at https://github.com/jakobheine/open-meteo-client.

openmeteo.ping()[source]

Return a small string confirming the package is alive.

Use this as a smoke test after installing, or in an automation to check that open-meteo-client is importable in your environment. It performs no I/O and never raises.

Return type:

str

Returns:

A short human-readable string containing the installed version, e.g. "open-meteo-client 0.0.4: pong".

Example

>>> from openmeteo import ping
>>> ping()
'open-meteo-client 0.0.4: pong'