Open larsvilhuber opened 1 year ago
Draft:
import zenodo_get
import PyYAML
# read config file YAML
# parse.args: DOI of some sort
# download file (what is the name?)
# create directory based on last segment of DOI (e.g., zenodo.NNNNN)
# unzip files into that directory
Problem: Zenodo changed API, zenodo_get
updated, but now requires Python 3.8. Some of our systems use Python 3.6 (won't install).
On Python 3.8+:
zenodo-get @ git+https://github.com/dvolgyes/zenodo_get@5cac72c9ecc5fdd4a0ea7ef846a6a35b57457d45
installs.
https://github.com/dvolgyes/zenodo_get
Should be as simple as adding it to the requirements.txt