mrilite
mrilite is a lightweight Python toolkit for handling 3D MRI volumes.
It provides simple and minimal utilities for:
- loading and saving NIfTI files
- basic preprocessing (z-score normalization)
- visualizing MRI slices
- overlaying segmentation masks
Designed to be small, dependency-light, and easy to reuse across many MRI projects.
Installation
Using pip:
pip install mrilite
Or install locally:
pip install -e .
Quick Start
from mrilite import load_nifti, zscore, show_slice_with_overlay
vol = load_nifti("t1.nii.gz")
seg = load_nifti("seg.nii.gz")
vol = zscore(vol)
show_slice_with_overlay(vol, seg, axis=2, index=80)
Features
- Minimal and clean API
- Works with any 3D/4D NIfTI MRI
- Transparent segmentation overlay
- Only essential dependencies (
numpy,nibabel,matplotlib)
License
MIT License.
Metadata
Release files for mrilite 0.1.2
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 |
|---|---|---|---|---|
| mrilite-0.1.2.tar.gz | 6.3 kB | Without provenance | Details for mrilite-0.1.2.tar.gz |
Built distribution (wheel)
| File | Interpreter | ABI | Platform | Actions Reset |
|---|---|---|---|---|
| mrilite-0.1.2-py3-none-any.whl | Python 3 | none | any | Details for mrilite-0.1.2-py3-none-any.whl |
Total release size: 12.5 kB
Release files / mrilite-0.1.2.tar.gz
| Download URL | mrilite-0.1.2.tar.gz |
|---|---|
| Size | 6.3 kB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
69aaed5e88df3b319f5bc99ae0950564d2e57c103823d066660c3bda07782ed0
|
|
BLAKE2b-256 checksum How to use checksums |
db8c6c274b1c7a8eb9faab5d9a714a9efcae50e390b1c3763a7f6a48c62f1048
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/6.2.0 CPython/3.12.4
|
Release files / mrilite-0.1.2-py3-none-any.whl
| Download URL | mrilite-0.1.2-py3-none-any.whl |
|---|---|
| Size | 6.2 kB |
| Tags | Python 3 |
|
SHA-256 checksum How to use checksums |
c913b3bb9cc37b3cafb81e21419d5ff80be1707dd51a407f0abced46c4b58964
|
|
BLAKE2b-256 checksum How to use checksums |
0031dde6cc88bccd3d87bcd7980fb26dfce0c675839e31ae3179e1752e0f1df8
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/6.2.0 CPython/3.12.4
|
Security for mrilite 0.1.2
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.