Skip to main content

MBO Utilities logo

pml_utilities

Readers, pipelines and viewers for imaging data, for the Program in Memory Longevity (PML). It installs the mbo_utilities Python package and the mbo command.

Beta channel. pml_utilities is mbo_utilities plus features that are still in beta. A feature lands here first and moves into the core mbo_utilities once it settles, so expect changes between releases. The documentation is mbo_utilities'.

  • Lazy reading and writing of ScanImage and other TIFFs, Femtonics MESc, Bruker and lab4 HDF5, Zarr, suite2p folders, NumPy and IsoView trees, each as one (T, C, Z, Y, X) array
  • The Studio, a GPU viewer built on fastplotlib: hand-drawn ROIs, traces, motion correction and behavior on one time axis
  • Pipelines from the Studio or the command line: suite2p and, installed separately, MaskNMF and the voltage imaging pipelines, each writing one results zarr
  • MESc line-scan tools: named ROIs, trace figures (mbo dashboard) and event curation (mbo curate)

Extras

Python 3.12.7 to 3.13. The base install reads and writes every format and has no window. pml_utilities and the PyPI mbo_utilities install the same package, so they cannot share an environment.

uv pip install "pml_utilities[gui]"    # The Studio
uv pip install "pml_utilities[all]"    # every extra
Extra Adds
gui The Studio and the ROI, trace and curation tools; the ROI tool also needs masknmf, installed separately
suite2p suite2p and rastermap; then uv pip install --no-deps lbm-suite2p-python
server mbo serve, The Studio in a browser
hpc submitit, to run suite2p on SLURM
napari the napari viewer mode
notebooks JupyterLab, for the notebooks mbo init writes
video ffmpeg, for mp4 export
codecs imagecodecs, for compressed TIFFs
pyramid numba, for mode-downsampled zarr pyramids
dask files_to_dask
qt PyQt6 window backend; glfw is the default

mbo --check-install lists every package, the GPU, and the install command for anything missing, including Qt's system libraries on a minimal Linux install.

Use

mbo                        # open The Studio
mbo /path/to/data          # open a file or folder
mbo info /path/to/data     # shape and metadata
mbo convert IN OUT         # convert between formats
mbo dashboard scan.mesc    # trace figures of a .mesc unit's ROIs
mbo curate scan.mesc       # event curation of a line scan
mbo --help                 # every command
import mbo_utilities as mbo

arr = mbo.imread("scan.mesc", unit="MUnit_3")   # lazy, (T, C, Z, Y, X)
mbo.imwrite(arr, "out", ext=".zarr")

Uninstall

uv pip uninstall pml_utilities
rm -rf ~/.mbo          # settings, logs and caches

Issues

Report problems on GitLab.

Metadata

Release files for pml_utilities 4.0.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 pml_utilities 4.0.0
File Size Uploaded Provenance Actions
pml_utilities-4.0.0.tar.gz 4.5 MB Without provenance Details for pml_utilities-4.0.0.tar.gz

Built distribution (wheel)

Table of built distributions (wheels) for pml_utilities 4.0.0
File Interpreter ABI Platform Actions
pml_utilities-4.0.0-py3-none-any.whl Python 3 none any Details for pml_utilities-4.0.0-py3-none-any.whl

Total release size: 8.9 MB

Release files / pml_utilities-4.0.0.tar.gz

Download URL pml_utilities-4.0.0.tar.gz
Size 4.5 MB
Tags Source
SHA-256 checksum
How to use checksums
d118a6f029db9fca5d4316b59654c9cdb3363e47e58fc2c695d31e4dc81da421
BLAKE2b-256 checksum
How to use checksums
cd92d08f1d83711f21981617c3548c92767a27a09986395172527436f19c9f51
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via uv/0.13.5 {"installer":{"name":"uv","version":"0.13.5","subcommand":["publish"]},"python":null,"implementation":{"name":null,"version":null},"distro":{"name":"Omarchy","version":"4.0.6","id":null,"libc":null},"system":{"name":null,"release":null},"cpu":null,"openssl_version":null,"setuptools_version":null,"rustc_version":null,"ci":null}

Release files / pml_utilities-4.0.0-py3-none-any.whl

Download URL pml_utilities-4.0.0-py3-none-any.whl
Size 4.4 MB
Tags Python 3
SHA-256 checksum
How to use checksums
f099411a3e5173b84a4ff3116dc4b9f2c7d8425ee09c101073d52ef728186b7b
BLAKE2b-256 checksum
How to use checksums
15d8e86d7b5b5448356516eac7c321efabe443c1a3c304a6f966e652c9af3c43
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via uv/0.13.5 {"installer":{"name":"uv","version":"0.13.5","subcommand":["publish"]},"python":null,"implementation":{"name":null,"version":null},"distro":{"name":"Omarchy","version":"4.0.6","id":null,"libc":null},"system":{"name":null,"release":null},"cpu":null,"openssl_version":null,"setuptools_version":null,"rustc_version":null,"ci":null}

Security for pml_utilities 4.0.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

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