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.serialize 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.1.tar.gz (14.9 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.1-py3-none-any.whl (10.2 kB view details)

Uploaded Python 3

File details

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

File metadata

  • Download URL: tidyrun-0.0.1.tar.gz
  • Upload date:
  • Size: 14.9 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.1.tar.gz
Algorithm Hash digest
SHA256 2a57742a71a8c33d20d4b5e437b1db5ecd729bf7b3a994e661c4e7ab437adcd3
MD5 a59e530d0f2c8d83398e08fd14e84ab0
BLAKE2b-256 7e67e1b0e418c2655738fe027a0e12a99265acd062aa7a2883d897dead59aa91

See more details on using hashes here.

Provenance

The following attestation bundles were made for tidyrun-0.0.1.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.1-py3-none-any.whl.

File metadata

  • Download URL: tidyrun-0.0.1-py3-none-any.whl
  • Upload date:
  • Size: 10.2 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.1-py3-none-any.whl
Algorithm Hash digest
SHA256 33d7c5f880c0c8d719c0ce190f66cb2ed452f68d8e1b72bfdb0edaa7db4911c5
MD5 f4a3aa1e63f5671a280f6f9bc0cd9536
BLAKE2b-256 4cc5faf416f641b757030677531640ddc6ca0e54e409e6b0a4bdf78d1f646ec0

See more details on using hashes here.

Provenance

The following attestation bundles were made for tidyrun-0.0.1-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