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.
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
File details
Details for the file python_workflow_submitter-0.1.2.tar.gz.
File metadata
- Download URL: python_workflow_submitter-0.1.2.tar.gz
- Upload date:
- Size: 182.8 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via:
twine/7.0.0 CPython/3.11.15
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
91b2b91e278b59b00e231570f20d4bcaf90ead1095ed3b76a11e5102b13bcca0
|
|
| MD5 |
ad4a773fcc08d6481f6ea09728bab168
|
|
| BLAKE2b-256 |
396ba72c999d23dd25f0bb008a3a85f08d93b14c1aa608614ab8c827736191fc
|