Access Meteo France API to fetch weather data.
Project description
meteofr
Tool to fetch weather data from Meteo France API based on latitude and longitude coordinates.
Table of Contents
Installation
pip install meteofr
Quickstart
A first download of the list of weather stations is required to compute closest active at the time station from given point.
from src.meteofr.get_data import get_weather
test_point = (47.218102, -1.552800)
td = Timestamp("today", tz="Europe/Paris").normalize().tz_convert("UTC")
dates = DatetimeIndex([td - Timedelta("30d"), td]) # 1 year max per request
df = get_weather(dates=dates, point=test_point)
License
meteofr is distributed under the terms of the MIT license.
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
Built Distribution
Filter files by name, interpreter, ABI, and platform.
If you're not sure about the file name format, learn more about wheel file names.
Copy a direct link to the current filters
File details
Details for the file meteofr-0.0.3.tar.gz.
File metadata
- Download URL: meteofr-0.0.3.tar.gz
- Upload date:
- Size: 2.2 MB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/6.1.0 CPython/3.12.9
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
ac61ec888b6e207ee922d5f350672692918f30a7b241ca4b22a21ecfc2302ef0
|
|
| MD5 |
55aa7ae570d5e5c5f5d2687549e726b3
|
|
| BLAKE2b-256 |
d6f681a7a804940db03811ee9e8de3d4e776dd2ba4d0dca1a9a8ae395aef3740
|
File details
Details for the file meteofr-0.0.3-py3-none-any.whl.
File metadata
- Download URL: meteofr-0.0.3-py3-none-any.whl
- Upload date:
- Size: 8.4 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/6.1.0 CPython/3.12.9
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
d7bbac9666a66cfdf01de11db909fcc325b2348e685e4d1ee25f5bd399d4742f
|
|
| MD5 |
2d96b60b8a1ff2e0fefcb9bb23e67042
|
|
| BLAKE2b-256 |
13d177b620b750c51f71884773536282a61176da4f878e0b8ae56c03e351a84d
|