Full-stack Power BI automation CLI — XMLA/Fabric connectivity, Python-native BPA governance, semantic model management, DAX testing, PBIR authoring, and AI-powered measures
Project description
pbi-enterprise-cli
Enterprise-grade Power BI automation CLI — XMLA/Fabric connectivity without Desktop, Python-native BPA governance, and AI-powered measures.
uv tool install pbi-enterprise-cli
pbi doctor # verify setup
pbi model tables # list tables in the connected model
pbi govern check # run governance rules (exit 3 on violations)
Key differentiators
- XMLA/Fabric backend — connect to Power BI Premium or Microsoft Fabric without Desktop
- Python-native BPA runner — the only Python implementation of Best Practice Analyzer rules
- Three backends — Desktop (TOM via pythonnet), XMLA (Premium/Fabric), Mock (CI/CD with zero infrastructure)
- AMO DLLs bundled — works after
pip installwithout a separate Desktop installation - Governance engine — built-in rules + BPA + custom plugin system,
--fail-onCI gate - 10 Claude Code skills — install with
pbi skills install --all - CI-ready mock backend — 500+ unit tests run without real Power BI infrastructure
Install options
# Recommended
uv tool install pbi-enterprise-cli
uv tool install "pbi-enterprise-cli[all]" # everything
# Alternative
pipx install pbi-enterprise-cli
# Fallback
pip install pbi-enterprise-cli
# With specific extras
uv tool install "pbi-enterprise-cli[ai,xmla]" # Claude AI + XMLA/Fabric
uv tool install "pbi-enterprise-cli[sources]" # SQL/Excel/REST profiling
uv tool install "pbi-enterprise-cli[server]" # FastAPI REST server
Requirements
- Python 3.10+
- Windows (for Desktop/XMLA backends using .NET AMO)
- Power BI Desktop (for the
desktopbackend)
Links
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 pbi_enterprise_cli-1.0.2.tar.gz.
File metadata
- Download URL: pbi_enterprise_cli-1.0.2.tar.gz
- Upload date:
- Size: 99.1 kB
- Tags: Source
- Uploaded using Trusted Publishing? Yes
- Uploaded via: twine/6.1.0 CPython/3.13.12
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
5c2b8ab6972210306a19bfe25262f4bd3ccdafbb87155615040759312f9d308f
|
|
| MD5 |
1ba243246fb642755493980518526c2c
|
|
| BLAKE2b-256 |
89fbaf54501e1f353a5cfbc47cac0e6c3ce1fb4ea8fc33c0961cc311a29ce07d
|
Provenance
The following attestation bundles were made for pbi_enterprise_cli-1.0.2.tar.gz:
Publisher:
release.yml on mudassir09/pbi-enterprise-cli
-
Statement:
-
Statement type:
https://in-toto.io/Statement/v1 -
Predicate type:
https://docs.pypi.org/attestations/publish/v1 -
Subject name:
pbi_enterprise_cli-1.0.2.tar.gz -
Subject digest:
5c2b8ab6972210306a19bfe25262f4bd3ccdafbb87155615040759312f9d308f - Sigstore transparency entry: 1676966498
- Sigstore integration time:
-
Permalink:
mudassir09/pbi-enterprise-cli@fe540d473efb34c081d9804978d7902e7f4b3c31 -
Branch / Tag:
refs/tags/v1.0.2 - Owner: https://github.com/mudassir09
-
Access:
public
-
Token Issuer:
https://token.actions.githubusercontent.com -
Runner Environment:
github-hosted -
Publication workflow:
release.yml@fe540d473efb34c081d9804978d7902e7f4b3c31 -
Trigger Event:
push
-
Statement type:
File details
Details for the file pbi_enterprise_cli-1.0.2-py3-none-any.whl.
File metadata
- Download URL: pbi_enterprise_cli-1.0.2-py3-none-any.whl
- Upload date:
- Size: 119.1 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? Yes
- Uploaded via: twine/6.1.0 CPython/3.13.12
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
22f33e89b32c9f5a5cec20150178af811be249fd6013bfe00e0868714028674d
|
|
| MD5 |
53ef4b0cce94d233d7e6145764b73978
|
|
| BLAKE2b-256 |
8c8ff715f86d695779afe4854005ec739a457a59fca34f325a864501018c3feb
|
Provenance
The following attestation bundles were made for pbi_enterprise_cli-1.0.2-py3-none-any.whl:
Publisher:
release.yml on mudassir09/pbi-enterprise-cli
-
Statement:
-
Statement type:
https://in-toto.io/Statement/v1 -
Predicate type:
https://docs.pypi.org/attestations/publish/v1 -
Subject name:
pbi_enterprise_cli-1.0.2-py3-none-any.whl -
Subject digest:
22f33e89b32c9f5a5cec20150178af811be249fd6013bfe00e0868714028674d - Sigstore transparency entry: 1676966546
- Sigstore integration time:
-
Permalink:
mudassir09/pbi-enterprise-cli@fe540d473efb34c081d9804978d7902e7f4b3c31 -
Branch / Tag:
refs/tags/v1.0.2 - Owner: https://github.com/mudassir09
-
Access:
public
-
Token Issuer:
https://token.actions.githubusercontent.com -
Runner Environment:
github-hosted -
Publication workflow:
release.yml@fe540d473efb34c081d9804978d7902e7f4b3c31 -
Trigger Event:
push
-
Statement type: