Python workflow management framework for building complex pipelines of batch jobs with dependency resolution and task scheduling.
72
Create a daily pipeline that dynamically discovers hourly log slices from a manifest and cleans them in batched runs before merging outputs.
hours array (for example ["00","02","05"]), the pipeline creates cleaning tasks only for listed hours and produces one cleaned file per hour under <output_dir>/<date>/clean/HH.txt; no files are created for hours not listed. @testmax_batch_size hourly runs into one execution; with 3 hours and max_batch_size=2, the cleaning step should run in two grouped executions while still producing three cleaned files. @test<output_dir>/<date>/daily.txt only after dynamic discovery completes. @test@generates
def build_and_run(date_str: str, manifest_path: str, output_dir: str, max_batch_size: int = 2) -> bool:
"""Runs the daily cleaning pipeline. Returns True when aggregation finishes successfully."""Provides workflow orchestration, dynamic dependencies, and batched execution.
Install with Tessl CLI
npx tessl i tessl/pypi-luigidocs
evals
scenario-1
scenario-2
scenario-3
scenario-4
scenario-5
scenario-6
scenario-7
scenario-8
scenario-9
scenario-10