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
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)
| File | Size | Uploaded | |
|---|---|---|---|
| pydra-0.25.tar.gz | 10.6 MB | Details |
Built distribution (wheel)
| File | Interpreter | ABI | Platform | Reset |
|---|---|---|---|---|
| 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
|