Description¶
Pure-Python script that downloads all files from a published Zenodo record,
then writes SHA-256, MD5, and metadata manifests to generated/ using the
same format as download_zenodo_draft.py.
The legacy shell wrapper download_zenodo_public.sh is retained for
backwards compatibility but is deprecated; use the Python script instead.
Usage¶
python3.12 tools/download_zenodo_public.py RECORD_ID_OR_URL
python3.12 tools/download_zenodo_public.py --dry-run RECORD_ID_OR_URLArguments¶
RECORD_ID_OR_URL — Zenodo identifier in any of these forms:
Numeric ID:
12345678Record URL:
https://zenodo.org/records/12345678Legacy URL:
https://zenodo.org/record/12345678DOI string:
10.5281/zenodo.12345678DOI URL:
https://doi.org/10.5281/zenodo.12345678
Options¶
| Option | Description |
|---|---|
--output DIR | Parent directory (default: .) |
--dry-run | List files without downloading |
--sandbox | Use sandbox.zenodo.org |
Output¶
zenodo-12345678/ ← downloaded files
generated/
manifest.zenodo-12345678.YYYY-MM-DD.sha256
manifest.zenodo-12345678.YYYY-MM-DD.md5
metadata.zenodo-12345678.txtEnvironment Variables¶
| Variable | Purpose |
|---|---|
CI | Suppresses progress; auto-commits with [skip ci] |
See Also¶
tools/download_zenodo_draft.py— for draft or community-review depositstools/download_zenodo.py— orchestrator (recommended entry point)