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
Release history Release notifications | RSS feed
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
Built Distribution
File details
Details for the file minder_downloader-0.1.9.tar.gz
.
File metadata
- Download URL: minder_downloader-0.1.9.tar.gz
- Upload date:
- Size: 10.1 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: poetry/1.3.2 CPython/3.9.13 Darwin/22.3.0
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | 15545557d1413dec1fb2d5ea75ae7b62b365ea0ae18a00fbca4e78b10ec63f3a |
|
MD5 | 27b0b6880852984d510080d8e34c6827 |
|
BLAKE2b-256 | c7bc6225f288edab58d07a61f738fe1890dd58d5897a23708c95ced4a7c2e5fb |
File details
Details for the file minder_downloader-0.1.9-py3-none-any.whl
.
File metadata
- Download URL: minder_downloader-0.1.9-py3-none-any.whl
- Upload date:
- Size: 13.9 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via: poetry/1.3.2 CPython/3.9.13 Darwin/22.3.0
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | d7382b6ea98acacc612e223261b569ce29e34fac7974fbb460c6ddfe3048e060 |
|
MD5 | 084a03c58428bc6073fa398d30b8a518 |
|
BLAKE2b-256 | 162faa528f2ca47ab34ea9e972abe82c9ea5d54f2d2cee2da79c4b88c274a9e6 |