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.2-py3-none-any.whl (18.7 kB view details)

Uploaded Python 3

File details

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

File metadata

  • Download URL: toyflow-0.4.2-py3-none-any.whl
  • Upload date:
  • Size: 18.7 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.2-py3-none-any.whl
Algorithm Hash digest
SHA256 2b64226f32b06b8f9b2dc0cd39facf06cc8ef94096d8e07690ee9d86cb23f2b6
MD5 027040b8533dbae28fd2d957df35b3d6
BLAKE2b-256 a3e1aa5a332802e0a1e01b590b8925f02795f409542da3248c64c6c18d035a98

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