Registry / azure / semantic-link-labs

semantic-link-labs

JSON →
library0.17.0pypypiunverified

Semantic Link Labs is a Python library designed for use in Microsoft Fabric notebooks. It extends the capabilities of Semantic Link, offering additional functionalities to seamlessly integrate and work with semantic models, workspaces, lakehouses, reports, and capacities within Microsoft Fabric. The library is currently at version 0.14.2 and is actively developed.

%pip install semantic-link-labs
INSTALL
IMPORT
SIG · SEMANTIC-LINK-LABS
S
semantic-link-labs
azurepythonv0.17.0
harness data pending
Install & Compatibility
Where this runs

No compatibility data collected yet for this library.

Code
Verified usage

Verified import paths — ran on the pinned version, not inferred.

labs
import sempy_labs as labs
import semantic_link_labs
The common and recommended import alias is 'labs'.
migration
from sempy_labs import migration
directlake
from sempy_labs import directlake
lake
from sempy_labs import lakehouse as lake
rep
from sempy_labs import report as rep
connect_semantic_model
from sempy_labs.tom import connect_semantic_model
ConnectWarehouse
from sempy_labs import ConnectWarehouse

The quickstart demonstrates importing the library and provides a placeholder for a common administrative task within Microsoft Fabric, such as listing workspaces. Running this code successfully typically requires execution within a Microsoft Fabric notebook with the necessary permissions and environment setup. The library handles authentication implicitly within the Fabric environment.

import sempy_labs as labs # Example: List available workspaces (requires appropriate permissions in Fabric) # This is a placeholder; actual function calls require a Fabric context. # For a real scenario, you would typically be running this inside a Fabric notebook. # Example: List workspaces (assuming you have a Fabric connection/context) # workspaces = labs.admin.list_workspaces() # print(workspaces.head()) # A more generic example demonstrating an import and a hypothetical utility call print("Semantic Link Labs imported successfully. Ready to use 'labs' functions.") # Placeholder for an actual function call from the library that doesn't require specific Fabric resources to run without error # As a generic example, we'll assume a 'hello' function exists for demonstration # In reality, you'd call a function related to Fabric resources, e.g., labs.admin.list_workspaces()
Debug
Known issues
gotchaSemantic Link Labs is not officially supported by Microsoft and is a community-driven extension. While it integrates with Microsoft Fabric, direct official support channels for this specific library are not available.
fix
Report issues and request features via the GitHub repository. For critical production systems, evaluate the risk of using community-supported tools.
affects: All versions
gotchaThe library is not installed by default in Microsoft Fabric notebook runtimes. Users must explicitly run `%pip install semantic-link-labs` in each notebook session or install it into a custom Fabric environment.
fix
Include `%pip install semantic-link-labs` at the beginning of your Fabric notebooks or configure a custom Fabric environment to include the library.
affects: All versions
gotchaSeveral prerequisites must be met in your Microsoft Fabric capacity and workspace for full functionality, including enabled XMLA Read/Write, an existing lakehouse, and the 'Users can edit data models in the Power BI service' setting enabled in Workspace Settings.
fix
Ensure all necessary Fabric prerequisites are configured as per the official documentation to avoid runtime errors when using certain features.
affects: All versions
gotchaThe relationship between 'semantic-link', 'sempy', and 'semantic-link-labs' can be confusing. 'semantic-link' is the foundational feature, 'sempy' is a Python package within it, and 'semantic-link-labs' is an extension library built upon 'semantic-link-sempy' to provide additional, often experimental, functionalities.
fix
Refer to the official documentation and GitHub README for clarity on the distinct roles and dependencies of each component, focusing on `sempy_labs` for extended features.
affects: All versions
Upgrade
Version history
0.17.0latest on PyPI · released Jul 28, 2026
Audit
Dependencies
semantic-link-sempyrequiredCore dependency for Semantic Link functionalities. semantic-link-labs utilizes public APIs from sempy.fabric.
Agent activity
31 hits · last 30 days
node
26
OpenAI (training)
1
Resources
semantic-link-labs — pip install semantic-link-labs · libregistry