skillfed

semantic-link-functions-geopandas

Semantic link functions for Geopandas. Enables conversion of a FabricDataFrame to a GeoDataFrame.

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

What it is and what it does

This package extends FabricDataFrame with geospatial semantic functions that automatically appear in autocomplete when your data contains location columns and appropriate metadata. It bridges Microsoft's Fabric data model with the geopandas geospatial ecosystem, allowing you to convert a FabricDataFrame with latitude and longitude columns into a GeoDataFrame for spatial analysis.

The package uses the @semantic_function decorator pattern to register functions that inspect data types, column metadata (such as Power BI data categories), and actual data values to determine when they should be available. This means functions like is_holiday or geospatial operations show up contextually rather than cluttering every namespace. It's designed for developers working with Fabric data who need to perform geographic operations without manual function discovery or explicit imports.

Use it for:

  • Convert Fabric datasets with latitude/longitude columns to GeoDataFrames for spatial analysis and mapping
  • Automatically surface location-aware functions in IDE autocomplete when working with geographic data
  • Integrate Power BI data categories with geopandas workflows for seamless geospatial operations
  • Build data pipelines that combine Fabric's semantic metadata with folium-based map visualizations
  • Classify geographic data using mapclassify within a Fabric-native data structure

Worth the install?

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

Adds geospatial semantic functions to FabricDataFrame, enabling automatic discovery and application of location-aware operations based on detected latitude/longitude columns and metadata.

Yes, if you work with Fabric data and need geospatial operations. The package is actively maintained, has low install friction, carries a permissive MIT license, and integrates cleanly with geopandas. However, it is in beta status and has modest adoption (16 repository stars), so expect potential API changes and verify compatibility with your specific versions of geopandas and mapclassify before production use.

Install

semantic-link-functions-geopandas on PyPI

pip

pip install semantic-link-functions-geopandas

uv

uv add semantic-link-functions-geopandas

poetry

poetry add semantic-link-functions-geopandas

Installing semantic-link-functions-geopandas

Before you install

Active maintenance with a recent release (24 days old). Low install friction with four runtime dependencies. Repository shows modest activity (16 stars), and the package is in beta status.

License in practice

MIT License permits free use, modification, and distribution with minimal restrictions, making it suitable for both open-source and commercial projects.

Quickstart

pip install semantic-link-functions-geopandas

from sempy.fabric import FabricDataFrame

df = FabricDataFrame(
    {"country": ["US", "AT"], "lat": [40.7128, 47.8095], "long": [-74.0060, 13.0550]},
    column_metadata={"lat": {"data_category": "Latitude"}, "long": {"data_category": "Longitude"}}
)
df_geo = df.to_geopandas(lat_col="lat", long_col="long")

Requires Python 3.10 or later; depends on geopandas, folium, mapclassify, and semantic-link-sempy being installed and compatible.

Verify before relying

  • Whether semantic function discovery works reliably across different data category metadata schemas
  • Performance characteristics when working with large geospatial datasets
  • Compatibility with specific versions of geopandas, folium, and mapclassify beyond the minimum Python 3.10 requirement

Package facts

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

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

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

Tags

semantic functions geopandasfabric dataframe geospatialautomatic geo functionslatitude longitude metadatafabric to geopandas conversionlocation-aware dataframe methodssemantic link geo
geospatialfabric-integrationsemantic-functions

More Scientific/Engineering packages

numpy

NumPy provides an N-dimensional array object…

permissive · top 100 on PyPI

pandas

pandas provides fast, flexible data structures…

permissive · top 100 on PyPI

scipy

scipy provides numerical algorithms for…

permissive · top 100 on PyPI

scikit-learn

scikit-learn provides a comprehensive Python…

permissive · top 1,000 on PyPI

dill

dill extends Python's pickle module to…

permissive · top 1,000 on PyPI

multiprocess

Multiprocess is an enhanced fork of Python's…

permissive · top 1,000 on PyPI

semantic-link-functions-meteostat

Adds semantic functions to FabricDataFrame that…

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

dask-geopandas

Dask-GeoPandas parallelizes geospatial…

permissive · top 15,000 on PyPI

reverse-geocode

Reverse Geocode converts latitude/longitude…

copyleft · top 15,000 on PyPI

prefixmaps

Retrieves and manages semantic prefix maps that…

permissive · top 15,000 on PyPI