Skip to main content

mitk: Python bindings for MITK

The mitk package exposes the data structures and core utilities of the Medical Imaging Interaction Toolkit (MITK) to Python. It ships as a self-contained wheel that bundles the compiled MITK runtime together with its native dependencies like ITK, VTK, and DCMTK, so you can pip install it and start working with medical images without building MITK from source.

Installation

pip install mitk-python

The PyPI distribution is named mitk-python; the import name is mitk.

Quick start

import mitk
import numpy as np

img = mitk.Image(np.zeros((64, 64, 64), dtype=np.float32), spacing=(1.0, 1.0, 2.5))
img.save("output.nrrd")

loaded = mitk.Image("output.nrrd")
print(loaded.shape, loaded.spacing, loaded.origin)

Documentation

The Python API (classes, functions, NumPy interop, file I/O, geometry, properties) is documented at mitk-python.readthedocs.io/en/2026.06/.

The wider MITK stack (C++ modules, plugins, the application framework) is documented at docs.mitk.org/2026.06/.

License

MITK is available under a 3-clause BSD license. Copyright (c) German Cancer Research Center (DKFZ). All rights reserved.

Metadata

Release files for mitk-python 2026.6

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

Built distributions (wheels)

Table of built distributions (wheels) for mitk-python 2026.6
File Actions
mitk_python-2026.06-cp312-cp312-win_amd64.whl CPython 3.12 CPython 3.12 Windows x86-64 Details for mitk_python-2026.06-cp312-cp312-win_amd64.whl
mitk_python-2026.06-cp312-cp312-manylinux_2_35_x86_64.whl CPython 3.12 CPython 3.12 Linux glibc 2.35+ x86-64 Details for mitk_python-2026.06-cp312-cp312-manylinux_2_35_x86_64.whl
mitk_python-2026.06-cp312-cp312-macosx_13_0_x86_64.whl CPython 3.12 CPython 3.12 macOS 13.0+ x86-64 Details for mitk_python-2026.06-cp312-cp312-macosx_13_0_x86_64.whl
mitk_python-2026.06-cp312-cp312-macosx_13_0_arm64.whl CPython 3.12 CPython 3.12 macOS 13.0+ ARM64 Details for mitk_python-2026.06-cp312-cp312-macosx_13_0_arm64.whl

Total release size: 267.9 MB

Release files / mitk_python-2026.06-cp312-cp312-win_amd64.whl

Download URL mitk_python-2026.06-cp312-cp312-win_amd64.whl
Size 44.7 MB
Tags CPython 3.12 Windows x86-64
SHA-256 checksum
How to use checksums
34916fef80fd083e481d03d8ff717bdce64d01d271581bc9347d3d5e7aa3a702
BLAKE2b-256 checksum
How to use checksums
ef61620a4beb1d287fae1fd55dac8b73fb0c1d19b5d9e429d73fae8949005054
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/6.2.0 CPython/3.12.10

Release files / mitk_python-2026.06-cp312-cp312-manylinux_2_35_x86_64.whl

Download URL mitk_python-2026.06-cp312-cp312-manylinux_2_35_x86_64.whl
Size 86.4 MB
Tags CPython 3.12 Linux glibc 2.35+ x86-64
SHA-256 checksum
How to use checksums
a9051cebd1595b42146fb213306846483a38f6717bc1b7977834ecdd9ec9f997
BLAKE2b-256 checksum
How to use checksums
58c308972cd196c8f032c1fec19cf09b43c89e6c49d35dfd0fb69f45623b04eb
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/6.2.0 CPython/3.12.10

Release files / mitk_python-2026.06-cp312-cp312-macosx_13_0_x86_64.whl

Download URL mitk_python-2026.06-cp312-cp312-macosx_13_0_x86_64.whl
Size 73.6 MB
Tags CPython 3.12 macOS 13.0+ x86-64
SHA-256 checksum
How to use checksums
481c474f2fb4fda8da8c946d853decf9fd24a8bda9177a0c6acc7abaeea328fa
BLAKE2b-256 checksum
How to use checksums
7be312e6c4f49e59d039266d8d3107c98eba5101c3c3ca8b31c3a62635db99ec
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/6.2.0 CPython/3.12.10

Release files / mitk_python-2026.06-cp312-cp312-macosx_13_0_arm64.whl

Download URL mitk_python-2026.06-cp312-cp312-macosx_13_0_arm64.whl
Size 63.2 MB
Tags CPython 3.12 macOS 13.0+ ARM64
SHA-256 checksum
How to use checksums
25065836ab446c897518ffdd470e8c3b72548a7426cf57edc4c382f496a2e32a
BLAKE2b-256 checksum
How to use checksums
75fb4af2f797c27d50cb07a10e50921e5787161d30a0046f9cf656cf1100582b
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/6.2.0 CPython/3.12.10

Security for mitk-python 2026.6

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