Skip to main content

Lightweight flow execution tool.

Project description

toyflow

Lightweight flow execution tool.

Work in progress.

pip install git+https://github.com/yujiepan-work/toyflow.git

Usage

from toyflow.launcher import Job, Launcher

jobs = []
for i in range(5):
    job = Job(
        cmd=["sleep", str(i), ";", "echo", str(i)],
        cwd=".",
        log_dir=f"./tmp/{i}",
        cuda_quantity=1,
        job_name=f'Job #{i}',
    )
    jobs.append(job)

Launcher(cuda_list=[0, 1], jobs=jobs).start()

Note

If you find the interface has changed, you can install the older version:

pip install git+https://github.com/yujiepan-work/toyflow.git@v0.1.0

Project details


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distributions

No source distribution files available for this release.See tutorial on generating distribution archives.

Built Distribution

If you're not sure about the file name format, learn more about wheel file names.

toyflow-0.4.0-py3-none-any.whl (18.0 kB view details)

Uploaded Python 3

File details

Details for the file toyflow-0.4.0-py3-none-any.whl.

File metadata

  • Download URL: toyflow-0.4.0-py3-none-any.whl
  • Upload date:
  • Size: 18.0 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/5.1.1 CPython/3.11.10

File hashes

Hashes for toyflow-0.4.0-py3-none-any.whl
Algorithm Hash digest
SHA256 7595161de5afe5baf97b33ea9f2fe68e83c1896c5118d360509a8b340d926088
MD5 62d60e8afb8e18bcc721e12822e6e386
BLAKE2b-256 31bdc67eef7d769687de65244151b5bd1773001cc724d9de358ca35aaea0ec22

See more details on using hashes here.

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