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

Uploaded Source

Built Distribution

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

Uploaded Python 3

File details

Details for the file pydra-0.25.tar.gz.

File metadata

  • Download URL: pydra-0.25.tar.gz
  • Upload date:
  • Size: 10.6 MB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/5.1.1 CPython/3.12.7

File hashes

Hashes for pydra-0.25.tar.gz
Algorithm Hash digest
SHA256 bf3f4e31a369fa69db6c5d6b1c27248b1541e647032a33f239c53c052846791f
MD5 7017957664353d69cf8b41cebbf5551f
BLAKE2b-256 a5806e027de441fbd8b4e70d2b9f94f286b585a5577a00cff878c88ed2a635ee

See more details on using hashes here.

File details

Details for the file pydra-0.25-py3-none-any.whl.

File metadata

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

File hashes

Hashes for pydra-0.25-py3-none-any.whl
Algorithm Hash digest
SHA256 3fec6cc8e60cabb698fc6259ab265aede4961d33be84b31f677bc9e251c49c15
MD5 0d87ac0a3b55e290f01155517aa3e3ee
BLAKE2b-256 84b686de6647b6b8c706f3ca550bf5a1e5d2f674d7a404aca575e9c07998367c

See more details on using hashes here.

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