skillfed

semantic-link-functions-meteostat

Semantic link functions for meteostat package. Enables enrichment of FabricDataFrame with historical weather data.

semantic-link-functions-meteostat v0.14.2 473.1K downloads/30d#6,467 on PyPI16
Permissive license MIT License Active released

What it is and what it does

This package extends FabricDataFrame with semantic functions that automatically discover and apply enrichments based on column metadata. The add_weather_meteostat function examines your DataFrame's columns, detects latitude, longitude, and date columns via their data category metadata, and enriches the data with historical weather information from meteostat without requiring explicit configuration.

The package bridges Power BI's semantic metadata system with weather data APIs. It uses meteostat as its underlying data source and semantic-link-sempy as its framework for column detection and function registration. The design assumes you're working in a Fabric or Power BI context where column metadata (data categories) are already annotated; the semantic function activates only when those conditions are met.

Use it for:

  • Enrich sales or event data with historical weather conditions for correlation analysis.
  • Add weather context to geographic datasets for climate or environmental studies.
  • Automatically populate weather columns in Power BI datasets during data preparation.
  • Build feature engineering pipelines that detect relevant columns and apply domain-specific enrichments.
  • Combine location and timestamp data with meteorological history for anomaly detection.

Worth the install?

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

Adds semantic functions to FabricDataFrame that automatically enrich data with historical weather information from meteostat based on detected latitude, longitude, and date columns.

Yes, if you are working with FabricDataFrame in a Power BI or Fabric context and need to enrich location-time data with historical weather. The package is actively maintained, has low install friction, and uses a permissive MIT License. Install only if you have Python 3.10 or later and meteostat data availability meets your geographic and temporal needs.

Install

semantic-link-functions-meteostat on PyPI

pip

pip install semantic-link-functions-meteostat

uv

uv add semantic-link-functions-meteostat

poetry

poetry add semantic-link-functions-meteostat

Installing semantic-link-functions-meteostat

Before you install

Active maintenance with a recent release 24 days ago. Low install friction with only two runtime dependencies. Requires Python 3.10 or later.

License in practice

MIT License permits commercial and private use with minimal restrictions; suitable for most projects.

Quickstart

pip install semantic-link-functions-meteostat

from sempy.fabric import FabricDataFrame

df = FabricDataFrame(
    {"lat": [40.7128], "long": [-74.0060], "date": ["2023-01-06"]},
    column_metadata={"lat": {"data_category": "Latitude"}, "long": {"data_category": "Longitude"}}
)
df_weather = df.add_weather_meteostat("lat", "long", "date")

Requires Python 3.10 or later; depends on meteostat and semantic-link-sempy.

Verify before relying

  • What weather variables (temperature, precipitation, etc.) are returned by add_weather_meteostat.
  • Historical data coverage and geographic availability for your use case.
  • Performance characteristics when enriching large DataFrames with many rows.
  • Whether datetime conversion is required before calling add_weather_meteostat.

Package facts

License MIT License (permissive)
Python support supports the current Python release (>=3.10)
Install friction low — pure-Python wheel
Runtime dependencies 2 — meteostat, semantic-link-sempy
Maintenance actively maintained — 24 days since the last release
Last repo commit
First released
Downloads 473,144/month — #6,467 on PyPI (30-day window, as of 2026-08-14)
Known vulnerabilities none known (OSV.dev, checked 2026-08-14)

Evidence: semantic_link_functions_meteostat-0.14.2-py3-none-any.whl

Development Status :: 4 - BetaIntended Audience :: DevelopersLicense :: OSI Approved :: MIT LicenseProgramming Language :: Python :: 3.10

Tags

weather data enrichment dataframesemantic functions fabricmeteostat integrationautomatic column detection enrichmenthistorical weather datafabric dataframe extensiondata category aware functions
data-enrichmentsemantic-metadataweather-data

More Information Analysis packages

regex

A drop-in replacement for Python's standard…

permissive · top 100 on PyPI

pyarrow

pyarrow provides Python bindings to Apache…

permissive · top 100 on PyPI

networkx

NetworkX provides data structures and…

permissive · top 1,000 on PyPI

snowflake-connector-python

Connects Python applications to Snowflake data…

permissive · top 1,000 on PyPI

contourpy

ContourPy calculates contours of 2D…

permissive · top 1,000 on PyPI

snowflake-snowpark-python

Snowpark Python provides APIs to query and…

permissive · top 1,000 on PyPI

meteostat

Meteostat provides access to historical weather…

unclear · top 15,000 on PyPI

semantic-link-functions-geopandas

Adds geospatial semantic functions to…

permissive · top 15,000 on PyPI

semantic-link-functions-holidays

Adds semantic functions to FabricDataFrame that…

permissive · top 15,000 on PyPI

semantic-link-functions-phonenumbers

Adds phone number validation as a semantic…

permissive · top 15,000 on PyPI

semantic-link-functions-validators

Adds context-aware validation functions to…

permissive · top 15,000 on PyPI

semantic-link

Connects Python notebooks to Power BI datasets…

unclear · top 15,000 on PyPI

semantic-link-sempy

Connects Python notebooks and Spark jobs in…

unclear · top 5,000 on PyPI

semantic-link-labs

Extends Microsoft Fabric's Semantic Link with…

permissive · top 5,000 on PyPI

openmeteo-requests

Fetches weather data from the Open-Meteo API…

permissive · top 15,000 on PyPI

openmeteo-sdk

Provides compiled FlatBuffers schema files for…

permissive · top 15,000 on PyPI