Skip to content

muredata/fabric-demos

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

2 Commits
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

fabric-demos

PyPi version Code style: black

This is experimental

fab-demos is a sample toolkit to easily install Microsoft Fabric demos via Fabric CLI or notebook.

Usage from CLI

Requires Fabric CLI.

Install:

$ uv tool install fab-demos  # or: pip install fab-demos

Browse all demos:

$ fab auth login
$ fab config set default_capacity <capacity_name>
$ fabdemos browse

Install a demo:

$ fabdemos install -n <demo_name> -ws <workspace_name>

Usage within Fabric

Within a Python notebook, run:

%pip install fabric-demos

Assign capacity:

import os
os.environ['FABDEMOS_CAPACITY'] = '<capacity_name>'

Browse all demos:

import fabric_demos as fabdemos
fabdemos.browse()

Install a demo:

fabdemos.install(name="<demo_name>")

References

Similar repositories:

  • dbdemos: Databricks toolkit to install demos in a notebook. Uses asset bundles
  • fabric-jumpstart: Fabric toolkit to install demos in a notebook. Uses fabric-cicd

License

The tool is available as open-source under the terms of the MIT License.

About

One-line installation Fabric demos

Resources

Stars

Watchers

Forks

Packages

 
 
 

Contributors