A command-line tool to download files from Zenodo records
Project description
Zenodo Downloader
A command-line tool to download files from Zenodo records efficiently with parallel downloading support.
Installation
pip install zenodo-downloader
Usage
Basic usage:
zenodo-download RECORD_ID -t YOUR_ACCESS_TOKEN
With all options:
zenodo-download RECORD_ID -t YOUR_ACCESS_TOKEN -d /path/to/output -w 10
Arguments
RECORD_ID
: Zenodo record ID to download files from (required)-t, --token
: Zenodo access token (required)-d, --directory
: Directory to save downloaded files (default: ./downloads)-w, --workers
: Number of parallel download workers (default: 5)
Example
# Download all files from record 13799069 using 8 parallel workers
zenodo-download 13799069 -t YOUR_ACCESS_TOKEN -w 8 -d ./data
Getting a Zenodo Access Token
- Go to https://zenodo.org/account/settings/applications/
- Create a new token with the necessary permissions
- Copy the token and use it with the
-t
option
Features
- Parallel downloading with configurable number of workers
- Progress bars for each file
- Automatic retry on failed downloads
- Configurable output directory
- Simple command-line interface
Requirements
- Python >= 3.7
- requests >= 2.25.0
- tqdm >= 4.50.0
License
MIT License
Project details
Release history Release notifications | RSS feed
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
Built Distribution
File details
Details for the file zenodo_downloader-0.1.0.tar.gz
.
File metadata
- Download URL: zenodo_downloader-0.1.0.tar.gz
- Upload date:
- Size: 4.5 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/5.1.1 CPython/3.10.10
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | 42ffefb91ebf682102c2746564d32ea5978b7c7f8de8fd7c3e140425e7537c81 |
|
MD5 | 014b01c796ebb7d3d0d8fc22d2c00efb |
|
BLAKE2b-256 | a532735d35a199084fb45ccb53154ab68a713edde87bc4e258352796bd3438f4 |
File details
Details for the file zenodo_downloader-0.1.0-py3-none-any.whl
.
File metadata
- Download URL: zenodo_downloader-0.1.0-py3-none-any.whl
- Upload date:
- Size: 5.4 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/5.1.1 CPython/3.10.10
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | 3d8b2312eeb0002a69e29b5a09c0452b1e057ae78305b810e254102d9defd95a |
|
MD5 | 6e28423c9317a747b58c22189b8dd0f3 |
|
BLAKE2b-256 | 18d92858a5481464ce82312a41ebf4b3f0835da63c76fa2c41fbce3b17b3a2c8 |