semantic-link
Semantic link for Microsoft Fabric
What it is and what it does
Semantic link is a Microsoft-authored package that bridges Python data science workflows with Power BI and Microsoft Fabric. It enables notebooks running in Fabric to query Power BI datasets, augment data with Power BI measures, and propagate semantic metadata (domain knowledge about data structure and meaning) back into analysis pipelines. The package is split into modular sub-packages—a core semantic-link-sempy plus optional function libraries for geospatial, holiday, weather, phone number, and validation operations—so you can install only what you need.
The package is tightly coupled to Microsoft Fabric infrastructure and cannot run outside Fabric notebooks or Spark jobs. It requires Python 3.10 or later and is actively maintained, with recent releases adding comprehensive admin APIs for managing workspaces, capacities, domains, and tenant settings. The license is proprietary and terms must be accepted at install time.
Use it for:
- Query Power BI datasets directly from a Fabric notebook and augment them with computed measures without leaving Python.
- Preserve and propagate semantic metadata (column meanings, relationships, business rules) across data science workflows to reduce errors and speed analysis.
- Manage Fabric and Power BI tenant resources (workspaces, capacities, domains, users) programmatically from a notebook using the admin API.
- Enrich datasets with domain-specific functions (holidays, geospatial operations, phone validation) while maintaining semantic context.
- Integrate established data science tools and notebooks with Power BI and Fabric without manual data export or ETL steps.
Worth the install?
AI-flagged interpretation of the facts on this page — verify before relying
Connects Python notebooks to Power BI datasets and Microsoft Fabric workspaces, enabling data augmentation with Power BI measures and semantic propagation for data analysis.
Yes, if you work within Microsoft Fabric and need to connect Python notebooks to Power BI datasets or manage Fabric resources programmatically. The low install friction, active maintenance, and zero known vulnerabilities support adoption. However, the proprietary license and hard requirement to run only in Fabric (not locally) mean this is a specialized tool for Fabric users only—not a general-purpose library. Verify the proprietary license terms before production use.
Install
semantic-link on PyPI
pip
pip install semantic-linkuv
uv add semantic-linkpoetry
poetry add semantic-linkInstalling semantic-link
Before you install
Low install friction with a pure-Python wheel distribution. Active maintenance with a release 24 days ago. Requires Python 3.10 or later and runs only within Microsoft Fabric notebooks or Spark jobs—not a general-purpose library.
License in practice
Licensed as proprietary and confidential with unclear treatment. Users must agree to Microsoft's Terms of Service upon download and installation. Verify licensing terms before use in production environments.
Quickstart
# In a Microsoft Fabric notebook:
%pip install -U semantic-link
import semantic_link_sempy as sempy
# Connect to Power BI and retrieve data with semantic context
Requires Microsoft Fabric subscription and must run within a Fabric notebook or Spark job; not usable in local Python environments or outside Fabric.
Verify before relying
- Specific capabilities of each of the 6 runtime dependencies (geopandas, holidays, meteostat, phonenumbers, validators functions) and whether all are required or optional.
- Whether the 75 admin API functions mentioned in the changelog are fully exposed in version 0.14.2 or represent a partial rollout.
- Performance characteristics and data volume limits when augmenting large Power BI datasets with semantic functions.
Package facts
| License | proprietary and confidential (unclear) |
| Python support | supports the current Python release (>=3.10) |
| Install friction | low — pure-Python wheel |
| Runtime dependencies | 6 — semantic-link-sempy, semantic-link-functions-geopandas, semantic-link-functions-holidays, semantic-link-functions-meteostat, semantic-link-functions-phonenumbers, semantic-link-functions-validators |
| Maintenance | actively maintained — 24 days since the last release |
| First released | |
| Downloads | 482,029/month — #6,425 on PyPI (30-day window, as of 2026-08-14) |
| Known vulnerabilities | none known (OSV.dev, checked 2026-08-14) |
Evidence: semantic_link-0.14.2-py3-none-any.whl
Tags
More Database packages
psycopg2-binary is a PostgreSQL database…
copyleft · top 1,000 on PyPI
redisPython client library for connecting to and…
permissive · top 1,000 on PyPI
ydbYDB Python SDK is the official client library…
permissive · top 1,000 on PyPI
snowflake-connector-pythonConnects Python applications to Snowflake data…
permissive · top 1,000 on PyPI
sqlparsesqlparse tokenizes SQL text into a tree of…
permissive · top 1,000 on PyPI
dbt-adaptersProvides base adapter protocols and shared…
permissive · top 1,000 on PyPI
semantic-link-labsExtends Microsoft Fabric's Semantic Link with…
permissive · top 5,000 on PyPI
semantic-link-sempyConnects Python notebooks and Spark jobs in…
unclear · top 5,000 on PyPI
semantic-link-functions-validatorsAdds context-aware validation functions to…
permissive · top 15,000 on PyPI
semantic-link-functions-holidaysAdds semantic functions to FabricDataFrame that…
permissive · top 15,000 on PyPI
semantic-link-functions-geopandasAdds geospatial semantic functions to…
permissive · top 15,000 on PyPI
semantic-link-functions-phonenumbersAdds phone number validation as a semantic…
permissive · top 15,000 on PyPI
visionsVisions defines and detects semantic data types…
permissive · top 5,000 on PyPI
semantic-link-functions-meteostatAdds semantic functions to FabricDataFrame that…
permissive · top 15,000 on PyPI
dbt-fabricsparkA dbt adapter that connects dbt to Apache Spark…
permissive · top 5,000 on PyPI
xmhuffmanDecodes canonical-Huffman compressed string…
permissive · top 15,000 on PyPI