$npx skillfedfor your agent

pbixray

A Python library to parse and analyze PBIX files used with Microsoft Power BI and Excel PowerPivot.

Worth itPyPI Python ModulesReleased Aug 2026260.1K downloads / moMITPure Python

Decision gist · record as of 2026-08-14

pure-Python wheel — pbixray-0.15.4-py3-none-any.whl
v0.15.4 · released 2026-08-05 · Python >=3.8 · 7 runtime deps: xpress8, xpress9, xmhuffman, kaitaistruct, numpy, pandas, apsw

Yes. The package is actively maintained, has low install friction, carries no known vulnerabilities, and solves a real gap: programmatic inspection of Power BI models without requiring Power BI Desktop. MIT licensing removes legal friction. Install if you need to audit, extract, or analyze PBIX files at scale or in automation; skip if you only work with Power BI interactively.AI-flagged interpretation of the facts on this page — verify before relying

Before you install

  • Requires Python 3.8 or later.
  • For large models, pass on_disk=True to stream to disk instead of loading the entire decompressed model into memory.
  • Low friction install with a pure-Python wheel.

License · maintenance · safety

MIT (permissive) — MIT license is permissive; you can use, modify, and distribute this package with minimal restrictions, provided you retain the license notice.

last release 2026-08-05 (9 days) · last repo commit 2026-08-10 · 140 stars

0 known vulnerabilities (OSV.dev, 2026-08-14) · 260,109 downloads/mo, #8,399 on PyPI

Verify before relying

pip install pbixray

from pbixray import PBIXRay

model = PBIXRay('path/to/your/file.pbix')
tables = model.tables
df = model.get_table('TableName')
  • Performance characteristics and memory overhead for typical model sizes are not quantified in the fact sheet.
  • Compatibility with specific Power BI versions or model complexity limits is not documented in the excerpt.
Same gist for agents: .md · .json

What it is and what it does

PBIXRay is a Python library for reading and analyzing Microsoft Power BI PBIX files, Excel PowerPivot models, and Analysis Services backup files. It extracts the internal data model—tables, columns, relationships, DAX expressions, Power Query code, security rules, and metadata—and exposes them as pandas DataFrames or raw Python objects. The library handles both small models held in memory and large models that exceed available RAM by streaming to disk and memory-mapping the result.

Typical use cases include auditing Power BI models for DAX logic and data lineage, programmatically inspecting security configurations (row-level and object-level security), extracting Power Query transformations for documentation or migration, and bulk-analyzing many PBIX files. The library is the Python implementation of logic from the DuckDB PBIX extension, so it integrates naturally with data analysis workflows that already use pandas and numpy.

Use it for

  • Audit Power BI models for DAX measures, calculated columns, and aggregation rules without opening Power BI Desktop.
  • Extract Power Query M code and parameters from PBIX files for documentation or migration to other tools.
  • Inspect row-level and object-level security configurations across many Power BI models programmatically.
  • Retrieve table data and schema from PBIX files as pandas DataFrames for analysis or export.
  • Stream large Power BI tables in chunks to avoid loading entire models into memory.
  • Analyze relationships, perspectives, and metadata across a portfolio of Power BI or PowerPivot files.

Worth the install?

AI-flagged interpretation of the facts on this page. Verify before relying on it.

Worth it

Yes.

The package is actively maintained, has low install friction, carries no known vulnerabilities, and solves a real gap: programmatic inspection of Power BI models without requiring Power BI Desktop. MIT licensing removes legal friction. Install if you need to audit, extract, or analyze PBIX files at scale or in automation; skip if you only work with Power BI interactively.

Install

pbixray on PyPI

Before you install

Low friction install with a pure-Python wheel. Actively maintained with a recent release; 140 repository stars indicate modest but steady adoption. Seven runtime dependencies are all established libraries (numpy, pandas, apsw for SQLite, plus xpress and xmhuffman for compression).

Requires Python 3.8 or later. For large models, pass on_disk=True to stream to disk instead of loading the entire decompressed model into memory.

License in practice

MIT license is permissive; you can use, modify, and distribute this package with minimal restrictions, provided you retain the license notice.

Quickstart

pip install pbixray

from pbixray import PBIXRay

model = PBIXRay('path/to/your/file.pbix')
tables = model.tables
df = model.get_table('TableName')

