Skip to main content

Pydra dataflow engine

Project description

GitHub Actions CI CircleCI codecov

pydra logo

Pydra: Dataflow Engine

A simple dataflow engine with scalable semantics.

Pydra is a rewrite of the Nipype engine with mapping and joining as first-class operations. It forms the core of the Nipype 2.0 ecosystem.

The goal of pydra is to provide a lightweight Python dataflow engine for DAG construction, manipulation, and distributed execution.

Feature list:

  1. Python 3.7+ using type annotation and attrs

  2. Composable dataflows with simple node semantics. A dataflow can be a node of another dataflow.

  3. splitter and combiner provides many ways of compressing complex loop semantics

  4. Cached execution with support for a global cache across dataflows and users

  5. Distributed execution, presently via ConcurrentFutures, SLURM, and Dask (this is an experimental implementation with limited testing)

API Documentation

Learn more about Pydra


Please note that mybinder times out after an hour.


pip install pydra

Note that installation fails with older versions of pip on Windows. Upgrade pip before installing:

pip install –upgrade pip
pip install pydra

Developer installation

Pydra requires Python 3.7+. To install in developer mode:

git clone
cd pydra
pip install -e ".[dev]"

In order to run pydra’s test locally:

pytest -vs pydra

If you want to test execution with Dask:

git clone
cd pydra
pip install -e ".[dask]"

It is also useful to install pre-commit:

pip install pre-commit

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

pydra-0.22.tar.gz (10.5 MB view hashes)

Uploaded source

Built Distribution

pydra-0.22-py3-none-any.whl (10.6 MB view hashes)

Uploaded py3

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