This release is a pre-release and may not be stable for production use.
NIPACT
NIPACT is a Python package and CLI tool for orchestrating, executing, and auditing scientific workflows. Currently it is built around Snakemake and uses a SQLite registry for tracking steps and artifacts.
Public documentation lives in a separate repository, nipact-docs. See: https://liuforest.github.io/nipact-docs/.
Contents:
- a
nipactPython package undersrc/ - deterministic packaged demo generators used by the tests
Features:
- Workflow inspection commands (
workflow list,workflow steps,workflow plan,workflow graph) - Workflow execution via Snakemake (
workflow run) - Runtime artifact provenance auditing in a SQLite registry (
trace) - Project-specific GUI viewer for browsing workflow runs, artifacts, and provenance (
gui) - Fully runnable colors demo with synthetic data and no external dependencies
Work in Progress:
- fMRI and dFC demos
Installation
Initial pre-release is 0.0.1a1. Install it from PyPI in a clean
environment:
python -m pip install nipact==0.0.1a1
nipact --version
For development from this repo:
python -m pip install -e . pytest
Local Setup
Install the package and test runner from the repo root:
python -m pip install -e . pytest
Run the Python tests:
python -m pytest
Colors Demo via CLI
See more details in the documentation at https://liuforest.github.io/nipact-docs/
The current release supports three packaged demos:
nipact init \
--demo colors \
--project-dir demos/colors/project \
--runtime-dir demos/colors/runtime
nipact validate --context colors
nipact init \
--demo fmri \
--project-dir demos/fmri/project \
--runtime-dir demos/fmri/runtime
nipact validate --context fmri
nipact init \
--demo dfc \
--project-dir demos/dfc/project \
--runtime-dir demos/dfc/runtime
nipact validate --context dfc
NOTES:
--project-dir and --runtime-dir must be empty and must not contain each other.
init creates a generated demo project plus mutable runtime files. The project contains nipact.yaml, sources.yaml, manifests, step YAML, and workflow YAML.
The runtime contains demo source files under data/ and database/registry.db. It also writes nipact.contexts.yaml in the current workspace so later commands can resolve --context <demo> to the generated project root. The context index is workspace-local state; this repository ignores the root file so source-checkout testing does not add tutorial state to version control. validate is read-only.
Workflow inspection and execution:
nipact workflow list \
--context colors
nipact workflow steps \
--context colors \
--workflow base
nipact workflow plan \
--context colors \
--workflow base \
--step color_sector_analysis
nipact workflow graph \
--context colors \
--workflow base \
--step color_sector_analysis
nipact workflow run \
--context colors \
--workflow base \
--step color_sector_analysis \
--dry-run
nipact workflow run \
--context colors \
--workflow base \
--step color_sector_analysis \
--cores 1
nipact trace \
--context colors \
--workflow base \
--step color_sector_analysis \
--output sector_counts \
--address init
nipact gui \
--context colors \
--port 8765
trace and gui read runtime/database/registry.db. The GUI binds to 127.0.0.1 and serves a local browser view for current workflows, manifests, artifacts, workflow topology, and focused artifact lineage.
The gui is for viewing only, not to execute workflows, registry rows, etc.
Metadata
Release files for nipact 0.0.1a3
For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.
Source distribution (sdist)
| File | Size | Uploaded | Provenance | Actions |
|---|---|---|---|---|
| nipact-0.0.1a3.tar.gz | 374.0 kB | With provenance | Details for nipact-0.0.1a3.tar.gz |
Built distribution (wheel)
| File | Interpreter | ABI | Platform | Actions Reset |
|---|---|---|---|---|
| nipact-0.0.1a3-py3-none-any.whl | Python 3 | none | any | Details for nipact-0.0.1a3-py3-none-any.whl |
Total release size: 738.5 kB
Release files / nipact-0.0.1a3.tar.gz
| Download URL | nipact-0.0.1a3.tar.gz |
|---|---|
| Size | 374.0 kB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
4a59e822da95e1adf547b3e4dee9d4f45928dc769489d59ade6b92938432943a
|
|
BLAKE2b-256 checksum How to use checksums |
cbfe83209e3112005d658f1461b96cb52d1cfbdd843955138dce309e3c23b366
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
Yes |
| Uploaded via |
twine/6.1.0 CPython/3.13.12
|
Provenance
Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.
PyPI Publish Attestation
PyPI verified that this artifact, at this checksum, originated from the publisher listed below.
Signed by GitHub Actions, verified by PyPI on Jun 27, 2026.
Transparency logRelease files / nipact-0.0.1a3-py3-none-any.whl
| Download URL | nipact-0.0.1a3-py3-none-any.whl |
|---|---|
| Size | 364.5 kB |
| Tags | Python 3 |
|
SHA-256 checksum How to use checksums |
ebd935b700c87966ea9578efbab5f3f14ea47b5d09ee41b66479e8bb13e87644
|
|
BLAKE2b-256 checksum How to use checksums |
4c75ea520e1be3a4c1e2800d954066350c547081cd8c900ea5fc653be4b40b3a
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
Yes |
| Uploaded via |
twine/6.1.0 CPython/3.13.12
|
Provenance
Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.
PyPI Publish Attestation
PyPI verified that this artifact, at this checksum, originated from the publisher listed below.
Signed by GitHub Actions, verified by PyPI on Jun 27, 2026.
Transparency logSecurity for nipact 0.0.1a3
Provenance
Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.
Full provenance
Both files in this release have been uploaded with provenance metadata.
Attestation for nipact-0.0.1a3.tar.gz
PyPI Publish Attestation
PyPI verified that this artifact, at this checksum, originated from the publisher listed below.
Signed by GitHub Actions, verified by PyPI on Jun 27, 2026.
Transparency logA note on package security
PyPI is a repository for distributing packages, not a service for auditing them. While third-party security researchers and our staff do their best to detect and remove malicious packages, PyPI cannot guarantee the quality, security or suitability of any given package.
To learn more about protecting yourself from malicious actors, visit our package security documentation.