Skip to main content

Python library for handling Power BI semantic model, report, and diagram artifacts

Project description

pypbip

pypbip is a Python library for handling Power BI project artifacts in code, including semantic model (model.bim), report metadata, and diagram layout structures.

Features

  • Work with semantic model objects such as tables, columns, measures, and DAX expressions.
  • Parse and write report sections and visual container metadata.
  • Handle diagram layouts and nodes programmatically.

Installation

pip install pypbip

Quick Start

from pypbip import ModelBim, Report, DiagramLayout

# load a model.bim structure
model = ModelBim.from_file("path/to/model.bim")

# load report metadata
report = Report.from_file("path/to/report.json")

# load diagram layout metadata
layout = DiagramLayout.from_file("path/to/diagramLayout.json")

Compatibility

  • Python 3.9+

License

MIT

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

pypbip-0.1.3.tar.gz (16.6 kB view details)

Uploaded Source

Built Distribution

If you're not sure about the file name format, learn more about wheel file names.

pypbip-0.1.3-py3-none-any.whl (23.4 kB view details)

Uploaded Python 3

File details

Details for the file pypbip-0.1.3.tar.gz.

File metadata

  • Download URL: pypbip-0.1.3.tar.gz
  • Upload date:
  • Size: 16.6 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/6.2.0 CPython/3.14.0

File hashes

Hashes for pypbip-0.1.3.tar.gz
Algorithm Hash digest
SHA256 44011d64a3aeb7a672a1d24251bac1e44d961f3e6d4b4859298d5f8ec9a5840a
MD5 d017aca68c1d97b24a3c0c226d51e799
BLAKE2b-256 edec2426359859c70beb5cfbb10211284afea587cf4d47e5496c27b8e83b1274

See more details on using hashes here.

File details

Details for the file pypbip-0.1.3-py3-none-any.whl.

File metadata

  • Download URL: pypbip-0.1.3-py3-none-any.whl
  • Upload date:
  • Size: 23.4 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/6.2.0 CPython/3.14.0

File hashes

Hashes for pypbip-0.1.3-py3-none-any.whl
Algorithm Hash digest
SHA256 9c1717222202b4bcc19b85332ae87ec37f13b0ce9625bfc2f5da49c1e9190f99
MD5 88e962fe1a44cd4ed4d8939bdf0102f3
BLAKE2b-256 b0e68e69aa8c2608bb32829d2f426b460c93165b354e05639c0e491752ed3096

See more details on using hashes here.

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