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 projectloomaa 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 JSONcompiled/<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
Release history Release notifications | RSS feed
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
Built Distribution
Filter files by name, interpreter, ABI, and platform.
If you're not sure about the file name format, learn more about wheel file names.
Copy a direct link to the current filters
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
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
7a423e8c5bb34ac10ab220b38cefd36e7d3218e3db23e01f63ca4883a4a7a5de
|
|
| MD5 |
f70c7d6d65d459971004457f20b848e9
|
|
| BLAKE2b-256 |
620ddc447682f4cce4e544e0731480ce1f3a46636d2bc446a46d2c59320e6a50
|
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
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
06257f3751db66f150c27c6200dbcec46223cb90cdf37be81fa622cd2c20272f
|
|
| MD5 |
b0ca297f712a738e2051ff440345741c
|
|
| BLAKE2b-256 |
812b634f4b70e2b660fd7a72ad260803436c6e5430a8963dbdd716962c9c862c
|