Skip to main content

TidyRun

Project description

TidyRun

A tool to orchestrate the compute and storage of Python DAGs

Features

Serialization Framework

TidyRun includes a comprehensive serialization system for storing and retrieving Python objects with smart format selection:

  • Type-Aware Encoding: Automatically selects the best format (folder, Parquet, HDF5, JSON, or pickle) based on value type
  • Lazy Evaluation: Directories deserialize into LazyDict objects that load values on-demand
  • Recursive Concatenation: Aggregate DataFrames across nested structures with LazyDict.concat()
  • Metadata Sidecars: Each output is tracked with .tidyrun metadata files for format versioning
  • Extensible Pipeline: Customize encoders or add support for custom types
  • Intelligent Fallback: Parquet → HDF5 → JSON → Pickle chain ensures robust serialization

Quick Example:

from tidyrun import serialize, deserialize

# Save nested data with smart format selection
serialize({
    "metrics": pd.DataFrame(...),
    "config": {"lr": 0.001},
}, "./results/exp_001")

# Load with lazy evaluation
results = deserialize("./results/exp_001")
df = results["metrics"]  # Loads on access, cached

# Aggregate across nested structures
combined = results.concat(names=["run_id"])

Learn More:

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

tidyrun-0.0.3.tar.gz (15.1 kB view details)

Uploaded Source

Built Distribution

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

tidyrun-0.0.3-py3-none-any.whl (22.7 kB view details)

Uploaded Python 3

File details

Details for the file tidyrun-0.0.3.tar.gz.

File metadata

  • Download URL: tidyrun-0.0.3.tar.gz
  • Upload date:
  • Size: 15.1 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? Yes
  • Uploaded via: twine/6.1.0 CPython/3.13.12

File hashes

Hashes for tidyrun-0.0.3.tar.gz
Algorithm Hash digest
SHA256 2e5b92668bd8fa47aeda5c01818cd49646d26ef276953f13d4cc22d59a16ff4f
MD5 979b7e294713ddffc3105d09dbdcb9a1
BLAKE2b-256 1c10cdb70844c426eae522b0b35aec6c66583b93ac889ca5052980e8b6713b8e

See more details on using hashes here.

Provenance

The following attestation bundles were made for tidyrun-0.0.3.tar.gz:

Publisher: publish-pypi.yml on mwouts/tidyrun

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

File details

Details for the file tidyrun-0.0.3-py3-none-any.whl.

File metadata

  • Download URL: tidyrun-0.0.3-py3-none-any.whl
  • Upload date:
  • Size: 22.7 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? Yes
  • Uploaded via: twine/6.1.0 CPython/3.13.12

File hashes

Hashes for tidyrun-0.0.3-py3-none-any.whl
Algorithm Hash digest
SHA256 2c3c4792ad90c32ea717092780ddc91f78dfbc1f1372d5fdeff2499c6efa1faa
MD5 da1851daa75197796b6a15137dc0155b
BLAKE2b-256 c38eef9e88ed5d01b541f84f41a972be271788ece5e3bea5e60bd79e608ab1c7

See more details on using hashes here.

Provenance

The following attestation bundles were made for tidyrun-0.0.3-py3-none-any.whl:

Publisher: publish-pypi.yml on mwouts/tidyrun

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