Skip to main content

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

Binder

Please note that mybinder times out after an hour.

Installation

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 git@github.com:nipype/pydra.git
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 git@github.com:nipype/pydra.git
cd pydra
pip install -e ".[dask]"

It is also useful to install pre-commit:

pip install pre-commit
pre-commit

Metadata

Release files for pydra 0.25

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

Source distribution (sdist)

Source distribution for pydra 0.25
File Size Uploaded
pydra-0.25.tar.gz 10.6 MB Details

Built distribution (wheel)

Table of built distributions (wheels) for pydra 0.25
File Interpreter ABI Platform
pydra-0.25-py3-none-any.whl Python 3 none any Details

Total release size: 21.2 MB

Release files / pydra-0.25.tar.gz

Download URL pydra-0.25.tar.gz
Size 10.6 MB
Tags Source
SHA-256 checksum
How to use checksums
bf3f4e31a369fa69db6c5d6b1c27248b1541e647032a33f239c53c052846791f
BLAKE2b-256 checksum
How to use checksums
a5806e027de441fbd8b4e70d2b9f94f286b585a5577a00cff878c88ed2a635ee
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/5.1.1 CPython/3.12.7

Release files / pydra-0.25-py3-none-any.whl

Download URL pydra-0.25-py3-none-any.whl
Size 10.6 MB
Tags Python 3
SHA-256 checksum
How to use checksums
3fec6cc8e60cabb698fc6259ab265aede4961d33be84b31f677bc9e251c49c15
BLAKE2b-256 checksum
How to use checksums
84b686de6647b6b8c706f3ca550bf5a1e5d2f674d7a404aca575e9c07998367c
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/5.1.1 CPython/3.12.7

Release history Release notifications | RSS feed

This release

0.25 This release

2 release files

0.24

2 release files

0.23

2 release files

0.22

2 release files

0.21

2 release files

0.20

1 release file

0.19

1 release file

0.18

1 release file

0.17

1 release file

0.16.2

1 release file

0.16.1

1 release file

0.16

1 release file

0.15.1

1 release file

0.15

1 release file

0.14.1

1 release file

0.14

1 release file

0.13

1 release file

0.12.1

1 release file

0.12

1 release file

0.11

1 release file

0.10

1 release file

0.9.2

1 release file

0.9.1

1 release file

0.9

2 release files

0.8

2 release files

0.7

2 release files

0.6.2

2 release files

0.6.1

2 release files

0.6

2 release files

0.5

2 release files

0.4

2 release files

0.3.1

2 release files

0.3

2 release files

0.2.2

2 release files

0.2.1

2 release files

0.2

2 release files

0.1

2 release files

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