XNAT Python Client

A new XNAT client that exposes XNAT objects/functions as python objects/functions.

The XNAT Python client is open-source (licensed under the Apache 2.0 license) and hosted on bitbucket at https://bitbucket.org/bigr_erasmusmc/xnatpy

The official documentation can be found at xnat.readthedocs.org

To install from pypi simply use:

pip install xnat

There is also a conda package available:

conda install -c conda-forge xnat

Alternatively, you can get yourself a copy of the source code:

hg clone https://<yourusername>@bitbucket.org/bigr_erasmusmc/xnatpy

or if you have a ssh key pair:

hg clone ssh://hg@bitbucket.org/bigr_erasmusmc/xnatpy

Note

The source will be moved from mercurial to git at the end of 2019!

Note

This is NOT pyxnat, but a new module which is not as mature but uses a different philisophy for the user interface. Pyxnat is located at: https://pythonhosted.org/pyxnat/

Indices and tables