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.2.0.tar.gz (27.8 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.2.0-cp314-cp314-win_amd64.whl (11.1 MB view details)

Uploaded CPython 3.14Windows x86-64

polars_source_utils-0.2.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.2.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.2.0.tar.gz.

File metadata

  • Download URL: polars_source_utils-0.2.0.tar.gz
  • Upload date:
  • Size: 27.8 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.2.0.tar.gz
Algorithm Hash digest
SHA256 f77afcc016ba0c930eba468b6d1bf42f2db4ff18561e4dcfbe3810ea3547b5c9
MD5 f423b80358efece5e21deeb94593da3f
BLAKE2b-256 4c8f258836469e5be554c15f7338be69b6e9a91f41ed6489f3a62b409579f419

See more details on using hashes here.

Provenance

The following attestation bundles were made for polars_source_utils-0.2.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.2.0-cp314-cp314-win_amd64.whl.

File metadata

File hashes

Hashes for polars_source_utils-0.2.0-cp314-cp314-win_amd64.whl
Algorithm Hash digest
SHA256 49590b8b46edb57cc415fc1b99b502c050d518180c24c37d6667d8f5ea5ec06c
MD5 fa6902f2667785fc7ec89e840a606b4e
BLAKE2b-256 bfeee3f4032801f1e7086e3c7968286d036ccef24a6b14037d6e99edacef22ec

See more details on using hashes here.

Provenance

The following attestation bundles were made for polars_source_utils-0.2.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.2.0-cp314-cp314-manylinux_2_28_x86_64.whl.

File metadata

File hashes

Hashes for polars_source_utils-0.2.0-cp314-cp314-manylinux_2_28_x86_64.whl
Algorithm Hash digest
SHA256 268999678e2ed116d9c6b4b2635a9b0206afcdc5d7420c82a09c365e53939222
MD5 f40ec03d68cd7ef62863e17eff595a28
BLAKE2b-256 2d544df84149772e7a56b99b3f7c2ad82d7d0b02334963c3c92886fc3c4df1c8

See more details on using hashes here.

Provenance

The following attestation bundles were made for polars_source_utils-0.2.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.2.0-cp314-cp314-macosx_11_0_arm64.whl.

File metadata

File hashes

Hashes for polars_source_utils-0.2.0-cp314-cp314-macosx_11_0_arm64.whl
Algorithm Hash digest
SHA256 580687ba25ac13cd5aec8d95c35a1a2ed0a6dc589d3eccc2e840994db65a3791
MD5 45eac15dd5cd0d7ed0ded1ecd6cacc6f
BLAKE2b-256 af74fe3895a888a5a682b279b10c5d033f50f6797a559f8aaf7798a34187f046

See more details on using hashes here.

Provenance

The following attestation bundles were made for polars_source_utils-0.2.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