Skip to main content

A downloader of PPMI files.

Project description

A downloader of PPMI metadata and imaging data files.

Python application

Example usage

import ppmi_downloader
ppmi = ppmi_downloader.PPMIDownloader()

# Download metadata files
ppmi.download_metadata(['Demographics.csv', 'Age_at_visit.csv'])

# Download 3D imaging metadata
ppmi.download_3D_T1_info()

# Download imaging data (in DICOM format)
ppmi.download_imaging_data([3001, 3003, 3011])

# Download imaging data (in Nifti format)
ppmi.download_imaging_data([3001, 3003, 3011], type='nifti')

Scripts to use Selenium Grid

ppmi_scrapper provides scripts for building and running selenium webdriver

build_selenium

Build selenium grid singularity container

This function is intended to be used as script so arguments are passed by environment variables. PPMI_SINGULARITY_BUILD_CACHE: cache folder to store the built image PPMI_SINGULARITY_SELENIUM_VERSION: version of selenium used PPMI_SINGULARITY_BUILD_VERBOSE: enable verbose mode for the build PPMI_SINGULARITY_BUILD_LOG: log file name to dump build's outputs

Upon success, it exits with 0. Upon failure, Client raises exceptions caught by the script wrapper generated during the build

run_selenium

Run selenium grid singularity container

This function is intended to be used as script so arguments are passed by environment variables. PPMI_SINGULARITY_SELENIUM_VERSION: version of selenium used PPMI_SINGULARITY_RUN_CACHE: cache folder to find the built image PPMI_SINGULARITY_RUN_VERBOSE: enable verbose mode for the run PPMI_SINGULARITY_RUN_LOG: log file name to dump run's outputs Run the selenium grid singularity container by creating and binding files required by the container Communication is mapped on 4444 port.

Upon success, it exits with 0. Upon failure, Client raises exceptions caught by the script wrapper generated during the run

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

ppmi_downloader-0.7.4.tar.gz (30.9 kB view details)

Uploaded Source

Built Distribution

ppmi_downloader-0.7.4-py3-none-any.whl (32.0 kB view details)

Uploaded Python 3

File details

Details for the file ppmi_downloader-0.7.4.tar.gz.

File metadata

  • Download URL: ppmi_downloader-0.7.4.tar.gz
  • Upload date:
  • Size: 30.9 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/4.0.2 CPython/3.9.18

File hashes

Hashes for ppmi_downloader-0.7.4.tar.gz
Algorithm Hash digest
SHA256 75d10a158f189bbe692f935ac1eb8538bef36c9791cf3948bf1c5f56c5aa3668
MD5 b775336bdf2506d17a5101bdf28f2587
BLAKE2b-256 38d60fae274f08128a8cf28277574e130e9f99daed8f362b7b532dcf860337da

See more details on using hashes here.

Provenance

File details

Details for the file ppmi_downloader-0.7.4-py3-none-any.whl.

File metadata

File hashes

Hashes for ppmi_downloader-0.7.4-py3-none-any.whl
Algorithm Hash digest
SHA256 4f0636a0909ce0a8ee0d082b7b20b935b42d4d2f8e55b6e63acb199e5f3c8654
MD5 07a7d13b6bfb899166b948fc1fa8b469
BLAKE2b-256 c49dcb954b8b342ce9ad29711eb4ef3107acd1a5fa21a8bb25942271474b4bb5

See more details on using hashes here.

Provenance

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