Skip to main content

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

Metadata

Release files for ppmi-downloader 0.7.6

For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.

Source distribution (sdist)

Source distribution for ppmi-downloader 0.7.6
File Size Uploaded Provenance
ppmi_downloader-0.7.6.tar.gz 57.9 kB Without provenance Details

Built distribution (wheel)

Table of built distributions (wheels) for ppmi-downloader 0.7.6
File Interpreter ABI Platform
ppmi_downloader-0.7.6-py3-none-any.whl Python 3 none any Details

Total release size: 90.2 kB

Release files / ppmi_downloader-0.7.6.tar.gz

Download URL ppmi_downloader-0.7.6.tar.gz
Size 57.9 kB
Tags Source
SHA-256 checksum
How to use checksums
89846d7915d9a5b73f27711ce6877cc900c3e1ae79e13e0bc5269a7e3403fae0
BLAKE2b-256 checksum
How to use checksums
a3a1e85bb5d99344dcd6b397e763f6061dcff2f6f41aed147c42b438e26e3453
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/5.1.1 CPython/3.9.20

Release files / ppmi_downloader-0.7.6-py3-none-any.whl

Download URL ppmi_downloader-0.7.6-py3-none-any.whl
Size 32.3 kB
Tags Python 3
SHA-256 checksum
How to use checksums
90bd8f2f6f5f00b81333e88723cb288f6a9b85ad97dcaaa16777aec166d0504c
BLAKE2b-256 checksum
How to use checksums
77cd1184fb34cfc283b11d29cbbdc8948a1ebedd24c8e175c85bda8eadcb1bec
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/5.1.1 CPython/3.9.20

Security for ppmi-downloader 0.7.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.

To learn more about protecting yourself from malicious actors, visit our package security documentation.

Anthropic, PBC Visionary sponsor Bloomberg Visionary sponsor Hudson River Trading Visionary sponsor Meta Visionary sponsor NVIDIA Visionary sponsor Microsoft Sustainability sponsor Depot Continuous Integration AWS Cloud computing and Security Sponsor Datadog Monitoring Fastly CDN Google Download Analytics Sentry Error logging StatusPage Status page