Skip to main content

ESRF Workflow System

Project description

Ewoks: ESRF Workflow System

Many workflow management systems exist to deal with data processing problems that can be expressed as a graph of tasks, also referred to as a computational graph or workflow. The main purpose of a workflow management system is to provide a framework for implementing tasks, creating graphs of tasks and executing these graphs.

The purpose of ewoks is to provide an abstraction layer between graph representation and execution. This allows using the same tasks and graphs in different workflow management systems. ewoks itself is not a workflow management system.

Install

python -m pip install ewoks[orange,dask,ppf,test]

Test

pytest --pyargs ewoks.tests

Getting started

Workflows can be loaded and executed from the command line

ewoks execute /path/to/graph.json [--scheduler dask]

or in a python script (using the core library or any of the bindings)

from ewokscore import execute_graph
# from ewoksppf import execute_graph
# from ewoksdask import execute_graph
# from ewoksorange import execute_graph

result = execute_graph("/path/to/graph.json")

The core library ewokscore is used for loading graphs and can also be used for sequential execution.

Documentation

https://workflow.gitlab-pages.esrf.fr/ewoks/ewoks

Project details


Download files

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

Source Distribution

ewoks-0.0.4a0.tar.gz (3.8 kB view hashes)

Uploaded Source

Supported by

AWS AWS Cloud computing and Security Sponsor Datadog Datadog Monitoring Fastly Fastly CDN Google Google Download Analytics Microsoft Microsoft PSF Sponsor Pingdom Pingdom Monitoring Sentry Sentry Error logging StatusPage StatusPage Status page