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.12.tar.gz
.
File metadata
- Download URL: minder_downloader-0.1.12.tar.gz
- Upload date:
- Size: 9.7 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 | 1d9828c3e0941d8fa3c160085bacec82c79870b15e8aa1b370436f75e74f7035 |
|
MD5 | b58c7f0f62aad6f13151b60b6313856f |
|
BLAKE2b-256 | 31bcb8a29cb8a3e14d07708d3176a4b6c66bc360f75077b308f84a5e688cc9ea |
File details
Details for the file minder_downloader-0.1.12-py3-none-any.whl
.
File metadata
- Download URL: minder_downloader-0.1.12-py3-none-any.whl
- Upload date:
- Size: 10.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 | c86bad292042e739737b41456a47222dadb9db1024f3dc2724cd6d8c35301c46 |
|
MD5 | 59e4efe8369bbc8789be332b712a7c2e |
|
BLAKE2b-256 | 3df329fa8acb6aaf9c3fd37c6515dfff7bd6949a0194dd828b6ccded75002b48 |