XNAT-Ingest is a toolkit used for sorting data into project/subject/sessions, de-identifying images before uploading them to an XNAT instance. Support for various file formats is provided through the FileFormats package and its extensions (e.g. FileFormats MedImage).
XNAT ingest can be installed as a Python package from PyPI with pip:
$ python3 -m pip install xnat-ingest
Alternatively, a Docker image containing the toolkit can be pulled from docker pull ghcr.io/australian-imaging-service/xnat-ingest:latest
XNAT Ingest has a public API and a command-line interface (CLI). The CLI can be explored by its in-built help menu, e.g.
$ xnat-ingest --help
When using docker, the root CLI command is set to be the entrypoint of the Docker image so it can be run by
docker run xnat-ingest --help