skillfed

meteofrance-api

Python client for Météo-France API.

meteofrance-api v1.5.0 76.6K downloads/30d#14,613 on PyPI86
Permissive license MIT Active released

What it is and what it does

This package wraps the private Météo-France API used by official mobile applications, giving Python developers direct access to French weather data. It handles location search, hourly and daily forecasts, short-term rain predictions, and weather alerts for French departments and Andorre. The client abstracts away the complexity of communicating with a non-public API, making it straightforward to integrate French weather data into applications or custom monitoring tools.

The package depends only on pytz for timezone handling and requests for HTTP communication, keeping the dependency footprint minimal. It targets modern Python versions and has been actively maintained since its initial release.

Use it for:

  • Integrate real-time French weather forecasts into Home-Assistant or other home automation systems
  • Build a weather monitoring dashboard displaying hourly forecasts and rain predictions for French locations
  • Fetch official weather alerts and warnings for French departments to trigger automated alerts or notifications
  • Create a weather data aggregator combining Météo-France data with other regional sources
  • Develop a CLI tool for quick weather lookups and alert checks for French regions

Worth the install?

AI-flagged interpretation of the facts on this page — verify before relying

Python client for the private Météo-France API, providing access to weather forecasts, rain predictions, and weather alerts for French departments and Andorre.

Yes. The package is production-stable, actively maintained, has minimal dependencies, carries no known vulnerabilities, and uses a permissive MIT license. It is the straightforward choice for accessing Météo-France data from Python. The only caveat is that it depends on a private API endpoint, so monitor the project for any upstream changes.

Install

meteofrance-api on PyPI

pip

pip install meteofrance-api

uv

uv add meteofrance-api

poetry

poetry add meteofrance-api

Installing meteofrance-api

Before you install

Low install friction with only two runtime dependencies (pytz, requests). Active maintenance with recent commit on 2026-08-13 and production-stable status.

License in practice

MIT license permits free use, modification, and distribution with minimal restrictions, suitable for both personal and commercial projects.

Quickstart

pip install meteofrance-api

import meteofrance_api
client = meteofrance_api.MeteoFranceClient()
forecasts = client.get_forecast(location_id)

Verify before relying

  • Whether the private API endpoint remains stable or subject to undocumented changes from Météo-France
  • Rate limiting or authentication requirements for the underlying Météo-France API
  • Coverage and accuracy of weather alerts beyond metropolitan France

Package facts

License MIT (permissive)
Python support supports the current Python release (<4.0,>=3.10)
Install friction low — pure-Python wheel
Runtime dependencies 2 — pytz, requests
Maintenance actively maintained — 199 days since the last release
Last repo commit
First released
Downloads 76,577/month — #14,613 on PyPI (30-day window, as of 2026-08-14)
Known vulnerabilities none known (OSV.dev, checked 2026-08-14)

Evidence: meteofrance_api-1.5.0-py3-none-any.whl

Keywords: weather, weather-api, meteo

Development Status :: 5 - Production/StableLicense :: OSI Approved :: MIT LicenseOperating System :: OS IndependentProgramming Language :: Python :: 3Programming Language :: Python :: 3.10Programming Language :: Python :: 3.11Programming Language :: Python :: 3.12Programming Language :: Python :: 3.13Programming Language :: Python :: 3.14

Tags

météo-france weather api clientfrench weather forecast pythonmétéo-france alerts pythonweather api francehourly weather forecast francerain forecast france apifrench weather alerts
weather-datafrench-apihome-automation

More WWW/HTTP packages