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.0.tar.gz (15.2 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.0-py3-none-any.whl (20.5 kB view details)

Uploaded Python 3

File details

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

File metadata

  • Download URL: pypbip-0.1.0.tar.gz
  • Upload date:
  • Size: 15.2 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.0.tar.gz
Algorithm Hash digest
SHA256 b0a2bd8a84b94cbe4aced776acbd2b0dd5038943d5f2a54c564ed8ef3dcdcdc7
MD5 341573383957c1240dcf49d3d24a38ce
BLAKE2b-256 f3b7bf9d377f6d3f2a114e1004b0a7383a22d1e978f00fb233923c7a08d81635

See more details on using hashes here.

File details

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

File metadata

  • Download URL: pypbip-0.1.0-py3-none-any.whl
  • Upload date:
  • Size: 20.5 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.0-py3-none-any.whl
Algorithm Hash digest
SHA256 437fd9e681f6883c7f6537abe1af14b51db6e573967cda2bf829005cd49303a8
MD5 7617942d8fe7281aad1b09da8dae2f9a
BLAKE2b-256 024089f980cc21566395402786f457717068bbb50001b0519a5780ba1f49b221

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