Skip to main content

A small package to help developers make exported data from dataverse via Link to Microsoft Fabric functionality easieer accessible.

Project description

LinkToFabricHelper

PyPI Latest Release

Disclaimer: Since the package is in an early stage of development it is not recommended to use it in production-environments.

This package is designed to help developers of solutions im Microsoft Fabric that use dataverse's functionality "Link to Microsoft Fabric" to handle the cdm-like structure of the data.

Common Data Model

For more information on the "Common Data Model" (CDM) see for example the official documentation of Microsoft on Microsoft Learn.

How to use LinkToFabricHelper

Utilize CDM-Schema

The exported tables from dataverse come with referenced optionssets for lots of columns. This comes with the need to dereference this columns somewhen to present the data to business users.

This package provides the functionality to read the metadata provided by the "Link to Microsoft Fabric" functionality within the lakehouse and utilize it in views so that business users get an easy interface to access their data in a raw format if required and give data engineers the possibility to easily transform the data in later stages.

Turn this: Table with options Into that: View with labels

The package is designed to work when called from within a Fabric notebook so that such an update of views can run e.g. after a dataverse release and thus a possible schema change. But be aware that there is currently no possibility to create views in the sql endpoint directly out of a notebook (inofficially announced in a blog for later in 2024) so currently the created script needs to be executed manually via the sql endpoint.

For a detailed explanation of how to use the package to create these views see the detailed documentation here.

Local execution

It is also possible to connect to the sql endpoint directly and retrieve the metadata from there. Since the vision of this package is a direct execution within a Fabric notebook and needs someone executing it on a local machine this is not the recommended approach. Nevertheless it is nice to have this possibility for debugging and development so an exemplary call is given in localexecution.py which needs SQL_ENDPOINT (sql endpoint connection string from Fabric lakehouse) and DATABASE_NAME (name of the lakehouse in Fabric) defined in a seperate script.

Project details


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

linktofabrichelper-0.1.0.tar.gz (8.8 kB view details)

Uploaded Source

Built Distribution

If you're not sure about the file name format, learn more about wheel file names.

LinkToFabricHelper-0.1.0-py3-none-any.whl (7.8 kB view details)

Uploaded Python 3

File details

Details for the file linktofabrichelper-0.1.0.tar.gz.

File metadata

  • Download URL: linktofabrichelper-0.1.0.tar.gz
  • Upload date:
  • Size: 8.8 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/5.1.1 CPython/3.12.4

File hashes

Hashes for linktofabrichelper-0.1.0.tar.gz
Algorithm Hash digest
SHA256 f786d8c5dde2487066b287acfe64cc064a72798f58f5614a00590d12d56e96a7
MD5 dd6833535e05ee1b4f63469071dd5ed3
BLAKE2b-256 387498361916a753271e21785bd44ac2ed6f52140662444d27e178be86498f3f

See more details on using hashes here.

File details

Details for the file LinkToFabricHelper-0.1.0-py3-none-any.whl.

File metadata

File hashes

Hashes for LinkToFabricHelper-0.1.0-py3-none-any.whl
Algorithm Hash digest
SHA256 3e68b9f09e14c2adc1b3e3aae4fa7cdc59693a2aebf484c19ae6e716694b979f
MD5 da2477560ec9cf93c19c1e3b7065f084
BLAKE2b-256 343dc3a20cd683722e07d06856ba480195ae6a4b858485f67e2e74fc16e88634

See more details on using hashes here.

Supported by

AWS Cloud computing and Security Sponsor Datadog Monitoring Depot Continuous Integration Fastly CDN Google Download Analytics Pingdom Monitoring Sentry Error logging StatusPage Status page