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.1.tar.gz
(15.2 kB
view details)
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
pypbip-0.1.1-py3-none-any.whl
(20.5 kB
view details)
File details
Details for the file pypbip-0.1.1.tar.gz.
File metadata
- Download URL: pypbip-0.1.1.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
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
b872ae2e163e451aae5d98f1361a697baae1729f2da3fe0a5f4be6d3b8822136
|
|
| MD5 |
6925fa489672906c71ecbceab04bc2d3
|
|
| BLAKE2b-256 |
871816e0dbcb64f5ee109a388196427a8975cd8feda32d0a0cbe1d1a767bb08c
|
File details
Details for the file pypbip-0.1.1-py3-none-any.whl.
File metadata
- Download URL: pypbip-0.1.1-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
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
6d809907a8f2420855bb1ef73e00675ac99ecb285a73db5c9d0f2d01f681f146
|
|
| MD5 |
aaef66ba92156d14da4e387c7a3e06a0
|
|
| BLAKE2b-256 |
433075cddf2da61de88e4917d626f0f0b775f7f16650a1877da714600e735967
|