skillfed

semantic-link-labs

Semantic Link Labs for Microsoft Fabric

semantic-link-labs v0.17.0 2.1M downloads/30d#3,255 on PyPI565
Permissive license MIT License Active released

What it is and what it does

Semantic Link Labs is a Python library built on top of Microsoft Fabric's Semantic Link, designed to run in Jupyter notebooks within the Fabric environment. It provides utilities for programmatically managing Power BI semantic models—including migration to Direct Lake, backup and restore, refresh operations, and DAX query analysis—as well as report metadata inspection and capacity management. The library aims to automate repetitive tasks and reduce manual intervention in Fabric workflows.

The package depends on semantic-link-sempy as its primary runtime dependency, along with anytree, polib, jsonpath_ng, anywidget, and sqlglot. It is classified as Alpha and supports Python 3.10 and later. The library is actively maintained by Microsoft with recent releases and a public GitHub repository accepting bug reports and feature requests.

Use it for:

  • Migrate Power BI semantic models from import or DirectQuery to Direct Lake mode.
  • Run best practice analysis on semantic models and reports to identify issues.
  • Back up, restore, and deploy semantic models across Fabric workspaces.
  • Analyze DAX query dependencies and column usage in semantic models.
  • Manage Fabric capacity provisioning and migration between SKU types.
  • Auto-generate measure descriptions and manage incremental refresh policies.

Worth the install?

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

Extends Microsoft Fabric's Semantic Link with utilities for managing Power BI semantic models, reports, and capacities programmatically within Jupyter notebooks.

Yes, if you work within Microsoft Fabric notebooks and need to automate semantic model or report management. The library is actively maintained, has no known vulnerabilities, uses a permissive MIT License, and installs with low friction. However, its utility is narrowly scoped to the Fabric environment; it is not a general-purpose Power BI tool and requires Python 3.10 or later.

Install

semantic-link-labs on PyPI

pip

pip install semantic-link-labs

uv

uv add semantic-link-labs

poetry

poetry add semantic-link-labs

Installing semantic-link-labs

Before you install

Low friction install with a pure Python wheel. Active maintenance with a release 17 days old and recent commits. Depends on semantic-link-sempy plus six other libraries with no compiled dependencies.

License in practice

MIT License permits commercial and private use with minimal restrictions; you may use, modify, and distribute the package freely provided you include the license notice.

Quickstart

pip install semantic-link-labs

import semantic_link_labs
# Use within Microsoft Fabric notebooks for semantic model operations

Requires Python 3.10 or later and is designed for use within Microsoft Fabric notebooks; functionality outside that environment is not documented.

Verify before relying

  • Exact scope of functionality available outside Microsoft Fabric notebooks is unclear.
  • Whether semantic-link-sempy is a separate package or a bundled dependency is not specified.
  • Performance characteristics and scalability limits for large semantic models are not documented.
  • Specific API signatures and usage patterns beyond the featured scenarios listed.

Package facts

License MIT License (permissive)
Python support supports the current Python release (<3.14,>=3.10)
Install friction low — pure-Python wheel
Runtime dependencies 6 — semantic-link-sempy, anytree, polib, jsonpath_ng, anywidget, sqlglot
Maintenance actively maintained — 17 days since the last release
Last repo commit
First released
Downloads 2,146,383/month — #3,255 on PyPI (30-day window, as of 2026-08-14)
Known vulnerabilities none known (OSV.dev, checked 2026-08-14)

Evidence: semantic_link_labs-0.17.0-py3-none-any.whl

Development Status :: 3 - AlphaFramework :: JupyterIntended Audience :: DevelopersIntended Audience :: EducationIntended Audience :: Science/ResearchProgramming Language :: Python :: 3 :: OnlyProgramming Language :: Python :: 3.10

Tags

power bi semantic model automationmicrosoft fabric notebook utilitiesdirect lake migration toolspower bi report metadata analysisfabric capacity managementdax query analysissemantic model backup restore
power-bimicrosoft-fabricautomation

More Front-Ends packages

SQLAlchemy

SQLAlchemy is a Python SQL toolkit and Object…

permissive · top 100 on PyPI

psycopg2-binary

psycopg2-binary is a PostgreSQL database…

copyleft · top 1,000 on PyPI

alembic

Alembic generates and manages database schema…

permissive · top 1,000 on PyPI

weaviate-client

A Python client library for connecting to and…

permissive · top 1,000 on PyPI

databricks-sql-connector

A Python client library that connects to…

permissive · top 1,000 on PyPI

psycopg

Psycopg 3 is a PostgreSQL database adapter for…

copyleft · top 1,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-functions-validators

Adds context-aware validation functions to…

permissive · top 15,000 on PyPI

pbixray

Parse and extract metadata, tables, DAX…

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-geopandas

Adds geospatial semantic functions to…

permissive · top 15,000 on PyPI

semantic-link-functions-phonenumbers

Adds phone number validation as a semantic…

permissive · top 15,000 on PyPI

dbt-fabricspark

A dbt adapter that connects dbt to Apache Spark…

permissive · top 5,000 on PyPI

semantic-link-functions-meteostat

Adds semantic functions to FabricDataFrame that…

permissive · top 15,000 on PyPI

xmhuffman

Decodes canonical-Huffman compressed string…

permissive · top 15,000 on PyPI