Skip to main content

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.

PyPI Python License Downloads

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 install without a separate Desktop installation
  • Governance engine — built-in rules + BPA + custom plugin system, --fail-on CI 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 desktop backend)

Links

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

pbi_enterprise_cli-1.0.2.tar.gz (99.1 kB view details)

Uploaded Source

Built Distribution

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

pbi_enterprise_cli-1.0.2-py3-none-any.whl (119.1 kB view details)

Uploaded Python 3

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

Hashes for pbi_enterprise_cli-1.0.2.tar.gz
Algorithm Hash digest
SHA256 5c2b8ab6972210306a19bfe25262f4bd3ccdafbb87155615040759312f9d308f
MD5 1ba243246fb642755493980518526c2c
BLAKE2b-256 89fbaf54501e1f353a5cfbc47cac0e6c3ce1fb4ea8fc33c0961cc311a29ce07d

See more details on using hashes here.

Provenance

The following attestation bundles were made for pbi_enterprise_cli-1.0.2.tar.gz:

Publisher: release.yml on mudassir09/pbi-enterprise-cli

Attestations: Values shown here reflect the state when the release was signed and may no longer be current.

File details

Details for the file pbi_enterprise_cli-1.0.2-py3-none-any.whl.

File metadata

File hashes

Hashes for pbi_enterprise_cli-1.0.2-py3-none-any.whl
Algorithm Hash digest
SHA256 22f33e89b32c9f5a5cec20150178af811be249fd6013bfe00e0868714028674d
MD5 53ef4b0cce94d233d7e6145764b73978
BLAKE2b-256 8c8ff715f86d695779afe4854005ec739a457a59fca34f325a864501018c3feb

See more details on using hashes here.

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

Attestations: Values shown here reflect the state when the release was signed and may no longer be current.

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