Skip to main content

Asynchronous and distributed scheduling of Ewoks workflows from python

Project description

ewoksjob

Utilities for job scheduling of Ewoks workflows.

Ewoks has different interfaces to execute an ewoks workflow: python API, CLI, REST API, Qt GUI, Web GUI.

Ewoksjob provides an ewoks interface for asynchronous and distributed scheduling of ewoks workflows from python.

Note that ewoksjob distributes the execution of workflows while ewoksdask distributes the execution of tasks in a workflow. So in the context of workflows, job scheduling exists on two levels.

The primary clients that need to schedule workflows are

Installation

Install on the client side

pip install ewoksjob[events]

The optional events install option should be used if you want the receive ewoks events during workflow execution.

Install on the worker side

pip install ewoksjob[worker]

Tests

pytest --pyargs ewoksjob

The test environment needs redis-server (e.g. conda install redis-server).

Getting started

Start a worker pool that can execute ewoks graphs

examples/worker.sh

Start a workflow on the client side

python examples/job.py

Adapt the three URL's as needed (ewoks events, celery message broker, celery job result storage).

Documentation

https://ewoksjob.readthedocs.io/

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

ewoksjob-0.0.1a0.tar.gz (7.0 kB view details)

Uploaded Source

File details

Details for the file ewoksjob-0.0.1a0.tar.gz.

File metadata

  • Download URL: ewoksjob-0.0.1a0.tar.gz
  • Upload date:
  • Size: 7.0 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/3.4.2 importlib_metadata/4.8.1 pkginfo/1.7.1 requests/2.26.0 requests-toolbelt/0.9.1 tqdm/4.62.3 CPython/3.8.5

File hashes

Hashes for ewoksjob-0.0.1a0.tar.gz
Algorithm Hash digest
SHA256 c033ba3858a2a1c71195a766fc28f426e101d8d3622252b7e16059c1dc10f197
MD5 4bbb0bcd263e783b1e0ac43db76f737f
BLAKE2b-256 ba6e4138bdba4f5b5bafeb145565f41696539d299e78615666c53ac38ddfc449

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