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

Uploaded Python 3

File details

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

File metadata

  • Download URL: pbi_enterprise_cli-1.0.0.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.0.tar.gz
Algorithm Hash digest
SHA256 289847e2fd225e67afce64f5e1c54294054f9e28d83fc02b4ee611c0cd1a1d86
MD5 b7389b829293ed30cad5d95b58a30a35
BLAKE2b-256 59ba4180d1143b86ba2b924ec0fd68b28121bf2337402b7889abd94e94f937b3

See more details on using hashes here.

Provenance

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

File metadata

File hashes

Hashes for pbi_enterprise_cli-1.0.0-py3-none-any.whl
Algorithm Hash digest
SHA256 872feaf8286716b0ee3c5f58984020cacc84e18bd362d820682d4e343c090526
MD5 feb21217614fcca275e3db537f03e010
BLAKE2b-256 58181ead97b24aa6e0fd927a0605b6a64f71080bf2ec02be6e1833858187aa06

See more details on using hashes here.

Provenance

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