XnatUtils
https://github.com/Australian-Imaging-Service/xnatutils
Install xnatutils using
pip3 install xnatutils
Authenticating using .netrc
- Create an alias token. Or use an existing alias token
- Create a
.netrc
file in your home directory with the following details
machine https://xnat.rcc.uq.edu.au
user <your-alias-token>
password <your-alias-secret>
xnatpy
https://xnat.readthedocs.io/en/latest/