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

Uploaded Python 3

File details

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

File metadata

  • Download URL: toyflow-0.4.3-py3-none-any.whl
  • Upload date:
  • Size: 18.8 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.3-py3-none-any.whl
Algorithm Hash digest
SHA256 78503c2943ee12b9c73d350b89535e90eb2b180fc4cfc91b4ae884d9f072187e
MD5 05598963da97346b43ff9104b8c8d5ee
BLAKE2b-256 f07b5ccfbb0a8af7531001cddf57bcda73e648ec278b8579570c93d068237738

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