Metadata-Version: 2.4
Name: polars-source-utils
Version: 0.1.0
Requires-Dist: polars==1.40.0
Summary: Utilities for inspecting and rewriting Polars serialized plan source paths
Requires-Python: >=3.14
Description-Content-Type: text/markdown; charset=UTF-8; variant=GFM

# polars-source-utils

Utilities for inspecting and rewriting source paths inside binary Polars
`LazyFrame` plans.

```python
from polars_source_utils import list_source_paths, replace_source_paths

paths = list_source_paths("data/node.plbin")
changed = replace_source_paths("data/node.plbin", {paths[0]: "/new/data.parquet"})
```

The functions are designed for workspace persistence flows that need to rebase
absolute scan paths after moving a workspace folder. They do not collect the
plan or rewrite underlying data files.

## Development

```bash
uv sync
uv run maturin develop --release
uv run pytest -q
```

