Metadata-Version: 2.4
Name: pypbip
Version: 0.1.4
Summary: Python library for handling Power BI semantic model, report, and diagram artifacts
Author: Pedro
License-Expression: MIT
Project-URL: Homepage, https://pypi.org/project/pypbip/
Keywords: powerbi,semantic-model,tabular,report
Classifier: Development Status :: 3 - Alpha
Classifier: Intended Audience :: Developers
Classifier: Programming Language :: Python :: 3
Classifier: Programming Language :: Python :: 3 :: Only
Classifier: Programming Language :: Python :: 3.9
Classifier: Programming Language :: Python :: 3.10
Classifier: Programming Language :: Python :: 3.11
Classifier: Programming Language :: Python :: 3.12
Classifier: Topic :: Software Development :: Libraries
Requires-Python: >=3.9
Description-Content-Type: text/markdown
License-File: LICENSE
Dynamic: license-file

# 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

```bash
pip install pypbip
```

## Quick Start

```python
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
