Skip to main content

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

Release files for toyflow 0.4.3

For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.

Built distribution (wheel)

Table of built distributions (wheels) for toyflow 0.4.3
File Interpreter ABI Platform
toyflow-0.4.3-py3-none-any.whl Python 3 none any Details

Release files / toyflow-0.4.3-py3-none-any.whl

Download URL toyflow-0.4.3-py3-none-any.whl
Size 18.8 kB
Tags Python 3
SHA-256 checksum
How to use checksums
78503c2943ee12b9c73d350b89535e90eb2b180fc4cfc91b4ae884d9f072187e
BLAKE2b-256 checksum
How to use checksums
f07b5ccfbb0a8af7531001cddf57bcda73e648ec278b8579570c93d068237738
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/5.1.1 CPython/3.11.10

Release history Release notifications | RSS feed

This release

0.4.3 This release

1 release file

0.4.2

1 release file

0.4.1

1 release file

0.4.0

1 release file

Anthropic, PBC Visionary sponsor Bloomberg Visionary sponsor Hudson River Trading Visionary sponsor Meta Visionary sponsor NVIDIA Visionary sponsor Microsoft Sustainability sponsor Depot Continuous Integration AWS Cloud computing and Security Sponsor Datadog Monitoring Fastly CDN Google Download Analytics Sentry Error logging StatusPage Status page