Skip to main content

Declerative pipeline definition

Project description

Build pipelines decleratively built on top of file-tree.

from mcot.pipe import pipe, In, Out, Ref, Var
from file_tree import FileTree

@pipe(logdir='log', minutes=41)
def func(in_path: In, out_path: Out, ref_path: Ref, placeholder_key: Var):
    pass

pipe.cli(FileTree.from_string("""
placeholder_key = A, B

ref_path.txt
directory-{placeholder_key}
    in_path.txt
    out_path.txt
"""))

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

mcot.pipe-0.3.0.tar.gz (23.6 kB view hashes)

Uploaded Source

Built Distribution

mcot.pipe-0.3.0-py3-none-any.whl (28.7 kB view hashes)

Uploaded Python 3

Supported by

AWS AWS Cloud computing and Security Sponsor Datadog Datadog Monitoring Fastly Fastly CDN Google Google Download Analytics Microsoft Microsoft PSF Sponsor Pingdom Pingdom Monitoring Sentry Sentry Error logging StatusPage StatusPage Status page