Skip to main content

Python command line interface for downloading and uploading to mridata.org.

Project description

mridata-python

This is a python command line interface for downloading and uploading datasets to mridata.org.

Requirements

This package requires requests, tqdm, and boto3. You can install using pip:

pip install requests boto3 tqdm

Installation

The package can be installed via pip:

pip install mridata

To install from source, go to the directory containing setup.py, then run

python setup.py install

Usage

Help message can be viewed through:

mridata -h
mridata [command] -h

Download

To download from mridata.org with a UUID, you can do:

mridata download $UUID

To batch download from a UUID text file (uuids.txt), in which each line is a UUID, you can do:

mridata batch_download $UUIDS_TEXT_FILE

Upload

To upload ISMRMRD, you can do:

mridata upload_ge --username $USERNAME --password $PASSWORD --project_name $PROJECT_NAME --anatomy $ANATOMY --fullysampled True $ismrmrd_file

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

mridata-0.2.0.tar.gz (4.3 kB view hashes)

Uploaded Source

Built Distributions

mridata-0.2.0-py3-none-any.whl (5.3 kB view hashes)

Uploaded Python 3

mridata-0.2-py3-none-any.whl (5.3 kB view hashes)

Uploaded Python 3

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