Skip to main content

A package to fetch and save Power BI tables via XMLA endpoint

Project description

Power BI XMLA Endpoint Download to Parquet

This package allows you to fetch and save Power BI tables in Parquet format via the XMLA endpoint.

System Requirements

This package requires a Windows environment with .NET assemblies, as it relies on pythonnet to interact with .NET libraries.

Python Version Requirement

This package requires Python version >=3.9,<3.13.

Installation

Using Poetry

To install the package using Poetry, run:

poetry add download_pbi_xmla

Using pip

To install the package using pip, run:

pip install download_pbi_xmla

Usage

After installing the package, you can use the fetch_tables command to download and save Power BI tables in Parquet format. Below are the details on how to use the command.

Command Syntax

fetch_tables --server SERVER_URL --db_name DATABASE_NAME --username USERNAME --password PASSWORD --tables Table1 Table2

Parameters

--server: The XMLA endpoint URL for your Power BI service. --db_name: The name of the database you want to connect to. --username: Your username for the Power BI service. --password: Your password for the Power BI service. --tables: The list of tables you want to fetch. You can specify multiple tables separated by spaces.

Example Usage

fetch_tables --server "powerbi://api.powerbi.com/v1.0/myorg/YourWorkspace" --db_name "YourDatabaseName" --username "YourUsername" --password "YourPassword" --tables "Table1" "Table2"

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

download_pbi_xmla-0.2.7.tar.gz (6.0 kB view details)

Uploaded Source

Built Distribution

download_pbi_xmla-0.2.7-py3-none-any.whl (9.8 kB view details)

Uploaded Python 3

File details

Details for the file download_pbi_xmla-0.2.7.tar.gz.

File metadata

  • Download URL: download_pbi_xmla-0.2.7.tar.gz
  • Upload date:
  • Size: 6.0 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: poetry/1.8.3 CPython/3.12.4 Windows/11

File hashes

Hashes for download_pbi_xmla-0.2.7.tar.gz
Algorithm Hash digest
SHA256 aa9c6509fa1bae7ff872609c1cd19732e17c72c0ec3435a07a78331de74da510
MD5 294230027a5bbf54994d23ad51b5db5a
BLAKE2b-256 26f8e200e396368b329955cfa1741e9404ded3fb8214a8784d7695ab06dbf76f

See more details on using hashes here.

File details

Details for the file download_pbi_xmla-0.2.7-py3-none-any.whl.

File metadata

File hashes

Hashes for download_pbi_xmla-0.2.7-py3-none-any.whl
Algorithm Hash digest
SHA256 b1a672478114edc9595ad5cbcc5f70f4943e38b622f7ccfca64336749107ad24
MD5 14f4498b3e9b1dae3719fba644a3a5dd
BLAKE2b-256 4b2490c579d7328c9a333e2f1ce6332f86774be4b6edef41294208c934aff7f7

See more details on using hashes here.

Supported by

AWS AWS Cloud computing and Security Sponsor Datadog Datadog Monitoring Fastly Fastly CDN Google Google Download Analytics Microsoft Microsoft PSF Sponsor Pingdom Pingdom Monitoring Sentry Sentry Error logging StatusPage StatusPage Status page