semantic-link-sempy
Semantic link for Microsoft Fabric
Decision gist · record as of 2026-08-14
Yes, if you are actively working in Microsoft Fabric and need to integrate Power BI semantic models into your data science workflows. The package is actively maintained, has low install friction, and provides essential connectivity for Fabric-native development. However, the proprietary license and Beta status mean you should review Microsoft's terms and test thoroughly before production use. Not suitable for standalone Python environments or non-Fabric contexts.AI-flagged interpretation of the facts on this page — verify before relying
Before you install
- Requires a Microsoft Fabric subscription and must run within a Fabric notebook or Spark job; not supported in standalone Python environments.
- Requires Python 3.10 or later.
- Low install friction with a pure-Python wheel distribution.
License · maintenance · safety
proprietary and confidential (unclear) — Licensed as proprietary and confidential with unclear treatment. The license is not an open-source SPDX identifier, so redistribution, modification, and commercial use are restricted by Microsoft's terms. Review the linked Terms of Service before integrating into production systems.
last release 2026-07-21 (24 days)
0 known vulnerabilities (OSV.dev, 2026-08-14) · 951,817 downloads/mo, #4,654 on PyPI
Alternatives
Verify before relying
pip install semantic-link-sempy
import sempy.fabric as fabric
# List workspaces in Fabric tenant
workspaces = fabric.admin.list_workspaces()- Whether the 75 admin API functions and semantic propagation features are stable or still evolving in Beta status
- Performance characteristics when querying large Power BI semantic models or executing complex DAX expressions
- Compatibility with non-Microsoft authentication or on-premises Power BI instances
What it is and what it does
Semantic-link-sempy is the core package of Microsoft's semantic link feature, designed to bridge Power BI datasets and Microsoft Fabric's data science environment. It provides Python APIs to connect Spark notebooks and jobs to Power BI semantic models, query them via DAX, and enrich data analysis with Power BI measures and domain semantics. The package is built for data scientists working in Fabric who need to access and leverage semantic information stored in Power BI without leaving their notebooks.
The package includes connectivity to Power BI through the Spark native connector, data augmentation capabilities, and a comprehensive admin API (75 functions) for managing Fabric workspaces, capacities, domains, datasets, reports, and tenant settings. It depends on a large ecosystem of Azure SDKs, PySpark, pandas, and IPython, reflecting its tight integration with the Fabric platform. The package is classified as Beta, indicating active development and potential API changes.
Use it for
- Query Power BI semantic models and DAX measures directly from a Fabric notebook to augment pandas or Spark DataFrames with business logic.
- Automate tenant and workspace administration tasks such as listing workspaces, managing user access, and assigning capacities programmatically.
- Deploy or update semantic model definitions across Fabric workspaces, including remapping Direct Lake connections to new lakehouses.
- Extract and modify Power BI report layouts by reading and updating report.json files within a Fabric notebook workflow.
- Propagate semantic metadata and domain knowledge across data science projects to standardize analysis and reduce errors.
Worth the install?
AI-flagged interpretation of the facts on this page. Verify before relying on it.
Yes, if you are actively working in Microsoft Fabric and need to integrate Power BI semantic models into your data science workflows.
The package is actively maintained, has low install friction, and provides essential connectivity for Fabric-native development. However, the proprietary license and Beta status mean you should review Microsoft's terms and test thoroughly before production use. Not suitable for standalone Python environments or non-Fabric contexts.
Install
semantic-link-sempy on PyPI
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 depends on 23 runtime packages including PySpark, pandas, Azure SDKs, and IPython—typical for a Fabric-integrated tool but substantial for lightweight projects.
Requires a Microsoft Fabric subscription and must run within a Fabric notebook or Spark job; not supported in standalone Python environments. Requires Python 3.10 or later.
License in practice
Licensed as proprietary and confidential with unclear treatment. The license is not an open-source SPDX identifier, so redistribution, modification, and commercial use are restricted by Microsoft's terms. Review the linked Terms of Service before integrating into production systems.
Quickstart
pip install semantic-link-sempy
import sempy.fabric as fabric
# List workspaces in Fabric tenant
workspaces = fabric.admin.list_workspaces()
Verify before relying
- Whether the 75 admin API functions and semantic propagation features are stable or still evolving in Beta status
- Performance characteristics when querying large Power BI semantic models or executing complex DAX expressions
- Compatibility with non-Microsoft authentication or on-premises Power BI instances
Package facts
| License | proprietary and confidential unclear |
| Python support | Supports the current Python release >=3.10 |
| Install friction | Low. Pure-Python wheel |
| Runtime dependencies | 23 packagesclr_loaderfabric-analytics-sdkfabric-analytics-notebook-plugingraphvizazure-storage-blobazure-coreazure-keyvault-secretsazure-storage-file-datalakeipywidgetspyarrowpythonnetscikit_learnsetuptoolstqdmrichregexpandaspyjwtpysparkrequestsaiohttpIPythontenacity |
| Maintenance | Actively maintained 24 days since the last release |
| First released | |
| Downloads | 951,817 / month, #4,654 on PyPI 30-day window, as of 2026-08-14 |
| Known vulnerabilities | None known OSV.dev, checked 2026-08-14 |
| Classifiers | Development Status :: 4 - BetaIntended Audience :: DevelopersLicense :: Other/Proprietary LicenseProgramming Language :: Python :: 3.10 |
Evidence: semantic_link_sempy-0.14.2-py3-none-any.whl
Tags
Let your AI agent find packages like this
Example. Real query, live index.
You found this page by searching. An agent finds it by wishing: SkillFed indexes 14,416 PyPI packages by what they can do, searchable in plain language.
wish › “power bi fabric integration python”
- semantic-link-sempyConnects Python notebooks and Spark jobs in Microsoft Fabric to Power…
- semantic-linkConnects Python notebooks to Power BI datasets and Microsoft Fabric…
- semantic-link-labsExtends Microsoft Fabric's Semantic Link with utilities for managing…
Give your agent the search over MCP, or paste the wish link into any chat.
More Information Analysis packages
A drop-in replacement for Python's standard `re` module that adds advanced regex features like nested sets, fuzzy matching, lookaround in conditionals, and full Unicode case-folding while maintaining backward compatibility.
pyarrow provides Python bindings to Apache Arrow's C++ libraries for efficient columnar data processing, serialization, and interoperability with pandas, NumPy, and other Python ecosystem tools.
NetworkX provides data structures and algorithms for creating, analyzing, and manipulating graphs and networks, supporting everything from simple undirected graphs to complex directed and weighted networks.
Connects Python applications to Snowflake data warehouses using the DB API 2.0 specification, enabling SQL queries, data transfers, and warehouse operations.
ContourPy calculates contours of 2D quadrilateral grids using C++11 algorithms wrapped in Python, offering serial and multithreaded implementations without requiring Matplotlib as a dependency.
Snowpark Python provides APIs to query and process data directly in Snowflake without moving data to your local system, with support for both native Snowpark and pandas-compatible interfaces.
Install it if you use Snowflake and want to process data without moving it to your application layer.
See also semantic-link · semantic-link-labs · semantic-link-functions-validators · semantic-link-functions-holidays · semantic-link-functions-geopandas · semantic-link-functions-phonenumbers · dbt-fabricspark · visions · xmhuffman · pbixray