LabRecipe
LabRecipe is an open-source Python 3.12+ package for recipe-driven, reproducible analysis of one local experimental CSV, TSV, or explicitly bounded named-sheet XLSX dataset. A strict YAML recipe names data roles and units, explicit preprocessing, transparent analyses, figures, and output policies; one run produces a traceable evidence bundle.
LabRecipe never silently sorts, drops, interpolates, coerces dtypes, infers units, smooths, chooses a baseline, or tunes a parameter. Raw input bytes are immutable and hashed before parsing. Every derived stage, metric, figure, diagnostic, and artifact remains traceable to the raw hash and fully resolved recipe.
Install
python -m pip install labrecipe
For bounded XLSX input:
python -m pip install "labrecipe[excel]"
Tested quickstart
From a repository checkout, run the committed analytical linear control into a new directory:
labrecipe validate examples/clean_time_series/recipe.yaml
labrecipe inspect examples/clean_time_series/recipe.yaml
labrecipe plan examples/clean_time_series/recipe.yaml
labrecipe run examples/clean_time_series/recipe.yaml --output clean-bundle
The same engine is available from Python:
from labrecipe import run_recipe
result = run_recipe(
"examples/clean_time_series/recipe.yaml",
"clean-bundle-api",
)
print(result.manifest.identity.run_id)
Both workflows publish only a complete, hash-validated bundle and refuse to replace an existing target.
What version 0.1 covers
- strict, safely loaded, versioned recipes with complete submitted/resolved identities;
- immutable CSV/TSV and optional bounded XLSX ingestion with structured quality diagnostics;
- explicit group-safe transforms for missingness, structure, units, smoothing, signal processing, normalization, and baseline correction;
- contextual summaries, distributions, scatter/correlation, and conservative outlier/change candidates that are never promoted automatically to physical conclusions;
- evidence-bearing PNG and optional SVG/PDF figures;
- deterministic serialization, artifact-specific numerical tolerances, complete provenance, and atomic no-overwrite publication;
- equivalent validate, inspect, plan/explain, and run behavior through Python and CLI.
Single-dataset local batch analysis is the v1 boundary. Instrument control, arbitrary executable recipe content, external plugins, multi-file cohort workflows, and GUI/cloud services are not part of this release.
Documentation and examples
- Quickstart
- Recipe schema
- CLI and Python API
- Method assumptions
- Troubleshooting
- Reproducibility contract
- Representative example corpus
Contributing and citation
See CONTRIBUTING.md and DEVELOPMENT.md before proposing a change. Security issues follow SECURITY.md. Cite the software using CITATION.cff.
LabRecipe is licensed under Apache-2.0.
Metadata
Release files for labrecipe 0.1.1
For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.
Source distribution (sdist)
| File | Size | Uploaded | |
|---|---|---|---|
| labrecipe-0.1.1.tar.gz | 332.3 kB | Details |
Built distribution (wheel)
| File | Interpreter | ABI | Platform | Reset |
|---|---|---|---|---|
| labrecipe-0.1.1-py3-none-any.whl | Python 3 | none | any | Details |
Total release size: 485.2 kB
Release files / labrecipe-0.1.1.tar.gz
| Download URL | labrecipe-0.1.1.tar.gz |
|---|---|
| Size | 332.3 kB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
0d6420208035a837ff50eaad62d5227acd4f69084ce618a3f9a53122ec60a130
|
|
BLAKE2b-256 checksum How to use checksums |
31a07d46b450c91e9e9db55022308f6905489e7a2586884329644cd490f09220
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
Yes |
| Uploaded via |
twine/6.1.0 CPython/3.13.7
|
Provenance
Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.
PyPI Publish Attestation
PyPI verified that this artifact, at this checksum, originated from the publisher listed below.
Signed by GitHub Actions, verified by PyPI on Jul 15, 2026.
Transparency logRelease files / labrecipe-0.1.1-py3-none-any.whl
| Download URL | labrecipe-0.1.1-py3-none-any.whl |
|---|---|
| Size | 152.8 kB |
| Tags | Python 3 |
|
SHA-256 checksum How to use checksums |
5a8d66a3124ae84c6dd96c1d5dba7c5ab943dda08e7a2f511142eab1e53adf7c
|
|
BLAKE2b-256 checksum How to use checksums |
e7dbae4aa571a844920a9a0426aa38867b062142218f70a66b7683c9ee239431
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
Yes |
| Uploaded via |
twine/6.1.0 CPython/3.13.7
|
Provenance
Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.
PyPI Publish Attestation
PyPI verified that this artifact, at this checksum, originated from the publisher listed below.
Signed by GitHub Actions, verified by PyPI on Jul 15, 2026.
Transparency log