Skip to main content

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.

Plan traversal is exhaustive over Polars 1.44.1. Rewrites are serialized to a same-directory temporary file and atomically replace the original only after a successful flush and sync, so a serialization or persistence failure preserves the existing plan.

See the package architecture for the ownership boundary.

Development

uv sync
uv run maturin develop --release --locked
uv run pytest -q

Metadata

Release files for polars-source-utils 0.6.0

For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.

Source distribution (sdist)

Source distribution for polars-source-utils 0.6.0
File Size Uploaded Provenance Actions
polars_source_utils-0.6.0.tar.gz 35.0 kB With provenance Details for polars_source_utils-0.6.0.tar.gz

Built distributions (wheels)

Table of built distributions (wheels) for polars-source-utils 0.6.0
File Interpreter ABI Platform Actions
polars_source_utils-0.6.0-cp314-cp314-win_amd64.whl CPython 3.14 CPython 3.14 Windows x86-64 Details for polars_source_utils-0.6.0-cp314-cp314-win_amd64.whl
polars_source_utils-0.6.0-cp314-cp314-manylinux_2_28_x86_64.whl CPython 3.14 CPython 3.14 Linux glibc 2.28+ x86-64 Details for polars_source_utils-0.6.0-cp314-cp314-manylinux_2_28_x86_64.whl
polars_source_utils-0.6.0-cp314-cp314-macosx_11_0_arm64.whl CPython 3.14 CPython 3.14 macOS 11.0+ ARM64 Details for polars_source_utils-0.6.0-cp314-cp314-macosx_11_0_arm64.whl

Total release size: 35.4 MB

Release files / polars_source_utils-0.6.0.tar.gz

Download URL polars_source_utils-0.6.0.tar.gz
Size 35.0 kB
Tags Source
SHA-256 checksum
How to use checksums
fd69131b95bfb59503aebfa2f6d6d92e74eb19ec396262a6f353e5a0179fdd9c
BLAKE2b-256 checksum
How to use checksums
171cd6b936579fa4e7c80918bc48e33d5c4b1e5ecefb08e7fba1051dd387d3b7
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
Yes
Uploaded via twine/7.0.0 CPython/3.13.14

Provenance

Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.

PyPI Publish Attestation

PyPI verified that this artifact, at this checksum, originated from the publisher listed below.

Signed by GitHub Actions, verified by PyPI on Sep 2, 2026.

Transparency log

Release files / polars_source_utils-0.6.0-cp314-cp314-win_amd64.whl

Download URL polars_source_utils-0.6.0-cp314-cp314-win_amd64.whl
Size 11.1 MB
Tags CPython 3.14 Windows x86-64
SHA-256 checksum
How to use checksums
fa9cda5e98f445d5d54c5a3860cc9c77b1749879cfa2819117a77f0239ea247b
BLAKE2b-256 checksum
How to use checksums
143cbbb10fa340f2de5eb5c01d162d4ff616361b7d5e205824525a6fa1f3e6c3
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
Yes
Uploaded via twine/7.0.0 CPython/3.13.14

Provenance

Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.

PyPI Publish Attestation

PyPI verified that this artifact, at this checksum, originated from the publisher listed below.

Signed by GitHub Actions, verified by PyPI on Sep 2, 2026.

Transparency log

Release files / polars_source_utils-0.6.0-cp314-cp314-manylinux_2_28_x86_64.whl

Download URL polars_source_utils-0.6.0-cp314-cp314-manylinux_2_28_x86_64.whl
Size 13.5 MB
Tags CPython 3.14 Linux glibc 2.28+ x86-64
SHA-256 checksum
How to use checksums
06f92654308c9e0138d02b222ee666e15a51317ae9050114d65f93a17d4653bf
BLAKE2b-256 checksum
How to use checksums
c8e62c7467f5bf9e3007cb4dc116963ebc77214dafb70c46e06d4fb7c5e161e1
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
Yes
Uploaded via twine/7.0.0 CPython/3.13.14

Provenance

Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.

PyPI Publish Attestation

PyPI verified that this artifact, at this checksum, originated from the publisher listed below.

Signed by GitHub Actions, verified by PyPI on Sep 2, 2026.

Transparency log

Release files / polars_source_utils-0.6.0-cp314-cp314-macosx_11_0_arm64.whl

Download URL polars_source_utils-0.6.0-cp314-cp314-macosx_11_0_arm64.whl
Size 10.8 MB
Tags CPython 3.14 macOS 11.0+ ARM64
SHA-256 checksum
How to use checksums
bba43372d4bcf4ce8dfa82d45683f89d74c6fc5b2556c36724bb06db476251fa
BLAKE2b-256 checksum
How to use checksums
40bc1bb3ef115b1b1aea80df906a9fe5c5bcf838f9cb9a7800d0094cbef99d62
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
Yes
Uploaded via twine/7.0.0 CPython/3.13.14

Provenance

Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.

PyPI Publish Attestation

PyPI verified that this artifact, at this checksum, originated from the publisher listed below.

Signed by GitHub Actions, verified by PyPI on Sep 2, 2026.

Transparency log

Security for polars-source-utils 0.6.0

Provenance

Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.

Full provenance

All 4 files in this release have been uploaded with provenance metadata.

Select from 4 files

Attestation for polars_source_utils-0.6.0.tar.gz

PyPI Publish Attestation

PyPI verified that this artifact, at this checksum, originated from the publisher listed below.

Signed by GitHub Actions, verified by PyPI on Sep 2, 2026.

Transparency log

A note on package security

PyPI is a repository for distributing packages, not a service for auditing them. While third-party security researchers and our staff do their best to detect and remove malicious packages, PyPI cannot guarantee the quality, security or suitability of any given package.

To learn more about protecting yourself from malicious actors, visit our package security documentation.

Anthropic, PBC Visionary sponsor Bloomberg Visionary sponsor Hudson River Trading Visionary sponsor Meta Visionary sponsor NVIDIA Visionary sponsor Microsoft Sustainability sponsor Depot Continuous Integration AWS Cloud computing and Security Sponsor Datadog Monitoring Fastly CDN Google Download Analytics Sentry Error logging StatusPage Status page