Skip to main content

XNAT Access.

Project description

XNAT Access

Thin XNAT REST API wrapper for Python 3 requests.


pip3 install --user xnat-access


from xnat_access import XNATClient

xnat = XNATClient(

url = 'projects/PROJECT/subjects/SUBJECT/experiments/EXPERIMENT/scans'
scans = xnat.get_result(url)

# all functions
# --------------------
# xnat.get_request
# xnat.get_json
# xnat.get_result
# xnat.get_file
# xnat.download_file
# xnat.put_request
# xnat.upload_file
# xnat.delete_request
# xnat.open_session
# xnat.close_session
# xnat.session_is_open

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

xnat-access-0.6.tar.gz (6.3 kB view hashes)

Uploaded source

Built Distribution

xnat_access-0.6-py3-none-any.whl (7.2 kB view hashes)

Uploaded py3

Supported by

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