Skip to main content

datapipe

Dataset-aware pipeline for filing, registering, segmenting and compressing acquisition data.

Each stage operates on one sample or session per invocation, so the unit of work is also the unit of failure: a stage that cannot establish what it is looking at refuses rather than guessing, and nothing is moved until its identity has been confirmed.

Installation

pip install datapipe-neuro

The distribution is datapipe-neuro; the import name and the CLI are both datapipe. An unrelated datapipe project already holds that name on PyPI.

Individual stages need tools that are deliberately not install-time dependencies, because most runs use only one stage: register and segment need brainreg and brainglobe-segmentation, and compress shells out to the datapack CLI (datapack-neuro) rather than importing it.

Stages

Command What it does
datapipe register <sample> brainreg-registers one serial-section sample, writing output beside the stitched directories
datapipe segment <sample> opens napari and brainglobe-segmentation preloaded on that sample's registration
datapipe compress <sample> <dest> compresses one sample's raw and analysis trees via datapack into dest/<sample>
datapipe place <path> files one scan or session into a data tree, refusing on identity mismatch
datapipe splits <root> finds acquisitions the recorder broke in two, and tells them from false starts

place

place routes on what the directory is, not on a flag you have to remember: a serial-section scan is repacked into the tree, while an acquisition session is moved, because compression is an earlier stage and has already run by the time anything is placed.

The subject is checked against the directory's own record and a mismatch is refused, not warned about. For an acquisition session that record is the full directory prefix, not its middle field. A histology run that holds more than one brain carries every id in its name, and is split per animal afterwards.

splits

A recording broken in two by a crash and a false start followed by a real recording look alike on disk: two acquisitions, minutes apart, same subject. splits separates them on the gap between them and on how much each half contains, reporting its reasoning per candidate rather than only a verdict. Durations come from the sample counts in the .npy sidecars — the array shape is read, never the array — so a 400 GB recording is classified without being loaded.

Licence

Non-commercial research and academic use. See LICENSE; commercial use requires a separate written agreement.

Metadata

Release files for datapipe-neuro 0.1.0

For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.

Source distribution (sdist)

Source distribution for datapipe-neuro 0.1.0
File Size Uploaded Provenance Actions
datapipe_neuro-0.1.0.tar.gz 33.7 kB Without provenance Details for datapipe_neuro-0.1.0.tar.gz

Built distribution (wheel)

Table of built distributions (wheels) for datapipe-neuro 0.1.0
File Interpreter ABI Platform Actions
datapipe_neuro-0.1.0-py3-none-any.whl Python 3 none any Details for datapipe_neuro-0.1.0-py3-none-any.whl

Total release size: 65.7 kB

Release files / datapipe_neuro-0.1.0.tar.gz

Download URL datapipe_neuro-0.1.0.tar.gz
Size 33.7 kB
Tags Source
SHA-256 checksum
How to use checksums
80f650f7812a18f5b1b2ef1342c89202eb8d6ee2d4cc5c9d7f4f2bd898bdf2a5
BLAKE2b-256 checksum
How to use checksums
a9a5d354c79073bb6cdecebeaa19adfef7131664bda76a6fca61d249fb18b2ce
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
Yes
Uploaded via uv/0.13.7 {"installer":{"name":"uv","version":"0.13.7","subcommand":["publish"]},"python":null,"implementation":{"name":null,"version":null},"distro":{"name":"Ubuntu","version":"26.04","id":"resolute","libc":null},"system":{"name":null,"release":null},"cpu":null,"openssl_version":null,"setuptools_version":null,"rustc_version":null,"ci":true}

Release files / datapipe_neuro-0.1.0-py3-none-any.whl

Download URL datapipe_neuro-0.1.0-py3-none-any.whl
Size 32.0 kB
Tags Python 3
SHA-256 checksum
How to use checksums
a121c0de74da556a92a3448e9e45b6f2106aa3f6051edb2ec51180615e710f22
BLAKE2b-256 checksum
How to use checksums
61ebd56e9fb29799f6520348bc09734b14d8ad762dff68faf3be5ccd0be9c85e
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
Yes
Uploaded via uv/0.13.7 {"installer":{"name":"uv","version":"0.13.7","subcommand":["publish"]},"python":null,"implementation":{"name":null,"version":null},"distro":{"name":"Ubuntu","version":"26.04","id":"resolute","libc":null},"system":{"name":null,"release":null},"cpu":null,"openssl_version":null,"setuptools_version":null,"rustc_version":null,"ci":true}

Security for datapipe-neuro 0.1.0

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.

No provenance found

None of the files in this release were uploaded with provenance metadata.

A 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.

Release history Release notifications | RSS feed

This release

0.1.0 This release

2 release files No provenance

Anthropic, PBC Visionary sponsor Bloomberg Visionary sponsor Hudson River Trading Visionary sponsor Meta Visionary sponsor NVIDIA Visionary sponsor Microsoft Sustainability sponsor Depot Continuous Integration AWS Cloud computing and Security Sponsor Datadog Monitoring Fastly CDN Google Download Analytics Sentry Error logging StatusPage Status page