Power BI lexer, parsers, and formatters for DAX and M (Power Query) languages
Project description
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 .
Project details
Release history Release notifications | RSS feed
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
Built Distribution
Filter files by name, interpreter, ABI, and platform.
If you're not sure about the file name format, learn more about wheel file names.
Copy a direct link to the current filters
File details
Details for the file pbi_parsers-0.9.0.tar.gz.
File metadata
- Download URL: pbi_parsers-0.9.0.tar.gz
- Upload date:
- Size: 36.0 kB
- Tags: Source
- Uploaded using Trusted Publishing? Yes
- Uploaded via: twine/6.1.0 CPython/3.13.7
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
a6944d807c274359bb3d77e1a7358337ecf256d69e9e5b71d8cdca2e72e6c82c
|
|
| MD5 |
83bd76978f08d45605936227af0e4a44
|
|
| BLAKE2b-256 |
34f98d2e2063825809ce4e658fa919165784dfc75374de0b3c0c6bb11c9a2358
|
Provenance
The following attestation bundles were made for pbi_parsers-0.9.0.tar.gz:
Publisher:
deploy.yml on douglassimonsen/pbi_parsers
-
Statement:
-
Statement type:
https://in-toto.io/Statement/v1 -
Predicate type:
https://docs.pypi.org/attestations/publish/v1 -
Subject name:
pbi_parsers-0.9.0.tar.gz -
Subject digest:
a6944d807c274359bb3d77e1a7358337ecf256d69e9e5b71d8cdca2e72e6c82c - Sigstore transparency entry: 530790337
- Sigstore integration time:
-
Permalink:
douglassimonsen/pbi_parsers@200715fa0f1bc623311bd855ea8e926ce85ef941 -
Branch / Tag:
refs/heads/main - Owner: https://github.com/douglassimonsen
-
Access:
public
-
Token Issuer:
https://token.actions.githubusercontent.com -
Runner Environment:
github-hosted -
Publication workflow:
deploy.yml@200715fa0f1bc623311bd855ea8e926ce85ef941 -
Trigger Event:
push
-
Statement type:
File details
Details for the file pbi_parsers-0.9.0-py3-none-any.whl.
File metadata
- Download URL: pbi_parsers-0.9.0-py3-none-any.whl
- Upload date:
- Size: 76.1 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? Yes
- Uploaded via: twine/6.1.0 CPython/3.13.7
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
679e907291e4fd76dedc0bfed99009088b300d7d01c7b54ad6cf9716c3bdc9c1
|
|
| MD5 |
d83a33aae6cd0c4f0521372345f604d8
|
|
| BLAKE2b-256 |
79abfc9fa0b0d2258601a47f7b874062dedfdd87b7d3c36f867525ec2cf2f8c5
|
Provenance
The following attestation bundles were made for pbi_parsers-0.9.0-py3-none-any.whl:
Publisher:
deploy.yml on douglassimonsen/pbi_parsers
-
Statement:
-
Statement type:
https://in-toto.io/Statement/v1 -
Predicate type:
https://docs.pypi.org/attestations/publish/v1 -
Subject name:
pbi_parsers-0.9.0-py3-none-any.whl -
Subject digest:
679e907291e4fd76dedc0bfed99009088b300d7d01c7b54ad6cf9716c3bdc9c1 - Sigstore transparency entry: 530790373
- Sigstore integration time:
-
Permalink:
douglassimonsen/pbi_parsers@200715fa0f1bc623311bd855ea8e926ce85ef941 -
Branch / Tag:
refs/heads/main - Owner: https://github.com/douglassimonsen
-
Access:
public
-
Token Issuer:
https://token.actions.githubusercontent.com -
Runner Environment:
github-hosted -
Publication workflow:
deploy.yml@200715fa0f1bc623311bd855ea8e926ce85ef941 -
Trigger Event:
push
-
Statement type: