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.1.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.1-py3-none-any.whl (119.1 kB view details)

Uploaded Python 3

File details

Details for the file pbi_enterprise_cli-1.0.1.tar.gz.

File metadata

  • Download URL: pbi_enterprise_cli-1.0.1.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.1.tar.gz
Algorithm Hash digest
SHA256 a30de6b92d79db69d4b4c287879a3043d8d73513c915577e11cb8626829c9f6e
MD5 558b09bce72556e753a4bdb910e815f7
BLAKE2b-256 7f7832be926ee053896849a8062531cefec24d62a28eca24c3e39acf75daa589

See more details on using hashes here.

Provenance

The following attestation bundles were made for pbi_enterprise_cli-1.0.1.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.1-py3-none-any.whl.

File metadata

File hashes

Hashes for pbi_enterprise_cli-1.0.1-py3-none-any.whl
Algorithm Hash digest
SHA256 93f2687ebc91a6eaa89805db6ed71f80f6f0b8d5328980d642adbf2136a91163
MD5 27b13f5614ef7b43304c20aa46895dc1
BLAKE2b-256 f63c993112002e919034cb16bbd15808ec8954f79e3340516d67c7be56e5ba10

See more details on using hashes here.

Provenance

The following attestation bundles were made for pbi_enterprise_cli-1.0.1-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