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

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

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.23.0a0.tar.gz (10.6 MB view details)

Uploaded Source

Built Distribution

If you're not sure about the file name format, learn more about wheel file names.

pydra-0.23.0a0-py3-none-any.whl (10.6 MB view details)

Uploaded Python 3

File details

Details for the file pydra-0.23.0a0.tar.gz.

File metadata

  • Download URL: pydra-0.23.0a0.tar.gz
  • Upload date:
  • Size: 10.6 MB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/4.0.2 CPython/3.11.4

File hashes

Hashes for pydra-0.23.0a0.tar.gz
Algorithm Hash digest
SHA256 09ff7cbb5426d175b8cbed7b1ead8bd7c4899075eaa73802cba4fca72166bdb8
MD5 653f3f57b99c2e7ee03e46d74f0837e9
BLAKE2b-256 c465ccd7f25fa403c37692a4ac2b05a2fbfc8c67e2bea406f6aaa151f1ce1b85

See more details on using hashes here.

File details

Details for the file pydra-0.23.0a0-py3-none-any.whl.

File metadata

  • Download URL: pydra-0.23.0a0-py3-none-any.whl
  • Upload date:
  • Size: 10.6 MB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/4.0.2 CPython/3.11.4

File hashes

Hashes for pydra-0.23.0a0-py3-none-any.whl
Algorithm Hash digest
SHA256 4ffac99abac3274296e8cbe7e65804407e7dccc3fc8a999d186e3ebd26bee4ae
MD5 59ecd9738c5a80eb4685eb644cc443de
BLAKE2b-256 dc9bd1b843497e6eb2e0a44edfab453e50e57b3d0e7c3960e198564e44151617

See more details on using hashes here.

Supported by

AWS Cloud computing and Security Sponsor Datadog Monitoring Depot Continuous Integration Fastly CDN Google Download Analytics Pingdom Monitoring Sentry Error logging StatusPage Status page