Verify before relying

  • Performance characteristics and memory overhead for typical model sizes are not quantified in the fact sheet.
  • Compatibility with specific Power BI versions or model complexity limits is not documented in the excerpt.

Package facts

LicenseMIT permissive
Python supportSupports the current Python release >=3.8
Install frictionLow. Pure-Python wheel
Runtime dependencies
7 packages
xpress8xpress9xmhuffmankaitaistructnumpypandasapsw
MaintenanceActively maintained 9 days since the last release
Last repo commit
First released
Downloads260,109 / month, #8,399 on PyPI 30-day window, as of 2026-08-14
Known vulnerabilitiesNone known OSV.dev, checked 2026-08-14
Classifiers
Development Status :: 4 - BetaIntended Audience :: DevelopersIntended Audience :: Information TechnologyIntended Audience :: Science/ResearchLicense :: OSI Approved :: MIT LicenseOperating System :: OS IndependentProgramming Language :: Python :: 3Programming Language :: Python :: 3.10Programming Language :: Python :: 3.11Programming Language :: Python :: 3.12Programming Language :: Python :: 3.13Programming Language :: Python :: 3.8Programming Language :: Python :: 3.9Topic :: Scientific/Engineering :: Information AnalysisTopic :: Scientific/Engineering :: VisualizationTopic :: Software Development :: Libraries :: Python Modules

Evidence: pbixray-0.15.4-py3-none-any.whl

Tags

Capabilities
power bi pbix parserextract power bi metadatapower query analysisdax expression extractionpbix file readerpower bi model inspectionpowerbi data model parser
Topics
power-bidata-model-inspectionpbix-parser

Let your AI agent find packages like this

Example. Real query, live index.

You found this page by searching. An agent finds it by wishing: SkillFed indexes 14,416 PyPI packages by what they can do, searchable in plain language.

wish › “power bi pbix parser”

  • pbixrayParse and extract metadata, tables, DAX expressions, Power Query…
  • xmhuffmanDecodes canonical-Huffman compressed string dictionaries from…
  • xpress8xpress8 provides Python bindings to Microsoft's Xpress8 compression…

Give your agent the search over MCP, or paste the wish link into any chat.

More Python Modules packages

idna Worth it
PyPI · Python Modules · released Jun 2026

Converts domain names between Unicode and ASCII-compatible encoding (Punycode) according to IDNA 2008 and Unicode Technical Standard 46, with security validation and broader script coverage than the standard library.

Install it if you work with internationalized domain names, need to validate domains, or use HTTP clients that depend on it transitively.

BSD-3-Clausepure Python · 3.9+
1.8Bdownloads / mo
setuptools Worth it
PyPI · Python Modules · released Aug 2026

Setuptools is a Python build backend and package management tool that handles building, distributing, and installing Python packages, including support for C/C++ extension modules.

MITpure Python · 3.10+
1.6Bdownloads / mo
PyYAML Worth it
PyPI · Python Modules · released Sep 2025

PyYAML parses and emits YAML 1.1 data format, enabling serialization and deserialization of configuration files and Python objects to and from human-readable YAML text.

MITcompiled wheel · 3.8+
1.2Bdownloads / mo
pydantic Worth it
PyPI · Python Modules · released May 2026

Pydantic validates Python data structures against type hints, coercing and checking input at runtime to ensure it matches a declared schema.

MITpure Python · 3.9+
1.1Bdownloads / mo
annotated-types Worth it
PyPI · Python Modules · released Jul 2026

Provides reusable metadata objects for use with PEP-593 `typing.Annotated` to express common constraints like bounds, collection sizes, and predicates on types.

Install it if you use or build libraries that need to express type constraints in a standardized, inspectable way—or if you want to annotate your own types with…

MITpure Python · 3.10+
871.3Mdownloads / mo
typing-inspection Worth it
PyPI · Python Modules · released Aug 2026

Provides runtime tools to inspect and introspect Python type annotations, enabling programmatic examination of type hints at execution time.

MITpure Python · 3.10+
783.0Mdownloads / mo

See also xmhuffman · xpress8 · semantic-link-labs · azure-mgmt-powerbiembedded · airflow-powerbi-plugin · semantic-link-sempy · semantic-link · amazon-dax-client · DataProperty · pylightxl