XNAT Access
Thin XNAT REST API wrapper for Python 3 requests.
Installation
pip3 install --user xnat-access
Usage
from xnat_access import XNATClient
xnat = XNATClient(
'https://example.com/xnat',
'USERNAME',
'PASSWORD'
)
url = 'projects/PROJECT/subjects/SUBJECT/experiments/EXPERIMENT/scans'
scans = xnat.get_result(url)
print(scans)
# 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
Metadata
Release files for xnat-access 0.6
For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.
Source distribution (sdist)
| File | Size | Uploaded | Provenance | |
|---|---|---|---|---|
| xnat-access-0.6.tar.gz | 6.3 kB | Without provenance | Details |
Built distribution (wheel)
| File | Interpreter | ABI | Platform | Reset |
|---|---|---|---|---|
| xnat_access-0.6-py3-none-any.whl | Python 3 | none | any | Details |
Total release size: 13.5 kB
Release files / xnat-access-0.6.tar.gz
| Download URL | xnat-access-0.6.tar.gz |
|---|---|
| Size | 6.3 kB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
563bf266ad44cdf91b1ec19427acecf01f59293eda5e6c49258afe51ffd46389
|
|
BLAKE2b-256 checksum How to use checksums |
7640aba9f7506cb20a359aed7b411b16beea0365998784ab19072ba2c0f0356f
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
poetry/0.12.16 CPython/3.7.3 Linux/5.1.15-300.fc30.x86_64
|
Release files / xnat_access-0.6-py3-none-any.whl
| Download URL | xnat_access-0.6-py3-none-any.whl |
|---|---|
| Size | 7.2 kB |
| Tags | Python 3 |
|
SHA-256 checksum How to use checksums |
0947ee73cc7fec0660c4a60cd03790e89fbeaba8f27699f804039efd5a5f0bcf
|
|
BLAKE2b-256 checksum How to use checksums |
6361dcff9f6da79001993ab79fa913143aec3ca794ded0f28bdefd223c797317
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
poetry/0.12.16 CPython/3.7.3 Linux/5.1.15-300.fc30.x86_64
|
Security for xnat-access 0.6
Provenance
Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.
No provenance found
None of the files in this release were uploaded with provenance metadata.
A note on package security
PyPI is a repository for distributing packages, not a service for auditing them. While third-party security researchers and our staff do their best to detect and remove malicious packages, PyPI cannot guarantee the quality, security or suitability of any given package.