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.2.1
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 |
|---|---|---|---|---|
| datapipe_neuro-0.2.1.tar.gz | 34.1 kB | Without provenance | Details for datapipe_neuro-0.2.1.tar.gz |
Built distribution (wheel)
| File | Interpreter | ABI | Platform | Actions Reset |
|---|---|---|---|---|
| datapipe_neuro-0.2.1-py3-none-any.whl | Python 3 | none | any | Details for datapipe_neuro-0.2.1-py3-none-any.whl |
Total release size: 66.5 kB
Release files / datapipe_neuro-0.2.1.tar.gz
| Download URL | datapipe_neuro-0.2.1.tar.gz |
|---|---|
| Size | 34.1 kB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
257627f6bbb03cb4c8d2067f4b046589ff2568a016d3d1f9a1625d9f59c49d77
|
|
BLAKE2b-256 checksum How to use checksums |
f195cca81b950bd0f25d4cdf80f88f356d36705daf22ba4925026b598da50d9d
|
| 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.2.1-py3-none-any.whl
| Download URL | datapipe_neuro-0.2.1-py3-none-any.whl |
|---|---|
| Size | 32.4 kB |
| Tags | Python 3 |
|
SHA-256 checksum How to use checksums |
8fb7ce08e1447c554b049e4b17a27dd94b0707474f47c8c80fdc42796682bae7
|
|
BLAKE2b-256 checksum How to use checksums |
2964335cd496c2fbc7912d51fdd2e3144cd7ecafac2e0aef7f08e0c9a6e977eb
|
| 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.2.1
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.