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.1.tar.gz (4.3 kB view details)

Uploaded Source

File details

Details for the file mridata-0.2.1.tar.gz.

File metadata

  • Download URL: mridata-0.2.1.tar.gz
  • Upload date:
  • Size: 4.3 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/1.11.0 pkginfo/1.4.2 requests/2.9.1 setuptools/40.0.0 requests-toolbelt/0.8.0 tqdm/4.23.4 CPython/3.6.2

File hashes

Hashes for mridata-0.2.1.tar.gz
Algorithm Hash digest
SHA256 dde77b16d49d049d979244a137322f9e11fc07ac3ea6fe61ad00600222ab7424
MD5 8eaa1a7557c47f2b1fdb673d60e8d5a5
BLAKE2b-256 62eeccf329b34111cbb88e3ae57eacdc4b5edb50d9aeadc845557270d369a918

See more details on using hashes here.

Supported by

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