Metadata-Version: 2.4
Name: tmdl-diff
Version: 1.1.4
Summary: Professional tool for comparing Power BI TMDL and PBIP project files with semantic diff.
Author-email: nyy <your-email@example.com>
License: MIT
Project-URL: Homepage, https://github.com/nayyarsyed/tmdl-diff
Project-URL: Repository, https://github.com/nayyarsyed/tmdl-diff.git
Project-URL: Bug Tracker, https://github.com/nayyarsyed/tmdl-diff/issues
Project-URL: Changelog, https://github.com/nayyarsyed/tmdl-diff/releases
Keywords: power-bi,tmdl,pbip,diff,cli,comparison
Classifier: Development Status :: 4 - Beta
Classifier: Environment :: Console
Classifier: Intended Audience :: Developers
Classifier: Intended Audience :: System Administrators
Classifier: License :: OSI Approved :: MIT License
Classifier: Natural Language :: English
Classifier: Operating System :: OS Independent
Classifier: Programming Language :: Python :: 3
Classifier: Programming Language :: Python :: 3.8
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 :: Build Tools
Classifier: Topic :: Utilities
Requires-Python: >=3.8
Description-Content-Type: text/markdown
License-File: LICENSE
Requires-Dist: typer>=0.9.0
Requires-Dist: rich>=13.0.0
Requires-Dist: questionary>=2.0.0
Requires-Dist: packaging>=20.0
Dynamic: license-file

# TMDL-DIFF CLI

<p align="center">
  <img src="Asset/logo.svg" alt="TMDL-DIFF Logo" width="800">
</p>

**Stop hunting for broken visuals. Start comparing.**

`tmdl-diff` is a high-level semantic comparison tool for Power BI developers. It compares TMDL (Tabular Model Definition Language) and PBIP (Power BI Project) files to instantly identify structural changes that break reports.

## ✨ Key Value
- **Visual Integrity**: Quickly see if a structural change (like a rename) will impact your report visuals.
- **Semantic Diff**: Goes beyond text comparison to understand Tables, Measures, and Columns.
- **CLI Speed**: No need to open heavy PBIX files just to see what's different between versions.
- **Live Detection**: Identify and inspect open Power BI Desktop instances on your machine.

## 📦 Installation

```bash
pip install tmdl-diff
```

## 🚀 Quick Usage

### 1. Compare two Project Files (.pbip)
```bash
tmdl-diff diff version1.pbip version2.pbip
```

### 2. List Open Instances & Files
```bash
tmdl-diff list
```

### 3. Interactive Comparison
```bash
tmdl-diff compare
```

> **Note**: For the best experience, run `tmdl-diff` from the directory where your `.tmdl` or `.pbip` files are located. While the tool supports absolute paths (even across different drives), placing your snapshots in the current working directory allows for faster selection and automatic folder detection.

## 🖼️ Visual Preview

![TMDL-DIFF Screenshot](Asset/Screenshots/Presentation1.png)

## 📄 License
MIT
