Skip to main content

Power BI lexer, parsers, and formatters for DAX and M (Power Query) languages

Project description

Overview

PyPI Downloads Python Coverage Status Repo Size FOSSA Status FOSSA Status

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


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

pbi_parsers-0.9.2.tar.gz (36.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_parsers-0.9.2-py3-none-any.whl (76.5 kB view details)

Uploaded Python 3

File details

Details for the file pbi_parsers-0.9.2.tar.gz.

File metadata

  • Download URL: pbi_parsers-0.9.2.tar.gz
  • Upload date:
  • Size: 36.1 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? Yes
  • Uploaded via: twine/6.1.0 CPython/3.13.7

File hashes

Hashes for pbi_parsers-0.9.2.tar.gz
Algorithm Hash digest
SHA256 684af80219ff8b45bb1444f00a902d506477b4734eca5c24acb598b2d84c3161
MD5 33ec593412897e4c31323402efa15c27
BLAKE2b-256 fba4f7b83add232cd498e26b0513a477eed7a852eeb6d11125660f35258b13ab

See more details on using hashes here.

Provenance

The following attestation bundles were made for pbi_parsers-0.9.2.tar.gz:

Publisher: deploy.yml on douglassimonsen/pbi_parsers

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_parsers-0.9.2-py3-none-any.whl.

File metadata

  • Download URL: pbi_parsers-0.9.2-py3-none-any.whl
  • Upload date:
  • Size: 76.5 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? Yes
  • Uploaded via: twine/6.1.0 CPython/3.13.7

File hashes

Hashes for pbi_parsers-0.9.2-py3-none-any.whl
Algorithm Hash digest
SHA256 b8be70b32a89e57644393681a0db5ed117ceced7782ce1bff3075792b6d8b8b3
MD5 c15355174f83026a1e3ce875c117fa88
BLAKE2b-256 2a1fcdb5e77265b4872293c99e919a0060a560858deb1cc11e8a9077f0ebc08e

See more details on using hashes here.

Provenance

The following attestation bundles were made for pbi_parsers-0.9.2-py3-none-any.whl:

Publisher: deploy.yml on douglassimonsen/pbi_parsers

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