Skip to main content

segresnet-mlx

Segment brain tumors, renal structures and whole-body CT anatomy with MONAI SegResNet models in native MLX.

BraTS weights · Renal weights

Input Output
MRI sequences or CT volumes Segmentation on the input grid

Apple Silicon · Metal · Python 3.13 / 3.14 · uv

Quick start

uv venv --python 3.13
source .venv/bin/activate
uv pip install "segresnet-mlx>=0.3.0"
from segresnet_mlx.medmlx import brats

result = brats(
    t1c_path="t1c.nii.gz", t1_path="t1.nii.gz", t2_path="t2.nii.gz",
    flair_path="flair.nii.gz", output_dir="out",
)
print(result["outputs"]["mask"])

The registered models are segresnet-brats and segresnet-renal-cect. Their brats and renal_cect runners select the matching bundle internally and download MedMLX/segresnet-brats-mlx or MedMLX/segresnet-renal-cect-mlx when weights_path is omitted. An explicit folder contains segresnet-brats.safetensors for BraTS or segresnet-renal-cect.safetensors for renal CECT. The renal runner takes arterial_path, venous_path and excretory_path. Keep each model's input volumes on one voxel grid.

The standalone run(bundle=..., weights_path=...) interface remains available for explicit local checkpoints, including the whole-body CT variants. Published native weights are also available for renal CECT and whole-body CT.

Downloaded commits are returned in details.weights_revision; explicit local weights report null unless the folder carries a MedMLX download revision.

License

Apache-2.0; license and third-party notices are included in the distribution. Model weights retain their publisher terms.

For research and education. Outputs require human review.

Metadata

Release files for segresnet-mlx 0.3.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 segresnet-mlx 0.3.0
File Size Uploaded Provenance Actions
segresnet_mlx-0.3.0.tar.gz 35.5 kB Without provenance Details for segresnet_mlx-0.3.0.tar.gz

Built distribution (wheel)

Table of built distributions (wheels) for segresnet-mlx 0.3.0
File Interpreter ABI Platform Actions
segresnet_mlx-0.3.0-py3-none-any.whl Python 3 none any Details for segresnet_mlx-0.3.0-py3-none-any.whl

Total release size: 78.2 kB

Release files / segresnet_mlx-0.3.0.tar.gz

Download URL segresnet_mlx-0.3.0.tar.gz
Size 35.5 kB
Tags Source
SHA-256 checksum
How to use checksums
d5660bbed4d5670ebc21aec735c0376c3af4e36054b67e8e29d8ff27205c36f7
BLAKE2b-256 checksum
How to use checksums
35d1a91f64e24f91ca0c7ff2b2c15da77709e9b17615eb2bd19471ee663ff684
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":"macOS","version":null,"id":null,"libc":null},"system":{"name":null,"release":null},"cpu":null,"openssl_version":null,"setuptools_version":null,"rustc_version":null,"ci":null}

Release files / segresnet_mlx-0.3.0-py3-none-any.whl

Download URL segresnet_mlx-0.3.0-py3-none-any.whl
Size 42.7 kB
Tags Python 3
SHA-256 checksum
How to use checksums
6a6855863e772ab83a625bf0da2cdf35fbdc1c589295981f3c7858954fb76a1e
BLAKE2b-256 checksum
How to use checksums
bed7ef8332d59dc5caea6fd40a763d17951fccffcfa14e1b8f17ec31e72bd0dd
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":"macOS","version":null,"id":null,"libc":null},"system":{"name":null,"release":null},"cpu":null,"openssl_version":null,"setuptools_version":null,"rustc_version":null,"ci":null}

Security for segresnet-mlx 0.3.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.

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