AEADataEditor / replication-template-development

Development repo for the replication template
2 stars 6 forks source link

Add Zenodo downloader #7

Open larsvilhuber opened 1 year ago

larsvilhuber commented 1 year ago

https://github.com/dvolgyes/zenodo_get

Should be as simple as adding it to the requirements.txt

larsvilhuber commented 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
larsvilhuber commented 2 weeks ago

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.