Skip to article frontmatterSkip to article content
Site not loading correctly?

This may be due to an incorrect BASE_URL configuration. See the MyST Documentation for reference.

download_zenodo_public.py — Download files from public Zenodo records

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_URL

Arguments

Options

OptionDescription
--output DIRParent directory (default: .)
--dry-runList files without downloading
--sandboxUse 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.txt

Environment Variables

VariablePurpose
CISuppresses progress; auto-commits with [skip ci]

See Also