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

Uploaded Source

Built Distribution

If you're not sure about the file name format, learn more about wheel file names.

mridata-0.1-py3-none-any.whl (5.3 kB view details)

Uploaded Python 3

File details

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

File metadata

  • Download URL: mridata-0.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.1.tar.gz
Algorithm Hash digest
SHA256 2c0a20e5fb9723254b20a4fa88c02afb81c11447bacaf03a132310c53a10a6b9
MD5 9c405b1a582862cf670c0919340ca261
BLAKE2b-256 9322a55dcbae2b2d55dd19c8df1e6c54359e0acec5fbd16e85d1edd4b3dc80ac

See more details on using hashes here.

File details

Details for the file mridata-0.1-py3-none-any.whl.

File metadata

  • Download URL: mridata-0.1-py3-none-any.whl
  • Upload date:
  • Size: 5.3 kB
  • Tags: Python 3
  • 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.1-py3-none-any.whl
Algorithm Hash digest
SHA256 5f3a612451dd59c3ebc895d3682622549efe148f97f69c97a1d0af80bedc03ac
MD5 0b2c0af3847f621a384cf87ebb9ca831
BLAKE2b-256 e307d33f09454eae73421e939dc1a2fe3b5998dfee37d484e173fd4ba8b1e97d

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