Skip to main content
Yanked

This release has been yanked by its maintainers, and will be ignored by installers, except when explicitly specified.
Consider using release 1.1.1 instead.

CI Coverage

License Copier

python_workflow_submitter

Python alternative to creating and running argo workflows in the Data Analysis Platform

This allows for the submission of Hera workflow objects to Diamond's GraphQL API.

What Where
Source https://github.com/Matt-Carre/python-workflow-submitter
Docker docker run ghcr.io/Matt-Carre/python-workflow-submitter:latest
Releases https://github.com/Matt-Carre/python-workflow-submitter/releases

To submit your workflow notebook:

from python_workflow_submitter.submit_workflow import submit_workflow

await submit_workflow(w)

To submit a workflow script:

import asyncio
from python_workflow_submitter.submit_workflow import submit_workflow

asyncio.run(submit_workflow(w))

To submit a generic workflow via a graphql mutation in a notebook:

import os
from python_workflow_submitter.submit_workflow import submit_stock_workflow

await submit_stock_workflow(
        "example-template",
        {"png": "True", "jpg": "False", "jpeg": "True", "tif": "True", "tiff": "False"},
        host= str(os.environ.get("HOST")),
        visit= str(os.environ.get("VISIT")),
    )

Alternatively:

import asyncio
from python_workflow_submitter.submit_workflow import submit_workflow

asyncio.run(submit_stock_workflow(
        "example-template",
        {"png": "True", "jpg": "False", "jpeg": "True", "tif": "True", "tiff": "False"},
        host= str(os.environ.get("HOST")),
        visit= str(os.environ.get("VISIT")),
    ))

Download files

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

Source Distribution

python_workflow_submitter-0.1.1.tar.gz (182.7 kB view details)

Uploaded Source

File details

Details for the file python_workflow_submitter-0.1.1.tar.gz.

File metadata

File hashes

Hashes for python_workflow_submitter-0.1.1.tar.gz
Algorithm Hash digest
SHA256 99ec99e88f34b117001c2cf5c769e0c52e859935a21d04eaffb491a4982bd8b4
MD5 4f899107ef9ca96873d60cbe33f790ed
BLAKE2b-256 73f9b19b8d054c1515ce7cae873bf19e0c0908b35aad17f9ab8d0205a2dab2e4

See more details on using hashes here.

Release history Release notifications | RSS feed

1.1.1

1 file

1.0.1

1 file

1.0.0

1 file

0.4.5

1 file

0.4.4

1 file

0.4.3

1 file

0.4.2

1 file

0.4.1

1 file

0.4.0

1 file

0.3.0

1 file

0.2.1

1 file

0.2.0

1 file

0.1.2

1 file

This release

0.1.1 This release

1 file

0.1.0

1 file

0.0.3

1 file

0.0.2

1 file

0.0.1

1 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