Skip to main content

XNAT Ingest

CI/CD codecov PyPI Documentation Status

XNAT-Ingest is a collection of tools to sort, label, de-identify data and upload them to an XNAT repository. Support for various file types is provided through the FileFormats package and its extensions (e.g. FileFormats MedImage, FileFormats Siemens,...).

flowchart LR
    Scanner(["Scanner / instrument"]) --> Group["group"]
    Group --> Assign["assign"]
    Assign --> Deidentify["deidentify (optional)"]
    Deidentify --> Upload["upload"]
    Upload --> XNAT[("XNAT")]
    Upload -.-> CheckUpload["check-upload"]

    Extra(["files without\nsorting metadata"]) -.-> Associate["associate (optional)"]
    Group -.-> Associate
    Associate -.-> Assign

Installation

A Docker image containing the toolkit can be pulled from the GitHub Container Registry

docker pull ghcr.io/australian-imaging-service/xnat-ingest:latest

The entrypoint of the image is the xnat-ingest CLI so commands can be run by the form

docker run ghcr.io/australian-imaging-service/xnat-ingest:latest <command-name> <arg1> <arg2> ... --opt1 <opt1> ...

Alternatively, XNAT ingest can be installed as a Python package from PyPI with pip:

$ python3 -m pip install xnat-ingest

Running

XNAT Ingest has a public API and a command-line interface (CLI), with sub-commands to group, assign, associate, de-identify, and upload imaging sessions to XNAT — either as a one-off run or as a continuously-running service (e.g. via Docker Compose or Kubernetes).

See the full documentation for a hands-on quick start, how-to guides for each part of the pipeline, and the complete CLI/API reference.

Metadata

Release files for xnat-ingest 0.15.4

For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.

Source distribution (sdist)

Source distribution for xnat-ingest 0.15.4
File Size Uploaded
xnat_ingest-0.15.4.tar.gz 164.3 kB Details

Built distribution (wheel)

Table of built distributions (wheels) for xnat-ingest 0.15.4
File Interpreter ABI Platform
xnat_ingest-0.15.4-py3-none-any.whl Python 3 none any Details

Total release size: 366.6 kB

Release files / xnat_ingest-0.15.4.tar.gz

Download URL xnat_ingest-0.15.4.tar.gz
Size 164.3 kB
Tags Source
SHA-256 checksum
How to use checksums
9d43bb46cee63a478b59fe1db2d3bda4c8812d96b1646bdbcee5bcb140ba216c
BLAKE2b-256 checksum
How to use checksums
82d31108b8ef76ee90751c48b1eb9ecac5519f111334ec4a17a8388a748af225
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/7.0.0 CPython/3.13.14

Release files / xnat_ingest-0.15.4-py3-none-any.whl

Download URL xnat_ingest-0.15.4-py3-none-any.whl
Size 202.3 kB
Tags Python 3
SHA-256 checksum
How to use checksums
45a99f536dbae8208a68b38453f43aad38b1cdac009c7d646d2eea568e324e45
BLAKE2b-256 checksum
How to use checksums
1d371181fe0db4f33770d85dd97510906c3ac8a2ea6174f5c6922b36f1fbde39
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/7.0.0 CPython/3.13.14

Release history Release notifications | RSS feed

0.15.7

2 release files

0.15.6

2 release files

This release

0.15.4 This release

2 release files

0.15.3

2 release files

0.13.1

2 release files

0.13.0

2 release files

0.12.3

2 release files

0.11.0

2 release files

0.9.1

2 release files

0.9.0

2 release files

0.8.7

2 release files

0.8.6

2 release files

0.8.4

2 release files

0.8.3

2 release files

0.8.2

2 release files

0.7.2

2 release files

Anthropic, PBC Visionary sponsor Bloomberg Visionary sponsor Hudson River Trading Visionary sponsor Meta Visionary sponsor NVIDIA Visionary sponsor Microsoft Sustainability sponsor Depot Continuous Integration AWS Cloud computing and Security Sponsor Datadog Monitoring Fastly CDN Google Download Analytics Sentry Error logging StatusPage Status page