Utilities for inspecting and rewriting Polars serialized plan source paths
Project description
polars-source-utils
Utilities for inspecting and rewriting source paths inside binary Polars
LazyFrame plans.
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
uv sync
uv run maturin develop --release
uv run pytest -q
Project details
Release history Release notifications | RSS feed
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
Built Distributions
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
File details
Details for the file polars_source_utils-0.1.0.tar.gz.
File metadata
- Download URL: polars_source_utils-0.1.0.tar.gz
- Upload date:
- Size: 23.2 kB
- Tags: Source
- Uploaded using Trusted Publishing? Yes
- Uploaded via: twine/6.1.0 CPython/3.13.12
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
211d6fe9efeac7f5d1446c036a0b25e89605a9b69d71f6f7e005873f007b0eba
|
|
| MD5 |
4ad2e7d3d30d89945566b3e00f21e07e
|
|
| BLAKE2b-256 |
f8d1926b8b81aa4542ec83b61f3e8f9704e6f215e96074e5b32b50600170108b
|
Provenance
The following attestation bundles were made for polars_source_utils-0.1.0.tar.gz:
Publisher:
release.yml on AlexDrBanana/polars-source-utils
-
Statement:
-
Statement type:
https://in-toto.io/Statement/v1 -
Predicate type:
https://docs.pypi.org/attestations/publish/v1 -
Subject name:
polars_source_utils-0.1.0.tar.gz -
Subject digest:
211d6fe9efeac7f5d1446c036a0b25e89605a9b69d71f6f7e005873f007b0eba - Sigstore transparency entry: 1632098475
- Sigstore integration time:
-
Permalink:
AlexDrBanana/polars-source-utils@a03c115676bf52562d50d5e394008d36bb6f4e7b -
Branch / Tag:
refs/tags/v0.1.0 - Owner: https://github.com/AlexDrBanana
-
Access:
public
-
Token Issuer:
https://token.actions.githubusercontent.com -
Runner Environment:
github-hosted -
Publication workflow:
release.yml@a03c115676bf52562d50d5e394008d36bb6f4e7b -
Trigger Event:
push
-
Statement type:
File details
Details for the file polars_source_utils-0.1.0-cp314-cp314-win_amd64.whl.
File metadata
- Download URL: polars_source_utils-0.1.0-cp314-cp314-win_amd64.whl
- Upload date:
- Size: 11.1 MB
- Tags: CPython 3.14, Windows x86-64
- Uploaded using Trusted Publishing? Yes
- Uploaded via: twine/6.1.0 CPython/3.13.12
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
a4bc6cf0e300e854a16b5fe246602ac9c8c2fa02c40c266302f49dcdde82abcd
|
|
| MD5 |
e314715f22d0c241777cba8ff21ed679
|
|
| BLAKE2b-256 |
97359c30cc0ec5489414f1d036f1ae85ede8848a8b3fbd83862a5c53a476ab30
|
Provenance
The following attestation bundles were made for polars_source_utils-0.1.0-cp314-cp314-win_amd64.whl:
Publisher:
release.yml on AlexDrBanana/polars-source-utils
-
Statement:
-
Statement type:
https://in-toto.io/Statement/v1 -
Predicate type:
https://docs.pypi.org/attestations/publish/v1 -
Subject name:
polars_source_utils-0.1.0-cp314-cp314-win_amd64.whl -
Subject digest:
a4bc6cf0e300e854a16b5fe246602ac9c8c2fa02c40c266302f49dcdde82abcd - Sigstore transparency entry: 1632098553
- Sigstore integration time:
-
Permalink:
AlexDrBanana/polars-source-utils@a03c115676bf52562d50d5e394008d36bb6f4e7b -
Branch / Tag:
refs/tags/v0.1.0 - Owner: https://github.com/AlexDrBanana
-
Access:
public
-
Token Issuer:
https://token.actions.githubusercontent.com -
Runner Environment:
github-hosted -
Publication workflow:
release.yml@a03c115676bf52562d50d5e394008d36bb6f4e7b -
Trigger Event:
push
-
Statement type:
File details
Details for the file polars_source_utils-0.1.0-cp314-cp314-manylinux_2_28_x86_64.whl.
File metadata
- Download URL: polars_source_utils-0.1.0-cp314-cp314-manylinux_2_28_x86_64.whl
- Upload date:
- Size: 13.0 MB
- Tags: CPython 3.14, manylinux: glibc 2.28+ x86-64
- Uploaded using Trusted Publishing? Yes
- Uploaded via: twine/6.1.0 CPython/3.13.12
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
e96c0489aca51c217d0ea1b989d880ae74dca96271de9576f514b61ec8ec9836
|
|
| MD5 |
7ef81cc4c7cced4f10b2b76089ab1c9d
|
|
| BLAKE2b-256 |
94a56f8c0558ae6927ff3ac5b05ba44ed486648b5c0e20b098adbb091ca82832
|
Provenance
The following attestation bundles were made for polars_source_utils-0.1.0-cp314-cp314-manylinux_2_28_x86_64.whl:
Publisher:
release.yml on AlexDrBanana/polars-source-utils
-
Statement:
-
Statement type:
https://in-toto.io/Statement/v1 -
Predicate type:
https://docs.pypi.org/attestations/publish/v1 -
Subject name:
polars_source_utils-0.1.0-cp314-cp314-manylinux_2_28_x86_64.whl -
Subject digest:
e96c0489aca51c217d0ea1b989d880ae74dca96271de9576f514b61ec8ec9836 - Sigstore transparency entry: 1632098518
- Sigstore integration time:
-
Permalink:
AlexDrBanana/polars-source-utils@a03c115676bf52562d50d5e394008d36bb6f4e7b -
Branch / Tag:
refs/tags/v0.1.0 - Owner: https://github.com/AlexDrBanana
-
Access:
public
-
Token Issuer:
https://token.actions.githubusercontent.com -
Runner Environment:
github-hosted -
Publication workflow:
release.yml@a03c115676bf52562d50d5e394008d36bb6f4e7b -
Trigger Event:
push
-
Statement type:
File details
Details for the file polars_source_utils-0.1.0-cp314-cp314-macosx_11_0_arm64.whl.
File metadata
- Download URL: polars_source_utils-0.1.0-cp314-cp314-macosx_11_0_arm64.whl
- Upload date:
- Size: 10.6 MB
- Tags: CPython 3.14, macOS 11.0+ ARM64
- Uploaded using Trusted Publishing? Yes
- Uploaded via: twine/6.1.0 CPython/3.13.12
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
a104afb230f07fdc255883c60968283247ed803242cb2be0da17df28ddd92889
|
|
| MD5 |
c4821fc364b54bcee7ac051c8a2457f9
|
|
| BLAKE2b-256 |
dd1716ade8f89078c19b4971a42428672fc35b2b3db1e0469e25fd11e2dd68f1
|
Provenance
The following attestation bundles were made for polars_source_utils-0.1.0-cp314-cp314-macosx_11_0_arm64.whl:
Publisher:
release.yml on AlexDrBanana/polars-source-utils
-
Statement:
-
Statement type:
https://in-toto.io/Statement/v1 -
Predicate type:
https://docs.pypi.org/attestations/publish/v1 -
Subject name:
polars_source_utils-0.1.0-cp314-cp314-macosx_11_0_arm64.whl -
Subject digest:
a104afb230f07fdc255883c60968283247ed803242cb2be0da17df28ddd92889 - Sigstore transparency entry: 1632098504
- Sigstore integration time:
-
Permalink:
AlexDrBanana/polars-source-utils@a03c115676bf52562d50d5e394008d36bb6f4e7b -
Branch / Tag:
refs/tags/v0.1.0 - Owner: https://github.com/AlexDrBanana
-
Access:
public
-
Token Issuer:
https://token.actions.githubusercontent.com -
Runner Environment:
github-hosted -
Publication workflow:
release.yml@a03c115676bf52562d50d5e394008d36bb6f4e7b -
Trigger Event:
push
-
Statement type: