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.2.tar.gz (14.7 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.2-py3-none-any.whl (22.4 kB view details)

Uploaded Python 3

File details

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

File metadata

  • Download URL: tidyrun-0.0.2.tar.gz
  • Upload date:
  • Size: 14.7 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.2.tar.gz
Algorithm Hash digest
SHA256 98830011574654a8853392367668643331d498be04f2b97b9db07b748bb17f18
MD5 64a2eedb4b1427e0920caadc1c279321
BLAKE2b-256 27e9ce0a3d65086c5e3ec9b6936598f3d7e3ef00b71d80c02e24658eeb140fc8

See more details on using hashes here.

Provenance

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

File metadata

  • Download URL: tidyrun-0.0.2-py3-none-any.whl
  • Upload date:
  • Size: 22.4 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.2-py3-none-any.whl
Algorithm Hash digest
SHA256 c441a61210819ff00c07c339a5fe91806d5cdcd4ec8c7a3184d7ac1fa21d0737
MD5 34b44fa713e929cddb8595f8b45f3dc7
BLAKE2b-256 88d15c1b37730c85022ada8cdc175e03995b0c8d66115f3b7d6b595a35fb4f7c

See more details on using hashes here.

Provenance

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