ewoksjob
Utilities for job scheduling of ewoks workflows.
Ewoksjob provides an ewoks interface for asynchronous and distributed scheduling of ewoks 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
- Ewoksserver: web backend for ewoks.
- Bliss: the ESRF beamline control system.
- Daiquiri: web backend for Bliss.
Installation
Install on the client side
pip install ewoksjob
Install on the worker side
pip install ewoksjob[worker]
Getting started
Start a worker pool that can execute ewoks graphs
ewoksjob worker
Submit a workflow on the client side
from ewoksjob.client import submit
workflow = {"graph": {"id": "mygraph"}}
future = submit(args=(workflow,))
result = future.result(timeout=None)
Note that both environments need to be able to import celeryconfig which
contains celery configuration (mainly the message broker and result backend URL's).
Hello world example
Clone the git repository and start a worker pool
scripts/worker.sh --sql
Submit workflows
scripts/runjobs.sh --sql
Tests
pytest --pyargs ewoksjob
To run the redis tests you need redis-server (e.g. conda install redis-server).
Documentation
Metadata
Release files for ewoksjob 1.5.0
For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.
Source distribution (sdist)
| File | Size | Uploaded | Provenance | |
|---|---|---|---|---|
| ewoksjob-1.5.0.tar.gz | 35.3 kB | With provenance | Details |
Built distribution (wheel)
| File | Interpreter | ABI | Platform | Reset |
|---|---|---|---|---|
| ewoksjob-1.5.0-py3-none-any.whl | Python 3 | none | any | Details |
Total release size: 83.9 kB
Release files / ewoksjob-1.5.0.tar.gz
| Download URL | ewoksjob-1.5.0.tar.gz |
|---|---|
| Size | 35.3 kB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
c062288613368c70264375cc4dd421d027d014160a4bbe17ddce4cc366e1cec1
|
|
BLAKE2b-256 checksum How to use checksums |
bf02daaef6f8035c0efe35e08a10b63878b133ed07f8f135f8fa9e8740e043c3
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
Yes |
| Uploaded via |
twine/6.1.0 CPython/3.13.7
|
Provenance
Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.
PyPI Publish Attestation
PyPI verified that this artifact, at this checksum, originated from the publisher listed below.
Signed by GitHub Actions, verified by PyPI on Mar 30, 2026.
Transparency logRelease files / ewoksjob-1.5.0-py3-none-any.whl
| Download URL | ewoksjob-1.5.0-py3-none-any.whl |
|---|---|
| Size | 48.5 kB |
| Tags | Python 3 |
|
SHA-256 checksum How to use checksums |
8d91ca5b7c16d6569e517d0cba6351fa13422734f57377321ccdb4e7045bf830
|
|
BLAKE2b-256 checksum How to use checksums |
79193b10fe4d319bf3cf0df4fd84dee9a2664eaa18506f61765712505ea8adc8
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
Yes |
| Uploaded via |
twine/6.1.0 CPython/3.13.7
|
Provenance
Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.
PyPI Publish Attestation
PyPI verified that this artifact, at this checksum, originated from the publisher listed below.
Signed by GitHub Actions, verified by PyPI on Mar 30, 2026.
Transparency logSecurity for ewoksjob 1.5.0
Provenance
Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.
Full provenance
All 2 files in this release have been uploaded with provenance metadata.
Attestation for ewoksjob-1.5.0.tar.gz
PyPI Publish Attestation
PyPI verified that this artifact, at this checksum, originated from the publisher listed below.
Signed by GitHub Actions, verified by PyPI on Mar 30, 2026.
Transparency logA note on package security
PyPI is a repository for distributing packages, not a service for auditing them. While third-party security researchers and our staff do their best to detect and remove malicious packages, PyPI cannot guarantee the quality, security or suitability of any given package.