Skip to main content

The minder-downloader module provides a simple interface for downloading datasets and uploading reports using the Minder research portal.

Project description

Minder Downloader

The minder-downloader module is a Python package that provides a user-friendly interface for interacting with the Minder research portal. This package enables users to easily download datasets from the Minder research portal, as well as upload reports to the platform.

The downloading functionality of the package is straightforward to use. The module handles the authentication and request/response handling, so the user doesn't need to worry about the details of these processes. Once authenticated, users can specify the date range and datasets to download, and the module will return the data as a Pandas DataFrame. This makes it easy to work with the data using Python's powerful data analysis tools.

In addition to downloading data, the minder-downloader module also provides a simple way to upload reports to the Minder research portal. This can be done by providing the path to a file and the HTML address to upload the file to. The module takes care of the uploading process, making it easy to share reports with collaborators or the wider research community.

Overall, the minder-downloader package provides a convenient and streamlined way to interact with the Minder research portal, whether you need to download data or upload reports.

Installation

You can install minder-downloader using pip:

pip install minder-downloader

Usage

Here is a simple example of how to use minder-downloader to download data from the Minder research portal:

from datetime import datetime, timedelta
from minder_downloader import MinderDatasetDownload

# Define date range and datasets to download
since = datetime.now() - timedelta(days=7)
until = datetime.now()
datasets = ['example_dataset_1', 'example_dataset_2']

# Create downloader object and download data
downloader = MinderDatasetDownload(since, until, datasets)
data = downloader.download_data()

# Print downloaded data
print(data.head())

This will download the specified datasets for the past week and print the first few rows of the resulting DataFrame.

License

minder-downloader is licensed under the MIT License. See the LICENSE file for details.

Acknowledgements

This module was created by Dr Eyal Soreq. If you find it useful, please consider citing it in your research.

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

minder_downloader-0.1.20.tar.gz (9.8 kB view details)

Uploaded Source

Built Distribution

minder_downloader-0.1.20-py3-none-any.whl (11.0 kB view details)

Uploaded Python 3

File details

Details for the file minder_downloader-0.1.20.tar.gz.

File metadata

  • Download URL: minder_downloader-0.1.20.tar.gz
  • Upload date:
  • Size: 9.8 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: poetry/1.3.2 CPython/3.9.13 Darwin/23.1.0

File hashes

Hashes for minder_downloader-0.1.20.tar.gz
Algorithm Hash digest
SHA256 07431c9f692013c47b1c3b8945ab247dd7e02fa42b20b231a5de8748a453d3cb
MD5 8907abde22efa730d2aa96820e66ffa4
BLAKE2b-256 caa0379076b6909755b6916950b17870800a17218ec84c60405213b333b9de41

See more details on using hashes here.

File details

Details for the file minder_downloader-0.1.20-py3-none-any.whl.

File metadata

File hashes

Hashes for minder_downloader-0.1.20-py3-none-any.whl
Algorithm Hash digest
SHA256 7deb16a34f1ef8572ad281964ba78a03b1cf83d7cdf5fd2218393626ec85fbe6
MD5 25e8474783cda3259944329032948b6b
BLAKE2b-256 52193c7cb20b5b23eb8ce457dcdfe95f7f4e85ba78f3d33cc86fb90d147a5a2c

See more details on using hashes here.

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