Overview
Based on Crafting Interpreters. Library provides lexers, parsers, and formatters for DAX and Power Query (M) languages. Designed to support code introspection and analysis, not execution. This enables developement of ruff-equivalent tools for DAX and Power Query. It also enables extracting metadata from DAX and Power Query code, such PQ source types (Excel, SQL, etc.) and DAX lineage dependencies.
For more information, see the docs
Installation
python -m pip install pbi_parsers
Dev Instructions
Set Up
python -m venv venv
venv\Scripts\activate
python -m pip install .
pre-commit install
Running the Documentation Server
python -m pip install .[docs]
mkdocs serve -f docs/mkdocs.yml
Deploy docs to Github Pages
mkdocs gh-deploy --clean -f docs/mkdocs.yml
Testing
pip install -e .
Build Wheel
python -m build .
Metadata
Release files for pbi-parsers 0.9.5
For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.
Source distribution (sdist)
| File | Size | Uploaded | Provenance | Actions |
|---|---|---|---|---|
| pbi_parsers-0.9.5.tar.gz | 36.2 kB | With provenance | Details for pbi_parsers-0.9.5.tar.gz |
Built distribution (wheel)
| File | Interpreter | ABI | Platform | Actions Reset |
|---|---|---|---|---|
| pbi_parsers-0.9.5-py3-none-any.whl | Python 3 | none | any | Details for pbi_parsers-0.9.5-py3-none-any.whl |
Total release size: 113.3 kB
Release files / pbi_parsers-0.9.5.tar.gz
| Download URL | pbi_parsers-0.9.5.tar.gz |
|---|---|
| Size | 36.2 kB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
9407f7238841e053d3cfbb5a3eff6e6a8bbf1f1546cd9e4707ac426d652037d7
|
|
BLAKE2b-256 checksum How to use checksums |
9335f53dedc92c015c9b9e990dbf10e71e9010a5ce816430ae787d6e64009e95
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
Yes |
| Uploaded via |
twine/6.1.0 CPython/3.13.7
|
Provenance
Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.
PyPI Publish Attestation
PyPI verified that this artifact, at this checksum, originated from the publisher listed below.
Signed by GitHub Actions, verified by PyPI on Sep 17, 2025.
Transparency logRelease files / pbi_parsers-0.9.5-py3-none-any.whl
| Download URL | pbi_parsers-0.9.5-py3-none-any.whl |
|---|---|
| Size | 77.1 kB |
| Tags | Python 3 |
|
SHA-256 checksum How to use checksums |
36451359ecb0fcdb2a8c97f69f06ece587446af9bfbdb1a00301083ca33471d9
|
|
BLAKE2b-256 checksum How to use checksums |
d1315d1e5f35330aadef8fd955f7bcee638a57aa8cb6ad9185aa749de08320f0
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
Yes |
| Uploaded via |
twine/6.1.0 CPython/3.13.7
|
Provenance
Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.
PyPI Publish Attestation
PyPI verified that this artifact, at this checksum, originated from the publisher listed below.
Signed by GitHub Actions, verified by PyPI on Sep 17, 2025.
Transparency logSecurity for pbi-parsers 0.9.5
Provenance
Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.
Full provenance
All 2 files in this release have been uploaded with provenance metadata.
Attestation for pbi_parsers-0.9.5.tar.gz
PyPI Publish Attestation
PyPI verified that this artifact, at this checksum, originated from the publisher listed below.
Signed by GitHub Actions, verified by PyPI on Sep 17, 2025.
Transparency logA note on package security
PyPI is a repository for distributing packages, not a service for auditing them. While third-party security researchers and our staff do their best to detect and remove malicious packages, PyPI cannot guarantee the quality, security or suitability of any given package.
To learn more about protecting yourself from malicious actors, visit our package security documentation.