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
LazyDictobjects that load values on-demand - Recursive Concatenation: Aggregate DataFrames across nested structures with
LazyDict.concat() - Metadata Sidecars: Each output is tracked with
.tidyrunmetadata 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:
- Quick Start — Local docs workflow and publishing notes
- Serialization Guide — Complete API reference, quick reference, and examples
- Design Decisions — Architecture rationale and trade-offs
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
Built Distribution
Filter files by name, interpreter, ABI, and platform.
If you're not sure about the file name format, learn more about wheel file names.
Copy a direct link to the current filters
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
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
98830011574654a8853392367668643331d498be04f2b97b9db07b748bb17f18
|
|
| MD5 |
64a2eedb4b1427e0920caadc1c279321
|
|
| BLAKE2b-256 |
27e9ce0a3d65086c5e3ec9b6936598f3d7e3ef00b71d80c02e24658eeb140fc8
|
Provenance
The following attestation bundles were made for tidyrun-0.0.2.tar.gz:
Publisher:
publish-pypi.yml on mwouts/tidyrun
-
Statement:
-
Statement type:
https://in-toto.io/Statement/v1 -
Predicate type:
https://docs.pypi.org/attestations/publish/v1 -
Subject name:
tidyrun-0.0.2.tar.gz -
Subject digest:
98830011574654a8853392367668643331d498be04f2b97b9db07b748bb17f18 - Sigstore transparency entry: 1512212697
- Sigstore integration time:
-
Permalink:
mwouts/tidyrun@41a6111b2abb147fcd042e49460033a42c236238 -
Branch / Tag:
refs/tags/v0.0.2 - Owner: https://github.com/mwouts
-
Access:
public
-
Token Issuer:
https://token.actions.githubusercontent.com -
Runner Environment:
github-hosted -
Publication workflow:
publish-pypi.yml@41a6111b2abb147fcd042e49460033a42c236238 -
Trigger Event:
push
-
Statement type:
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
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
c441a61210819ff00c07c339a5fe91806d5cdcd4ec8c7a3184d7ac1fa21d0737
|
|
| MD5 |
34b44fa713e929cddb8595f8b45f3dc7
|
|
| BLAKE2b-256 |
88d15c1b37730c85022ada8cdc175e03995b0c8d66115f3b7d6b595a35fb4f7c
|
Provenance
The following attestation bundles were made for tidyrun-0.0.2-py3-none-any.whl:
Publisher:
publish-pypi.yml on mwouts/tidyrun
-
Statement:
-
Statement type:
https://in-toto.io/Statement/v1 -
Predicate type:
https://docs.pypi.org/attestations/publish/v1 -
Subject name:
tidyrun-0.0.2-py3-none-any.whl -
Subject digest:
c441a61210819ff00c07c339a5fe91806d5cdcd4ec8c7a3184d7ac1fa21d0737 - Sigstore transparency entry: 1512212877
- Sigstore integration time:
-
Permalink:
mwouts/tidyrun@41a6111b2abb147fcd042e49460033a42c236238 -
Branch / Tag:
refs/tags/v0.0.2 - Owner: https://github.com/mwouts
-
Access:
public
-
Token Issuer:
https://token.actions.githubusercontent.com -
Runner Environment:
github-hosted -
Publication workflow:
publish-pypi.yml@41a6111b2abb147fcd042e49460033a42c236238 -
Trigger Event:
push
-
Statement type: