Skip to main content

Zenodo_get - a downloader for Zenodo records

Project description

zenodo_get: a downloader for Zenodo records

CI CircleCI Build status Coverage Status pyversion PyPI - License DOI

A Python tool for downloading files from Zenodo records. Requires Python 3.10+.

Installation

The simplest way (no installation needed) is using uvx, a tool runner from uv:

uvx zenodo_get RECORD_ID_OR_DOI

Alternatively, install with pipx or pip:

pipx install zenodo-get
# or
pip install zenodo-get

Usage

uvx zenodo_get RECORD_ID_OR_DOI

Common Options

Option Description
-o DIR Output directory (created if needed)
-g PATTERN Filter files by glob pattern (e.g., -g "*.pdf")
-m Generate md5sums.txt for verification
-w FILE Write URLs to file instead of downloading (-w - for stdout)
-e Continue on error (skip failed files)
-n Start fresh (don't resume previous download)
-v N Verbosity level 0-4 (default: 2)

Retry Options

Option Description
--max-http-retries N HTTP retries with exponential backoff (default: 5)
--backoff-factor N Backoff multiplier in seconds (default: 0.5)
-R N Application-level retries for checksum failures (default: 1)
-p N Pause between retries in seconds (default: 3)
-t N Connection timeout in seconds (default: 25)

Examples

# Download all files from a record
uvx zenodo_get 1234567

# Download only PDFs to a specific directory
uvx zenodo_get 1234567 -g "*.pdf" -o ./downloads

# Generate URL list for external download manager
uvx zenodo_get 1234567 -w urls.txt

# Use DOI instead of record ID
uvx zenodo_get -d 10.5281/zenodo.1234567

Exit Codes

  • 0: All files downloaded successfully
  • Non-zero: Error occurred (checksum mismatch, download failure, timeout, etc.)

Citation

If you use this tool in academic work:

uvx zenodo_get --cite

Project details


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

zenodo_get-3.0.0.tar.gz (35.7 kB view details)

Uploaded Source

Built Distribution

If you're not sure about the file name format, learn more about wheel file names.

zenodo_get-3.0.0-py3-none-any.whl (25.4 kB view details)

Uploaded Python 3

File details

Details for the file zenodo_get-3.0.0.tar.gz.

File metadata

  • Download URL: zenodo_get-3.0.0.tar.gz
  • Upload date:
  • Size: 35.7 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/6.2.0 CPython/3.13.5

File hashes

Hashes for zenodo_get-3.0.0.tar.gz
Algorithm Hash digest
SHA256 7af8580d34ef4e89872c8570eb1445b80048cb0f5efabd1485914c479eef8ea9
MD5 b101d00ace8c41d78b8a7a171ad74a46
BLAKE2b-256 97a9ccf667142e9fc42a8e2dd277d206c8b6d4824825d91db794d23576758b26

See more details on using hashes here.

File details

Details for the file zenodo_get-3.0.0-py3-none-any.whl.

File metadata

  • Download URL: zenodo_get-3.0.0-py3-none-any.whl
  • Upload date:
  • Size: 25.4 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/6.2.0 CPython/3.13.5

File hashes

Hashes for zenodo_get-3.0.0-py3-none-any.whl
Algorithm Hash digest
SHA256 8212dfdb57730392b5c44db240308e666edfb67f3c80010005f57812b1bc16a9
MD5 5fafdb5ebb4c5462458e36387e28a17a
BLAKE2b-256 b598bdb6d90f9b7ee26bffad4469127bdbfe42d51b0cd56f526d0705473fcabb

See more details on using hashes here.

Supported by

AWS Cloud computing and Security Sponsor Datadog Monitoring Depot Continuous Integration Fastly CDN Google Download Analytics Pingdom Monitoring Sentry Error logging StatusPage Status page