pytransformix
A python3 wrapper for transformix, a command-line utility provided as part of the package elastix
Currently runs on MacOS and Linux.
Installation
Step 1
Either pip install from PyPI:
pip install transformix
or first git clone the repo and then pip install from your clone:
cd ~/repos # Or wherever on your computer you want to download this code to
git clone https://github.com/jasper-tms/pytransformix.git
cd pytransformix
pip install .
Step 2
Install elastix by first downloading it from the releases page. Operating system compatibility notes:
- Ubuntu 22.04: Use elastix-5.1.0 or the latest version.
- Ubuntu 20.04: Use elastix-5.0.1
- Ubuntu 18.04: Use elastix-5.0.0
- Ubuntu 16.04: Use elastix-4.9.0
- MacOS: elastix-5.0.1 worked on Big Sur, and I haven't tested other combinations. Probably safe to download the latest version.
Then extract the .zip or .tar.gz file you downloaded and put the folder somewhere on your computer. Then add that folder's bin subdirectory to your shell PATH and that folder's lib subdirectory to your shell LD_LIBRARY_PATH. For example, if you put the folder at ~/software/elastix-5.0.1-linux, then add these three lines of text
export PATH=$HOME/software/elastix-5.0.1-linux/bin:$PATH
export LD_LIBRARY_PATH=$HOME/software/elastix-5.0.1-linux/lib${LD_LIBRARY_PATH+:$LD_LIBRARY_PATH}
export DYLD_LIBRARY_PATH=$HOME/software/elastix-5.0.1-linux/lib${DYLD_LIBRARY_PATH+:$DYLD_LIBRARY_PATH}
to your shell config file (~/.bashrc for bash on Linux, ~/.bash_profile for bash on Mac, or ~/.zshrc for zsh on Mac). Then open up a new terminal and run elastix. If you see Use "elastix --help" for information about elastix-usage., you're good to go. If not, feel free to open an issue and I can try to help.
Metadata
Release files for transformix 1.1.1
For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.
Source distribution (sdist)
| File | Size | Uploaded | |
|---|---|---|---|
| transformix-1.1.1.tar.gz | 10.4 kB | Details |
Built distribution (wheel)
| File | Interpreter | ABI | Platform | Reset |
|---|---|---|---|---|
| transformix-1.1.1-py3-none-any.whl | Python 3 | none | any | Details |
Total release size: 20.1 kB
Release files / transformix-1.1.1.tar.gz
| Download URL | transformix-1.1.1.tar.gz |
|---|---|
| Size | 10.4 kB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
40e34c23228f401c5ca8fd9fbb9db0463d9ba452940dec562b42b806db9fce8a
|
|
BLAKE2b-256 checksum How to use checksums |
23d5e0bca545bf9c5870adce1ec4c905a980e89927c0bf31f567ef4e0201aeba
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
Yes |
| Uploaded via |
twine/6.1.0 CPython/3.13.7
|
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.
PyPI Publish Attestation
PyPI verified that this artifact, at this checksum, originated from the publisher listed below.
Signed by GitHub Actions, verified by PyPI on Feb 28, 2026.
Transparency logRelease files / transformix-1.1.1-py3-none-any.whl
| Download URL | transformix-1.1.1-py3-none-any.whl |
|---|---|
| Size | 9.7 kB |
| Tags | Python 3 |
|
SHA-256 checksum How to use checksums |
b3d0de8eeb62fafb3089668b65a539bae47ad5fa122dd825a4263f49ef6172f0
|
|
BLAKE2b-256 checksum How to use checksums |
367257bc1aca30ad1ac0dc2bac03aac209dbdf1afb6e151d072a789790ac1eaf
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
Yes |
| Uploaded via |
twine/6.1.0 CPython/3.13.7
|
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.
PyPI Publish Attestation
PyPI verified that this artifact, at this checksum, originated from the publisher listed below.
Signed by GitHub Actions, verified by PyPI on Feb 28, 2026.
Transparency log