Metadata-Version: 2.5
Name: model-lenz
Version: 0.5.1
Summary: DEPRECATED — replaced by PBI Lineage Lenz. Use `npx pbi-lineage-lenz` instead. Pin model-lenz==0.4.0 for the last working release.
Project-URL: Homepage, https://github.com/JonathanJihwanKim/pbi-lineage-lenz
Project-URL: Repository, https://github.com/JonathanJihwanKim/pbi-lineage-lenz
Project-URL: Issues, https://github.com/JonathanJihwanKim/pbi-lineage-lenz/issues
Project-URL: Replaced by, https://www.npmjs.com/package/pbi-lineage-lenz
Project-URL: Last working release, https://pypi.org/project/model-lenz/0.4.0/
Author: Jihwan Kim
License: MIT License
        
        Copyright (c) 2026 JihwanKim
        
        Permission is hereby granted, free of charge, to any person obtaining a copy
        of this software and associated documentation files (the "Software"), to deal
        in the Software without restriction, including without limitation the rights
        to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
        copies of the Software, and to permit persons to whom the Software is
        furnished to do so, subject to the following conditions:
        
        The above copyright notice and this permission notice shall be included in all
        copies or substantial portions of the Software.
        
        THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
        IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
        FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
        AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
        LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
        OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
        SOFTWARE.
License-File: LICENSE
Keywords: dax,deprecated,fabric,lineage,pbip,powerbi,tmdl
Classifier: Development Status :: 7 - Inactive
Classifier: Intended Audience :: Developers
Classifier: License :: OSI Approved :: MIT License
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.10
Description-Content-Type: text/markdown

# model-lenz is deprecated

**It has been replaced by [PBI Lineage Lenz](https://github.com/JonathanJihwanKim/pbi-lineage-lenz).**

```bash
npx pbi-lineage-lenz handoff ./MyReport -o handoff.html
```

No Python, no virtualenv, no install. Or open a model in your browser with nothing
installed at all: **https://jonathanjihwankim.github.io/pbi-lineage-lenz/**

## What moved

| model-lenz | PBI Lineage Lenz |
|---|---|
| `model-lenz serve` | the [web app](https://jonathanjihwankim.github.io/pbi-lineage-lenz/), or a handoff file you can send to someone |
| `model-lenz check` | `npx pbi-lineage-lenz check` |
| `model-lenz summary` | `npx pbi-lineage-lenz docs --format md` |
| `model-lenz export` | `npx pbi-lineage-lenz docs --format md\|json\|html` |

Everything model-lenz did is there, plus a model lens that reads table roles from the
direction of relationships, field parameters followed into the model, Direct Lake support,
and a self-contained HTML handoff file that opens in any browser with no Power BI and no
install on the far end.

## Why

Three tools of mine overlapped — [pbip-documenter](https://github.com/JonathanJihwanKim/pbip-documenter),
[pbip-lineage-explorer](https://github.com/JonathanJihwanKim/pbip-lineage-explorer) and this
one. Keeping a Python engine and a JavaScript one in step meant every parser fix had to be
made twice, and the second one was always late.

The JavaScript engine also runs in the browser, which is what makes the handoff file
possible: one HTML file, no server, and no install for whoever receives it. That was worth
more than keeping two of everything.

## If you still need this tool

Nothing is deleted. The last working release stays on PyPI forever:

```bash
pip install model-lenz==0.4.0
```

Its source is the [`python-model-lenz`](https://github.com/JonathanJihwanKim/pbi-lineage-lenz/tree/python-model-lenz)
branch, tagged [`v0.4.0`](https://github.com/JonathanJihwanKim/pbi-lineage-lenz/releases/tag/v0.4.0).

This release — 0.5.1 — does nothing but print that message and exit non-zero. Non-zero on
purpose: `model-lenz check` was a build gate, and a deprecated version that printed a notice
and exited 0 would leave a gate that always passes standing where a real check used to be.

MIT © Jihwan Kim
