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.

zenodo_get_ci.py - CI-friendly Zenodo downloads

Description

Wrapper for the zenodo_get module that suppresses the animated progress bar in CI environments while preserving all informational messages. Detects CI environments via the CI environment variable and provides cleaner output for automated pipelines.

Usage

python3 tools/zenodo_get_ci.py [ZENODO_GET_OPTIONS]

All options are passed through to the underlying zenodo_get module.

Examples

# Download all files from a Zenodo record
python3 tools/zenodo_get_ci.py --output-dir=zenodo-123456 123456

# Use sandbox
python3 tools/zenodo_get_ci.py --sandbox --output-dir=zenodo-123456 123456

# With DOI
python3 tools/zenodo_get_ci.py 10.5281/zenodo.123456

Requirements

Install with:

pip install zenodo-get

Behavior

Environment Variables

Output Modes

Technical Details

The zenodo_get module writes informational messages to stderr via eprint(), while the progress bar from the wget library writes to stdout. This wrapper suppresses only the progress bar by redirecting stdout in CI mode.

See Also