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.2.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.2-py3-none-any.whl
(20.6 kB
view details)
File details
Details for the file pypbip-0.1.2.tar.gz.
File metadata
- Download URL: pypbip-0.1.2.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 |
308e7334e5eef8e216fac17c6b2fa6ad7f6f95712e27f6482e88bb6a795bfd2a
|
|
| MD5 |
2126497c92efd6af93bbef4e07567dc5
|
|
| BLAKE2b-256 |
e2b5457bdde6c4d7253821cec7e22d7f2f500de078ff719b9a9028102f8790f2
|
File details
Details for the file pypbip-0.1.2-py3-none-any.whl.
File metadata
- Download URL: pypbip-0.1.2-py3-none-any.whl
- Upload date:
- Size: 20.6 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 |
e169d79365ea4ed83d581b2f76904c0a31dc3a207738f4a58b980a291519fb12
|
|
| MD5 |
8a7c26e506ff2c12f120d48a189ef99b
|
|
| BLAKE2b-256 |
155199d65c940451e83c36b7c74f70f3b7d66322d9476d30a0e39001e5ebd0d5
|