Skip to main content

DevOps-native semantic model compiler for Microsoft Fabric

Project description

Loomaa

Semantic Model as Code for Microsoft Fabric / Power BI.

Loomaa provides an end-to-end workflow:

  • loomaa init – scaffold an example project
  • loomaa compile – generate a Fabric/PBIP .SemanticModel (TMDL)
  • loomaa view – local interactive model viewer (Streamlit)
  • loomaa deploy – deploy to a Fabric workspace via REST API

The default scaffold created by loomaa init targets the Microsoft Fabric Sample Warehouse tables: Trip, Medallion, Date, and Time.

Install

pip install loomaa

Quickstart

loomaa init my-model
cd my-model

This creates an example model under models/example/ that you can edit.

Compile the model:

loomaa compile

View the model locally:

loomaa view

Deploy to Fabric (requires .env values created by init):

loomaa deploy

Output

After loomaa compile, output is written under compiled/:

  • compiled/<model>/model.json – viewer-friendly JSON
  • compiled/<model>/<model>.SemanticModel/ – Fabric/PBIP semantic model artifact

Notes

  • Do not commit .env (it contains secrets)
  • Generated artifacts like compiled/, test_compiled/, and *.egg-info/ should not be committed

License

Apache-2.0

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

loomaa-0.1.1.tar.gz (41.8 kB view details)

Uploaded Source

Built Distribution

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

loomaa-0.1.1-py3-none-any.whl (45.4 kB view details)

Uploaded Python 3

File details

Details for the file loomaa-0.1.1.tar.gz.

File metadata

  • Download URL: loomaa-0.1.1.tar.gz
  • Upload date:
  • Size: 41.8 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/6.2.0 CPython/3.11.14

File hashes

Hashes for loomaa-0.1.1.tar.gz
Algorithm Hash digest
SHA256 7a423e8c5bb34ac10ab220b38cefd36e7d3218e3db23e01f63ca4883a4a7a5de
MD5 f70c7d6d65d459971004457f20b848e9
BLAKE2b-256 620ddc447682f4cce4e544e0731480ce1f3a46636d2bc446a46d2c59320e6a50

See more details on using hashes here.

File details

Details for the file loomaa-0.1.1-py3-none-any.whl.

File metadata

  • Download URL: loomaa-0.1.1-py3-none-any.whl
  • Upload date:
  • Size: 45.4 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/6.2.0 CPython/3.11.14

File hashes

Hashes for loomaa-0.1.1-py3-none-any.whl
Algorithm Hash digest
SHA256 06257f3751db66f150c27c6200dbcec46223cb90cdf37be81fa622cd2c20272f
MD5 b0ca297f712a738e2051ff440345741c
BLAKE2b-256 812b634f4b70e2b660fd7a72ad260803436c6e5430a8963dbdd716962c9c862c

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