Skip to main content

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

Project description

meteofrance-api

Client Python pour l'API Météo-France. | Python client for Météo-France API.

Build Status codecov License

GitHub Release PyPI version GitHub Activity

You will find English README content here.

Vous trouverez le contenu francophone du README ici.

Pour les francophones

Description

Ce pacakge Python permet de gérer la communication avec l'API non publique de Météo-France utilisée par les applications moblies officielles.

Le client permet:

  • Rechercher des lieux de prévisions.
  • Accéder aux prévisions météorologiques horraires ou quotidiennes.
  • Accéder aux prévisions de pluie dans l'heure quand disponibles.
  • Accéder aux alertes météo pour chaque département français et l'Andorre. Deux bulletins sont disponibles : un synthétique et un second avec l'évolution des alertes pour les prochaines 24 heures (exemple ici).

Ce package a été développé avec l'intention d'être utilisé par Home-Assistant mais il peut être utilsé dans d'autres contextes.

Installation

Pour utiliser le module Python meteofrance vous devez en premier installer le package:

pip install meteofrance-api

Vous pouvez trouver un exemple d'usage dans un module Python en regardant le test d'intégration.

Contribuer

Les contributions sont les bienvenues. Veuillez consulter les bonnes pratiques détaillées dans CONTRIBUTING.md.

For English speaking users

Descritption

This Python package manages the communication with the private Météo-France API used by the official moblie applications.

The client allows:

  • Search a forecast location.
  • Fetch daily or hourly weather forecast.
  • Fetch rain forecast within the next hour if available.
  • Fetch the weather alerts or phenomenoms for each French department or Andorre. Two bulletin are availabe: one basic and an other advanced with the timelaps evolution for the next 24 hours (example here).

This package have been developed to be used with Home-Assistant but it can be used in other contexts.

Installation

To use the meteofrance Python module, you have to install this package first:

pip install meteofrance-api

You will find an example ot usage in a Python program in the integration test.

Contributing

Contributions are welcomed. Please check the guidelines in CONTRIBUTING.md.

Project details


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

meteofrance-api-0.0.1.tar.gz (10.4 kB view details)

Uploaded Source

Built Distribution

If you're not sure about the file name format, learn more about wheel file names.

meteofrance_api-0.0.1-py3-none-any.whl (11.6 kB view details)

Uploaded Python 3

File details

Details for the file meteofrance-api-0.0.1.tar.gz.

File metadata

  • Download URL: meteofrance-api-0.0.1.tar.gz
  • Upload date:
  • Size: 10.4 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/3.1.1 pkginfo/1.5.0.1 requests/2.23.0 setuptools/41.2.0 requests-toolbelt/0.9.1 tqdm/4.46.0 CPython/3.8.3

File hashes

Hashes for meteofrance-api-0.0.1.tar.gz
Algorithm Hash digest
SHA256 e49214a69c0bc5071fafe3ef251c7cb28553134a9ecdc02e90205d51e8e9c39c
MD5 288371743741c8a35e4d8725fe31058a
BLAKE2b-256 f6371c92e14e413b51035608b5faa726d703eada2e4a4fd3b36c3f5403356aa3

See more details on using hashes here.

File details

Details for the file meteofrance_api-0.0.1-py3-none-any.whl.

File metadata

  • Download URL: meteofrance_api-0.0.1-py3-none-any.whl
  • Upload date:
  • Size: 11.6 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/3.1.1 pkginfo/1.5.0.1 requests/2.23.0 setuptools/41.2.0 requests-toolbelt/0.9.1 tqdm/4.46.0 CPython/3.8.3

File hashes

Hashes for meteofrance_api-0.0.1-py3-none-any.whl
Algorithm Hash digest
SHA256 7e3fd13c58881fe8c85935c9a67fa17a06ae7a7bb4d6d91b989e6669a3e05bee
MD5 8859893ce0f6427b62ac5ae0f8b73589
BLAKE2b-256 6e677108bb70737674bec87f2344ac94232a63d0920aeaa44291eece02ad7f2a

See more details on using hashes here.

Supported by

AWS Cloud computing and Security Sponsor Datadog Monitoring Depot Continuous Integration Fastly CDN Google Download Analytics Pingdom Monitoring Sentry Error logging StatusPage Status page