Zenodo deposit tool
Project description
zenodo-deposit: A command line interface to making file deposits to Zenodo
A command line interface to making file deposits to Zenoodo
- Github repository: https://github.com/Public-Environmental-Data-Partners/zenodo-deposit/
- Documentation https://pypi.org/project/zenodo-deposit/
Understanding the use case
Sometimes is it more convenient to make a deposit to Zenodo using a command line interface (CLI) rather than through the web interface. This is especially true when you have a large number of files to deposit, or when you want to automate the deposit process as part of a larger workflow. This script provides tools to make file deposits to Zenodo using the command line.
Installation
This can installed using pipx or uv:
$ pipx install zenodo-deposit
or
$ uv tool install zenodo-deposit
Usage
$ zd --help
Usage: zd [OPTIONS] COMMAND [ARGS]...
Options:
--version Show the version and exit.
--sandbox, --dev / --production, --prod
Set Zenodo environment to sandbox or
production [default: sandbox]
--config-file PATH Path to the configuration file
--log-level [DEBUG|INFO|WARNING|ERROR|CRITICAL]
Set the log level
--help Show this message and exit.
Commands:
create Create a new deposition, without uploading a file
deposit Deposit a file
retrieve Retrieve deposition details
search Search for depositions
upload Upload one or more files, with metadata, creating a new deposit
Example:
$ zd --dev --log-level DEBUG upload --title 'Testing URL with larger dataset' --type 'dataset' --keywords 'rmp, epa' --name 'Fitzgerald, Will' --affiliation 'EDGI' --description 'Location database' --metadata metadata.toml https://edg.epa.gov/EPADataCommons/public/OA/EPA_SmartLocationDatabase_V3_Jan_2021_Final.csv
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
Built Distribution
Filter files by name, interpreter, ABI, and platform.
If you're not sure about the file name format, learn more about wheel file names.
Copy a direct link to the current filters
File details
Details for the file zenodo_deposit-0.1.5.tar.gz.
File metadata
- Download URL: zenodo_deposit-0.1.5.tar.gz
- Upload date:
- Size: 2.1 MB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/6.1.0 CPython/3.13.0
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
756de6aa32644bf31a40452557cc4f3382b7c6907e6820ea0059c6bb70a3dc8f
|
|
| MD5 |
ef5c5c9d453c450dc2505b77a753f475
|
|
| BLAKE2b-256 |
8119bb1f3e319f21ff186dfcb3b1daefa658032bba9eca5cd4514be5b4439f17
|
File details
Details for the file zenodo_deposit-0.1.5-py3-none-any.whl.
File metadata
- Download URL: zenodo_deposit-0.1.5-py3-none-any.whl
- Upload date:
- Size: 12.3 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/6.1.0 CPython/3.13.0
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
c89945912e1840b5f9fd5181cafb9abbd19ac4d192f368b8382dec3e21ff0cbc
|
|
| MD5 |
adfecd973db2f3661d9e42fd466bc856
|
|
| BLAKE2b-256 |
e1cb648f8e0b86b29be0ec8e35b06be1951bca1100b00b612af961924546d539
|