Pydra dataflow engine
Project description
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:
Python 3.7+ using type annotation and attrs
Composable dataflows with simple node semantics. A dataflow can be a node of another dataflow.
splitter and combiner provides many ways of compressing complex loop semantics
Cached execution with support for a global cache across dataflows and users
Distributed execution, presently via ConcurrentFutures, SLURM, and Dask (this is an experimental implementation with limited testing)
Learn more about Pydra
Explore Pydra interactively (the tutorial can be also run using Binder service)
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
Release history Release notifications | RSS feed
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
Built Distribution
File details
Details for the file pydra-0.24.tar.gz
.
File metadata
- Download URL: pydra-0.24.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
Algorithm | Hash digest | |
---|---|---|
SHA256 | 0769212cd1f1e55f24ae5b7dfd0126ad6f9e41c3e59661cfdcbf05be52365d5e |
|
MD5 | f477cd3aea012b9aadc23bae239107f7 |
|
BLAKE2b-256 | 4c57b6ee99e13cd4933f70608ee3840c1e1541ee0f1eec5d4f2e9bc134d0ce4c |
File details
Details for the file pydra-0.24-py3-none-any.whl
.
File metadata
- Download URL: pydra-0.24-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
Algorithm | Hash digest | |
---|---|---|
SHA256 | 647ad091b1566ef393f745d9c8457e34932f53e16e189962f6c8ef5ca65819ed |
|
MD5 | 133601628c4cfc4be19c65498ff7e818 |
|
BLAKE2b-256 | 9e68a8a6f97738a569e5e382916b78d5966379905ee588f2a2e4d50395f3df2c |