To upgrade to this Python binary package run:
:::pip install --upgrade --pre simpleitk --find-links https://github.com/SimpleITK/SimpleITK/releases/tag/v2.5.7```
<a href="https://github.com/SimpleITK/SimpleITK/releases/download/v2.5.7/simpleitk-2.5.7-cp314-cp314t-win_amd64.whl#md5=16a06f326caa5094b53e7a3d0ec089de" ></a><a href="https://github.com/SimpleITK/SimpleITK/releases/download/v2.5.7/simpleitk-2.5.7-cp310-cp310-win_amd64.whl#md5=865d86a8910159e6f08bc86138420b4b" ></a><a href="https://github.com/SimpleITK/SimpleITK/releases/download/v2.5.7/simpleitk-2.5.7-cp39-cp39-win_amd64.whl#md5=64e742e85154b01cb7a7c5c71b53d472" ></a><a href="https://github.com/SimpleITK/SimpleITK/releases/download/v2.5.7/simpleitk-2.5.7-cp311-abi3-win_amd64.whl#md5=0e376cdedd42935351869e9211e0bec2" ></a><a href="https://github.com/SimpleITK/SimpleITK/releases/download/v2.5.7/simpleitk-2.5.7-cp310-cp310-manylinux2014_aarch64.manylinux_2_17_aarch64.whl#md5=c94055d8ae801121a038803d6ad59894" ></a><a href="https://github.com/SimpleITK/SimpleITK/releases/download/v2.5.7/simpleitk-2.5.7-cp314-cp314t-manylinux2014_aarch64.manylinux_2_17_aarch64.whl#md5=14546fcf4c730c47e5cb6331e3d47f29" ></a><a href="https://github.com/SimpleITK/SimpleITK/releases/download/v2.5.7/simpleitk-2.5.7-cp39-cp39-manylinux2014_aarch64.manylinux_2_17_aarch64.whl#md5=58b9e2309103cfcfabf67ef87aeba42b" ></a><a href="https://github.com/SimpleITK/SimpleITK/releases/download/v2.5.7/simpleitk-2.5.7-cp315-cp315t-manylinux2014_aarch64.manylinux_2_17_aarch64.whl#md5=4387b57ce65f92eed0000dc54150a5c1" ></a><a href="https://github.com/SimpleITK/SimpleITK/releases/download/v2.5.7/simpleitk-2.5.7-cp311-abi3-manylinux2014_aarch64.manylinux_2_17_aarch64.whl#md5=4c734b5fead6996a8a7633d7c3e2cf1c" ></a><a href="https://github.com/SimpleITK/SimpleITK/releases/download/v2.5.7/simpleitk-2.5.7-cp315-cp315t-macosx_11_0_arm64.whl#md5=564c491d2d65752cca0048c814d66e21" ></a><a href="https://github.com/SimpleITK/SimpleITK/releases/download/v2.5.7/simpleitk-2.5.7-cp310-cp310-macosx_11_0_arm64.whl#md5=865f6e3c696eede8ac29406ee5a0dfa8" ></a><a href="https://github.com/SimpleITK/SimpleITK/releases/download/v2.5.7/simpleitk-2.5.7-cp311-abi3-macosx_11_0_arm64.whl#md5=47f2496453645fd0dc63ce8b3c6d0104" ></a><a href="https://github.com/SimpleITK/SimpleITK/releases/download/v2.5.7/simpleitk-2.5.7-cp314-cp314t-macosx_11_0_arm64.whl#md5=3a4fb0b83165adb1c44dd31e58199814" ></a><a href="https://github.com/SimpleITK/SimpleITK/releases/download/v2.5.7/simpleitk-2.5.7-cp39-cp39-macosx_11_0_arm64.whl#md5=8314a949ef63c7687b3eb0b885edfea9" ></a><a href="https://github.com/SimpleITK/SimpleITK/releases/download/v2.5.7/simpleitk-2.5.7-cp314-cp314t-macosx_10_9_x86_64.whl#md5=6cc15c5b92420ee683a1e42124e259df" ></a><a href="https://github.com/SimpleITK/SimpleITK/releases/download/v2.5.7/simpleitk-2.5.7-cp315-cp315t-macosx_10_9_x86_64.whl#md5=c0e6807df02b36cfefe91a67d93a5350" ></a><a href="https://github.com/SimpleITK/SimpleITK/releases/download/v2.5.7/simpleitk-2.5.7-cp311-abi3-macosx_10_9_x86_64.whl#md5=9fc3c545166291914a90a2f2e5589d33" ></a><a href="https://github.com/SimpleITK/SimpleITK/releases/download/v2.5.7/simpleitk-2.5.7-cp310-cp310-macosx_10_9_x86_64.whl#md5=eea1c9a62f344f12cca2435922b5d312" ></a><a href="https://github.com/SimpleITK/SimpleITK/releases/download/v2.5.7/simpleitk-2.5.7-cp39-cp39-macosx_10_9_x86_64.whl#md5=2c684102be9ef28348fe15fb16210c5d" ></a><a href="https://github.com/SimpleITK/SimpleITK/releases/download/v2.5.7/simpleitk-2.5.7-cp315-cp315t-manylinux2014_x86_64.manylinux_2_17_x86_64.whl#md5=6299a9065ae8c255fbc4c07736e37294" ></a><a href="https://github.com/SimpleITK/SimpleITK/releases/download/v2.5.7/simpleitk-2.5.7-cp311-abi3-manylinux2014_x86_64.manylinux_2_17_x86_64.whl#md5=d88328798bcfdc374532b4a63cdeab05" ></a><a href="https://github.com/SimpleITK/SimpleITK/releases/download/v2.5.7/simpleitk-2.5.7-cp39-cp39-manylinux2014_x86_64.manylinux_2_17_x86_64.whl#md5=4e1595b2317ebc75c3b6bd1479118f33" ></a><a href="https://github.com/SimpleITK/SimpleITK/releases/download/v2.5.7/simpleitk-2.5.7-cp314-cp314t-manylinux2014_x86_64.manylinux_2_17_x86_64.whl#md5=e1ca2b1ece568596ceb8f86deefc5c11" ></a><a href="https://github.com/SimpleITK/SimpleITK/releases/download/v2.5.7/simpleitk-2.5.7-cp310-cp310-manylinux2014_x86_64.manylinux_2_17_x86_64.whl#md5=bf2ab4c349dbf9ba37ea4d4a1f290c26" ></a>
## ITK 5.4.8
This distribution is based on the Insight Toolkit 5.4.8 release. Please see the [ITK release notes](https://docs.itk.org/en/release/releases/5.4.8.html) for details.
## Free-Threaded Python 3.15 Support
SimpleITK now packages wheels for free-threaded CPython 3.15 (`cp315t`). CPython 3.15 changed how the GIL-free declaration must be made, from a runtime-only call to a static `Py_mod_gil` module slot, so building against it requires SWIG 4.5.1 or later, which this release updates to. Read more about [free-threaded Python on python.org](https://docs.python.org/3/howto/free-threading-python.html).
**New Features**
- Added `ImageFileReader::CanStreamRead()` to query whether the configured ImageIO supports streamed, region-by-region reading before attempting it.
- Added `Transform::ApplyToImageMetadata()`, updating an image's origin, spacing, and direction in place through the inverse of a transform, without resampling pixel data.
**Bug Fixes**
- Improved the numerical accuracy of `MultiLabelSTAPLEImageFilter` by computing weights in double instead of float precision.
## What's Changed
* Bump pypa/gh-action-pypi-publish from 1.12.4 to 1.14.2 by @dependabot[bot] in https://github.com/SimpleITK/SimpleITK/pull/2668
* Bump actions/checkout from 4 to 7 by @dependabot[bot] in https://github.com/SimpleITK/SimpleITK/pull/2664
* Bump actions/upload-artifact from 4 to 7 by @dependabot[bot] in https://github.com/SimpleITK/SimpleITK/pull/2667
* Bump actions/download-artifact from 4 to 8 by @dependabot[bot] in https://github.com/SimpleITK/SimpleITK/pull/2666
* Bump actions/setup-python from 5 to 7 by @dependabot[bot] in https://github.com/SimpleITK/SimpleITK/pull/2665
* Bump actions/cache from 4 to 6 by @dependabot[bot] in https://github.com/SimpleITK/SimpleITK/pull/2669
* BUG: Fix free-threaded GIL declaration for CPython 3.15 (backport #2693) by @blowekamp in https://github.com/SimpleITK/SimpleITK/pull/2695
* Backport #2691: Add packaging for Python 3.15t free-threaded pre-release by @blowekamp in https://github.com/SimpleITK/SimpleITK/pull/2692
* CI: Use release-5.4 for ITK in batch build by @blowekamp in https://github.com/SimpleITK/SimpleITK/pull/2674
* Update swig to 4.5.1 for release branch by @blowekamp in https://github.com/SimpleITK/SimpleITK/pull/2675
* CI: Backport Package workflow hardening to release by @blowekamp in https://github.com/SimpleITK/SimpleITK/pull/2724
* CI: Verify abi3 wheels with abi3audit (backport to release) by @blowekamp in https://github.com/SimpleITK/SimpleITK/pull/2725
* BUG: Backport fix for broken commit-msg hook to release by @blowekamp in https://github.com/SimpleITK/SimpleITK/pull/2733
* ENH: Add ImageFileReader::CanStreamRead to query streamed read support by @blowekamp in https://github.com/SimpleITK/SimpleITK/pull/2730
* COMP: Update ITK to release-5.4 branch hash 2026-10-01 by @blowekamp in https://github.com/SimpleITK/SimpleITK/pull/2734
* Backport PR #2670: Change TWeights in MultiLabelSTAPLE to double by @blowekamp in https://github.com/SimpleITK/SimpleITK/pull/2673
* ENH: Add Transform::ApplyToImageMetadata by @blowekamp in https://github.com/SimpleITK/SimpleITK/pull/2731
* COMP: Update ITK to release-5.4 branch hash 2026-10-12 by @blowekamp in https://github.com/SimpleITK/SimpleITK/pull/2747
* CI: Package Python 3.15t as a regular release by @blowekamp in https://github.com/SimpleITK/SimpleITK/pull/2753
* Build(deps): Bump pypa/gh-action-pypi-publish from 1.14.2 to 1.14.3 in the github-actions group by @dependabot[bot] in https://github.com/SimpleITK/SimpleITK/pull/2768
* ENH: Update ITK superbuild to v5.4.8 tag by @blowekamp in https://github.com/SimpleITK/SimpleITK/pull/2776
**Full Changelog**: https://github.com/SimpleITK/SimpleITK/compare/v2.5.6...v2.5.7