Skip to main content

A Python wrapper for transformix

Project description

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.

Project details


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

transformix-1.1.1.tar.gz (10.4 kB view details)

Uploaded Source

Built Distribution

If you're not sure about the file name format, learn more about wheel file names.

transformix-1.1.1-py3-none-any.whl (9.7 kB view details)

Uploaded Python 3

File details

Details for the file transformix-1.1.1.tar.gz.

File metadata

  • Download URL: transformix-1.1.1.tar.gz
  • Upload date:
  • Size: 10.4 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? Yes
  • Uploaded via: twine/6.1.0 CPython/3.13.7

File hashes

Hashes for transformix-1.1.1.tar.gz
Algorithm Hash digest
SHA256 40e34c23228f401c5ca8fd9fbb9db0463d9ba452940dec562b42b806db9fce8a
MD5 b5fd87cecbbff8d7f94a9c81f56f9bfa
BLAKE2b-256 23d5e0bca545bf9c5870adce1ec4c905a980e89927c0bf31f567ef4e0201aeba

See more details on using hashes here.

Provenance

The following attestation bundles were made for transformix-1.1.1.tar.gz:

Publisher: publish.yml on jasper-tms/pytransformix

Attestations: Values shown here reflect the state when the release was signed and may no longer be current.

File details

Details for the file transformix-1.1.1-py3-none-any.whl.

File metadata

  • Download URL: transformix-1.1.1-py3-none-any.whl
  • Upload date:
  • Size: 9.7 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? Yes
  • Uploaded via: twine/6.1.0 CPython/3.13.7

File hashes

Hashes for transformix-1.1.1-py3-none-any.whl
Algorithm Hash digest
SHA256 b3d0de8eeb62fafb3089668b65a539bae47ad5fa122dd825a4263f49ef6172f0
MD5 8f333a0e641d3ae0e7f01ab65a9c58f5
BLAKE2b-256 367257bc1aca30ad1ac0dc2bac03aac209dbdf1afb6e151d072a789790ac1eaf

See more details on using hashes here.

Provenance

The following attestation bundles were made for transformix-1.1.1-py3-none-any.whl:

Publisher: publish.yml on jasper-tms/pytransformix

Attestations: Values shown here reflect the state when the release was signed and may no longer be current.

Supported by

AWS Cloud computing and Security Sponsor Datadog Monitoring Depot Continuous Integration Fastly CDN Google Download Analytics Pingdom Monitoring Sentry Error logging StatusPage Status page