Open Targets Task ExcutoR
Project description
Otter — Open Targets' Task ExecutoR
Otter is a the task execution framework used in the Open Targets data Pipeline.
It provides an easy to use API to implement generic tasks that are then used by describing the flow in a YAML configuration file.
Take a look at a Simple example.
Features
This is a list of what you get for free by using Otter:
- Parallel execution: Tasks are run in parallel, and Otter will take care of the dependency planning.
- Declarative configuration: Steps are described in a YAML file, as list of tasks with different specifications. The task themselves are implemented in Python enabling a lot of flexibility.
- Logging: Otter uses the loguru library for logging. It handles all the logging related the task flow, and also logs into the manifest (see next item).
- Manifest: Otter manages a manifest file that describes a pipeline run. It is used to both for debugging and for tracking the provenance of the data. A series of simple JQ queries can be used to extract information from it (see Useful JQ queries).
- Error management: Otter will stop the execution of the pipeline if a task fails, and will log the error in the manifest.
- Scratchpad: A place to store variables that can be overwritten into the configuration file (something like a very simple templating engine), enabling easy parametrization of runs, and passing of data between tasks.
- Utilities: Otter provides interfaces to use Google Cloud Storage and other remote storage services, and a bunch of utilities to help you write tasks.
Documentation
See it in here.
Development
[!IMPORTANT] Remember to run
make devbefore starting development. This will set up a very simple git hook that does a few checks before committing.
Project details
Release history Release notifications | RSS feed
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
Built Distribution
Filter files by name, interpreter, ABI, and platform.
If you're not sure about the file name format, learn more about wheel file names.
Copy a direct link to the current filters
File details
Details for the file opentargets_otter-25.0.16.tar.gz.
File metadata
- Download URL: opentargets_otter-25.0.16.tar.gz
- Upload date:
- Size: 107.8 kB
- Tags: Source
- Uploaded using Trusted Publishing? Yes
- Uploaded via: twine/6.1.0 CPython/3.13.7
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
e1b13149fa106633b7d21b0432f42b31a00dfcdb2d9ca9d0769bb3227cd55f54
|
|
| MD5 |
d6d4124bb152271f01258ed3190c7d37
|
|
| BLAKE2b-256 |
12542b0848e0a8c49edb4e3dcedacb5a0fddd7ec786e1439a1c89ff859d0f148
|
Provenance
The following attestation bundles were made for opentargets_otter-25.0.16.tar.gz:
Publisher:
publish-prod.yaml on opentargets/otter
-
Statement:
-
Statement type:
https://in-toto.io/Statement/v1 -
Predicate type:
https://docs.pypi.org/attestations/publish/v1 -
Subject name:
opentargets_otter-25.0.16.tar.gz -
Subject digest:
e1b13149fa106633b7d21b0432f42b31a00dfcdb2d9ca9d0769bb3227cd55f54 - Sigstore transparency entry: 682356300
- Sigstore integration time:
-
Permalink:
opentargets/otter@fb11180699094faec93f3e84ea59912051e62979 -
Branch / Tag:
refs/tags/v25.0.16 - Owner: https://github.com/opentargets
-
Access:
public
-
Token Issuer:
https://token.actions.githubusercontent.com -
Runner Environment:
github-hosted -
Publication workflow:
publish-prod.yaml@fb11180699094faec93f3e84ea59912051e62979 -
Trigger Event:
push
-
Statement type:
File details
Details for the file opentargets_otter-25.0.16-py3-none-any.whl.
File metadata
- Download URL: opentargets_otter-25.0.16-py3-none-any.whl
- Upload date:
- Size: 51.9 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? Yes
- Uploaded via: twine/6.1.0 CPython/3.13.7
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
fe2e44c4b74524bfc862deecbc0d458d34a9d77fa0fec3185ec058ee6818aa24
|
|
| MD5 |
7eed9536b93477d6c28547198808a882
|
|
| BLAKE2b-256 |
1b7f7aa7a818cf2966e70caeee79532ca01cf2a4745ad309e54cbff1c22898c8
|
Provenance
The following attestation bundles were made for opentargets_otter-25.0.16-py3-none-any.whl:
Publisher:
publish-prod.yaml on opentargets/otter
-
Statement:
-
Statement type:
https://in-toto.io/Statement/v1 -
Predicate type:
https://docs.pypi.org/attestations/publish/v1 -
Subject name:
opentargets_otter-25.0.16-py3-none-any.whl -
Subject digest:
fe2e44c4b74524bfc862deecbc0d458d34a9d77fa0fec3185ec058ee6818aa24 - Sigstore transparency entry: 682356311
- Sigstore integration time:
-
Permalink:
opentargets/otter@fb11180699094faec93f3e84ea59912051e62979 -
Branch / Tag:
refs/tags/v25.0.16 - Owner: https://github.com/opentargets
-
Access:
public
-
Token Issuer:
https://token.actions.githubusercontent.com -
Runner Environment:
github-hosted -
Publication workflow:
publish-prod.yaml@fb11180699094faec93f3e84ea59912051e62979 -
Trigger Event:
push
-
Statement type: