Skip to main content

Otter — Open Targets' Task ExecutoR

pypi docs status build license

Otter

Otter is 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.
  • Async supported: Tasks can be either sync or async.
  • 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 dev before starting development. This will set up a very simple git hook that does a few checks before committing.

Metadata

Release files for opentargets-otter 26.9.0

For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.

Source distribution (sdist)

Source distribution for opentargets-otter 26.9.0
File Size Uploaded
opentargets_otter-26.9.0.tar.gz 232.5 kB Details

Built distribution (wheel)

Table of built distributions (wheels) for opentargets-otter 26.9.0
File Interpreter ABI Platform
opentargets_otter-26.9.0-py3-none-any.whl Python 3 none any Details

Total release size: 304.8 kB

Release files / opentargets_otter-26.9.0.tar.gz

Download URL opentargets_otter-26.9.0.tar.gz
Size 232.5 kB
Tags Source
SHA-256 checksum
How to use checksums
b17cbaba4bcbb3989b811246100e64ccf24428ff46233f1297c9638fba4ed87b
BLAKE2b-256 checksum
How to use checksums
9ba64ee23d3ba2f1697c169cd8dfe9b0be6f7eeedea969631cc6a088717a0fcc
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
Yes
Uploaded via twine/7.0.0 CPython/3.13.14

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 Aug 25, 2026.

Transparency log

Release files / opentargets_otter-26.9.0-py3-none-any.whl

Download URL opentargets_otter-26.9.0-py3-none-any.whl
Size 72.4 kB
Tags Python 3
SHA-256 checksum
How to use checksums
d65ffeecb4e8ea8cb64dddb73be68725e37f53ea4dbea6e7a803068f131159e0
BLAKE2b-256 checksum
How to use checksums
03693ad506832c1dd53778b955dca93cad9a6429ece83b805efae29f10599368
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
Yes
Uploaded via twine/7.0.0 CPython/3.13.14

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 Aug 25, 2026.

Transparency log
Anthropic, PBC Visionary sponsor Bloomberg Visionary sponsor Hudson River Trading Visionary sponsor Meta Visionary sponsor NVIDIA Visionary sponsor Microsoft Sustainability sponsor Depot Continuous Integration AWS Cloud computing and Security Sponsor Datadog Monitoring Fastly CDN Google Download Analytics Sentry Error logging StatusPage Status page