Skip to main content

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


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

polars_source_utils-0.1.0.tar.gz (23.2 kB view details)

Uploaded Source

Built Distributions

If you're not sure about the file name format, learn more about wheel file names.

polars_source_utils-0.1.0-cp314-cp314-win_amd64.whl (11.1 MB view details)

Uploaded CPython 3.14Windows x86-64

polars_source_utils-0.1.0-cp314-cp314-manylinux_2_28_x86_64.whl (13.0 MB view details)

Uploaded CPython 3.14manylinux: glibc 2.28+ x86-64

polars_source_utils-0.1.0-cp314-cp314-macosx_11_0_arm64.whl (10.6 MB view details)

Uploaded CPython 3.14macOS 11.0+ ARM64

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

Hashes for polars_source_utils-0.1.0.tar.gz
Algorithm Hash digest
SHA256 211d6fe9efeac7f5d1446c036a0b25e89605a9b69d71f6f7e005873f007b0eba
MD5 4ad2e7d3d30d89945566b3e00f21e07e
BLAKE2b-256 f8d1926b8b81aa4542ec83b61f3e8f9704e6f215e96074e5b32b50600170108b

See more details on using hashes here.

Provenance

The following attestation bundles were made for polars_source_utils-0.1.0.tar.gz:

Publisher: release.yml on AlexDrBanana/polars-source-utils

Attestations: Values shown here reflect the state when the release was signed and may no longer be current.

File details

Details for the file polars_source_utils-0.1.0-cp314-cp314-win_amd64.whl.

File metadata

File hashes

Hashes for polars_source_utils-0.1.0-cp314-cp314-win_amd64.whl
Algorithm Hash digest
SHA256 a4bc6cf0e300e854a16b5fe246602ac9c8c2fa02c40c266302f49dcdde82abcd
MD5 e314715f22d0c241777cba8ff21ed679
BLAKE2b-256 97359c30cc0ec5489414f1d036f1ae85ede8848a8b3fbd83862a5c53a476ab30

See more details on using hashes here.

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

Attestations: Values shown here reflect the state when the release was signed and may no longer be current.

File details

Details for the file polars_source_utils-0.1.0-cp314-cp314-manylinux_2_28_x86_64.whl.

File metadata

File hashes

Hashes for polars_source_utils-0.1.0-cp314-cp314-manylinux_2_28_x86_64.whl
Algorithm Hash digest
SHA256 e96c0489aca51c217d0ea1b989d880ae74dca96271de9576f514b61ec8ec9836
MD5 7ef81cc4c7cced4f10b2b76089ab1c9d
BLAKE2b-256 94a56f8c0558ae6927ff3ac5b05ba44ed486648b5c0e20b098adbb091ca82832

See more details on using hashes here.

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

Attestations: Values shown here reflect the state when the release was signed and may no longer be current.

File details

Details for the file polars_source_utils-0.1.0-cp314-cp314-macosx_11_0_arm64.whl.

File metadata

File hashes

Hashes for polars_source_utils-0.1.0-cp314-cp314-macosx_11_0_arm64.whl
Algorithm Hash digest
SHA256 a104afb230f07fdc255883c60968283247ed803242cb2be0da17df28ddd92889
MD5 c4821fc364b54bcee7ac051c8a2457f9
BLAKE2b-256 dd1716ade8f89078c19b4971a42428672fc35b2b3db1e0469e25fd11e2dd68f1

See more details on using hashes here.

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

Attestations: Values shown here reflect the state when the release was signed and may no longer be current.

Supported by

AWS Cloud computing and Security Sponsor Datadog Monitoring Depot Continuous Integration Fastly CDN Google Download Analytics Pingdom Monitoring Sentry Error logging StatusPage Status page