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.4.tar.gz
(17.0 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.4-py3-none-any.whl
(23.8 kB
view details)
File details
Details for the file pypbip-0.1.4.tar.gz.
File metadata
- Download URL: pypbip-0.1.4.tar.gz
- Upload date:
- Size: 17.0 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/6.2.0 CPython/3.14.0
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
6082555391a715d38b9dd582c77151f9c1fb823e99d9e0a58917161601e643e0
|
|
| MD5 |
3aac3aed414c92e1f6de866f4c44b9f6
|
|
| BLAKE2b-256 |
a381f3e2dc8db624396ba0f25687a40ac6aafb7851a314d26f3687b004c12c84
|
File details
Details for the file pypbip-0.1.4-py3-none-any.whl.
File metadata
- Download URL: pypbip-0.1.4-py3-none-any.whl
- Upload date:
- Size: 23.8 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 |
5ce08aad202822e47a3d87f190e1af350c069c3ddd6a54d93401b8b29e09fb21
|
|
| MD5 |
224a3a6d5d401cd17028137c9cc0d9df
|
|
| BLAKE2b-256 |
0bf733df7ccdc616357fa23c5fdcc3f083c4d2861d6a2e8623c68c36628ec730
|