Skip to main content

A library to install Microsoft Fabric demos with one line.

Project description

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 fab-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.

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

fabric_demos-0.0.5.tar.gz (241.1 kB view details)

Uploaded Source

Built Distribution

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

fabric_demos-0.0.5-py3-none-any.whl (266.2 kB view details)

Uploaded Python 3

File details

Details for the file fabric_demos-0.0.5.tar.gz.

File metadata

  • Download URL: fabric_demos-0.0.5.tar.gz
  • Upload date:
  • Size: 241.1 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/6.2.0 CPython/3.9.25

File hashes

Hashes for fabric_demos-0.0.5.tar.gz
Algorithm Hash digest
SHA256 7ac61cfe6b54e519d51b93cdfc153b17c8489d8db0704ae1076b72a100628d81
MD5 fb02a0160d19e94b4812d7458a38a527
BLAKE2b-256 c26d3ce84331c4443d5733f7c2358d7071891df50a0b9e5c9b328f042bd6efa4

See more details on using hashes here.

File details

Details for the file fabric_demos-0.0.5-py3-none-any.whl.

File metadata

  • Download URL: fabric_demos-0.0.5-py3-none-any.whl
  • Upload date:
  • Size: 266.2 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/6.2.0 CPython/3.9.25

File hashes

Hashes for fabric_demos-0.0.5-py3-none-any.whl
Algorithm Hash digest
SHA256 296da4eee73276b7a52d58576c30cf6050ba736d9622a5d0c00d66d6cf22d62e
MD5 b338cb0fd580886815a111973c8caa7e
BLAKE2b-256 d4e703b18c9da83a8366a789b07f024c9683181ab47b28b6a277d9856fd7a1e4

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