Closed larsvilhuber closed 4 months 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.
The current file actually works, with zenodo_get >= 1.6.1
bcfd2c000af777ab8738e91c492968657339d593
https://github.com/dvolgyes/zenodo_get
Should be as simple as adding it to the requirements.txt