Skip to main content

Get started quickly with pre-built solutions, tutorials, demos, and accelerators—automated, high-quality, and open-source.

Project description

Microsoft Fabric Solution Catalog logo

PyPI version Python versions


Fabric catalog accelerates Microsoft Fabric adoption with ready-to-run accelerators, demos, and tutorials that install directly into your workspace in minutes via fabric-cicd.

Install the Library

Requirements: Python 3.10–3.13 and access to a Microsoft Fabric workspace.

pip install msfabric-solution-catalog

List and Install a catalog

Run inside a Fabric notebook (or any Python environment with Fabric credentials):

import msfabric_solution_catalog as catalog

# Renders an interactive catalog
catalog.list()

# Copy the install command from the catalog, past in another cell and run!
catalog.install("stateful-streaming-lakehouse")

Notes

  • workspace_id is optional when you run in a Fabric notebook; it auto-detects the current workspace. Specify to deploy to another target workspace.
  • install() accepts extras like item_prefix and unattended=True if you prefer console logs over HTML output.
  • catalogs that include file upload configuration will automatically upload small data files to a Lakehouse's Files area after deployment — no extra arguments needed.

Handling Name Conflicts

If items with the same name already exist in your workspace, Fabric catalog will detect conflicts and provide resolution options:

  1. Overwrite existing items:

    catalog.install("spark-structured-streaming", overwrite=True)
    
  2. Auto-generate a prefix to avoid conflicts:

    catalog.install("spark-structured-streaming", auto_prefix_on_conflict=True)
    

    This generates a prefix like js3_sss__ (catalog ID + abbreviated name) and applies it to all deployed items.

  3. Provide a custom prefix:

    catalog.install("spark-structured-streaming", item_prefix="demo_")
    

The prefixing strategy:

  • Renames item directories (e.g., MyNotebook.Notebookjs3_sss__MyNotebook.Notebook)
  • Updates all references to renamed items within configuration files
  • Uses word-boundary matching to avoid double-prefixing if you re-run the same install
  • Reuses existing prefixes from previous attempts to prevent js3_sss__js3_sss__ patterns

Testing a catalog Before Registration

Use _install_from_github() to test a catalog directly from a GitHub repo before adding it to the registry. This method builds a synthetic config from the arguments you provide and runs the same install pipeline as install().

import msfabric_solution_catalog as catalog

catalog._install_from_github(
    logical_id="my-catalog", # sets name of root folder that items are deployed to
    repo_url="https://github.com/my-org/my-repo",
    repo_ref="v1.0.0",                           # tag or commit SHA — not a branch
    workspace_path="my-catalog/",              # defaults to "{logical_id}/"
    entry_point="GettingStarted.Notebook",
    items_in_scope=["Lakehouse", "Notebook"],
    workspace_id="<guid>",                       # target workspace (auto-resolves to the current ws in Fabric)
)

Common optional parameters:

catalog._install_from_github(
    logical_id="my-catalog",
    repo_url="https://github.com/my-org/my-repo",
    repo_ref="abc1234",
    entry_point="GettingStarted.Notebook",
    items_in_scope=["Lakehouse", "Notebook", "SQLEndpoint"],
    workspace_path="my-catalog/",              # defaults to "{logical_id}/"
    name="My catalog",                         # display name (defaults to logical_id)
    workspace_id="<guid>",                       # target workspace (auto-detected in Fabric)
    files_source_path="my-catalog/data/",      # upload binary/data files after deploy
    files_destination_lakehouse="MyLakehouse",   # target Lakehouse for file upload
    files_destination_path="raw/",               # destination path in Lakehouse Files
    item_prefix="test_",                         # prefix all deployed item names
    unattended=True,                             # console output instead of HTML
)

Once the catalog installs successfully, add a YAML file to msfabric_solution_catalog/catalogs/ and switch to the standard catalog.install() flow.

Contributing

See the root contributing guide for shared guidelines (commit conventions, issue workflow, PR process), then follow the Python library contributing guide for development setup, quality checks, and the new catalog workflow.

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

msfabric_solution_catalog-0.1.10.tar.gz (517.6 kB view details)

Uploaded Source

Built Distribution

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

msfabric_solution_catalog-0.1.10-py3-none-any.whl (600.3 kB view details)

Uploaded Python 3

File details

Details for the file msfabric_solution_catalog-0.1.10.tar.gz.

File metadata

File hashes

Hashes for msfabric_solution_catalog-0.1.10.tar.gz
Algorithm Hash digest
SHA256 93b29f2d79672ef9f27d40dabafcb609e5b7a3a7285304fc3ed4a715830fe557
MD5 a32c489ea06bbca54206d898c551af78
BLAKE2b-256 21d0de1a1a3ecc3dc68780ef29c7b89978815c50e15e11a090ed935385f670ab

See more details on using hashes here.

File details

Details for the file msfabric_solution_catalog-0.1.10-py3-none-any.whl.

File metadata

File hashes

Hashes for msfabric_solution_catalog-0.1.10-py3-none-any.whl
Algorithm Hash digest
SHA256 4552d06932aba1edfcb6e27a14af82ff0b0ef2b64a52be6c63af55c128591a3f
MD5 432df3c61dd2f8cc9085e3fb1529084c
BLAKE2b-256 0d0280933ac6c987a43b1cecc063570655cf1b4832921908bc53d5400664a26f

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